← All how-to recipes

How to add hours (or minutes) to a time

✓ Verified in LibreOffice 25.8.7.3 ✓ Verified in Google Sheets (2026-08-30)

Shift a time forward — add a shift length, a processing delay, or a timezone offset.

The formula

AppFormulaNotes
Excel (desktop)=A2+B2/24Hours divide by 24. Minutes: +B2/1440. Or add a real time value: =A2+TIME(B2,0,0).
Google Sheets=A2+B2/24Identical.
LibreOffice Calc=A2+B2/24Identical.

How it works

Times are stored as fractions of a day, so an hour is 1/24 of the underlying number: 9:00 plus 5.5/24 lands at 14:30. Minutes use /1440 (24x60) and seconds /86400. The cleaner alternative is adding a genuine time value with TIME(hours,minutes,seconds), which reads better and avoids the mental division. If the sum crosses midnight the raw value rolls past 1.0 (a whole day) — format the cell as [h]:mm to show elapsed hours, or the date part increments if it's a full date-time.

Verified, not just documented

We ran =TEXT(TIME(9,0,0)+5.5/24,"H:MM") in LibreOffice 25.8.7.3 (headless, with forced recalculation) and it returned 14:30 — exactly the expected result. We then ran the same formulas in Google Sheets, executed 2026-08-30: a formula-only workbook goes into Google Drive, which converts it to a Sheet and recalculates every formula with Google’s own engine, and comes back out as .xlsx carrying the values Google computed. It returned 14:30 for the worked example, the same value LibreOffice produced. Both engines’ numbers on this page are executed results. The Excel formula follows Microsoft’s official documented syntax — we do not run desktop Excel.