<link rel="stylesheet" type="text/css" href="/mirawhite.css">

How to add hours and minutes in Excel

Updated November 26, 2026

Type each duration with a colon (7:45, 8:30) and add them with =SUM(B2:B6) or the AutoSum button on the Home tab. Then give the total the custom format [h]:mm so it can go past 24 hours: 38:20 instead of 14:20. To turn a time into decimal hours, multiply it by 24 (38:20 becomes 38.33); to go back, divide by 24.

How to add hours and minutes in Excel

Excel stores times as fractions of a day (6:00 is 0.25, 12:00 is 0.5), so it adds them like numbers. Type each duration as hours:minutes, with a colon, so that Excel reads it as a time and not as text.

  1. Type the durations in a column, for example 7:45 in B2, 8:30 in B3, 7:15 in B4, 8:00 in B5 and 6:50 in B6.
  2. Click the cell below, B7, and type =SUM(B2:B6), or select B7 and click AutoSum on the Home tab.
  3. Press Enter. If the total reads 14:20 instead of 38:20, the cell uses a time-of-day format: the next section fixes it.
=SUM(B2:B6)

Good to know : To add just two durations, =B2+B3 works too: 6:45 plus 9:30 gives 16:15. With two parts, 1:30 means 1 hour 30 minutes; type 0:01:30 for one and a half minutes.

Add hours in Excel over 24 hours: the [h]:mm format

The h:mm format shows a time of day and starts again at zero every 24 hours: 38 hours 20 minutes display as 14:20, although the value is right. Square brackets around the h make Excel show elapsed hours.

  1. Select the total cell, or the whole column of durations.
  2. Go to Home > Format > Format Cells, in the Cells group, or press Ctrl+1 (Cmd+1 on a Mac).
  3. In the Category list, choose Custom.
  4. In the Type box, type [h]:mm;@ (or simply [h]:mm) and click OK. The total now reads 38:20.

Good to know : Use [h]:mm:ss to keep the seconds, and give the same format to any single duration that can exceed 24 hours.

Add hours and minutes to a time in Excel

To find a finish time, add the duration to the start time. With 9:15 AM in A2 and the duration 2:30 in B2, =A2+B2 returns 11:45 AM. When the duration is a plain number of hours or minutes, convert it first: divide hours by 24 and minutes by 1440, the number of minutes in a day.

  • Add 5 hours: =A2+5/24.
  • Add 90 minutes: =A2+90/1440.
  • Add 2 hours 30 minutes with the TIME function: =A2+TIME(2,30,0).
  • Take 45 minutes off a time: =A2-45/1440.
=A2+B2

Good to know : TIME drops whole days: TIME(27,0,0) equals 3:00, so add 27 hours with =A2+27/24. Past midnight, h:mm shows the time on the next day. Counting the hours between a start and an end time is a subtraction, covered in the guide on hours between two times.

Convert hours to decimal hours and back in Excel

Payroll, invoices and many timesheets want 38.33 hours rather than 38:20. Since one day equals 1 in Excel, a duration multiplied by 24 gives decimal hours. Format the result cell as Number or General, otherwise Excel keeps showing it as a time.

  • Round to two decimals: =ROUND(B7*24,2) returns 38.33.
  • Decimal hours to hours and minutes: with 7.8 in C2, =C2/24 formatted as [h]:mm shows 7:48.
  • Minutes to hours and minutes: =C2/1440 turns 135 into 2:15.
  • To add decimal hours, use =SUM() on them as ordinary numbers, then divide the total by 24 if you want it in h:mm.
=B7*24

Good to know : 7.45 hours is not 7 hours 45 minutes but 7 hours 27 minutes: the decimal part counts hundredths of an hour, not minutes. Avoid HOUR() on a total, too: it only returns 0 to 23, so on 38:20 it gives 14.

Subtract hours and show negative hours in Excel

Subtracting durations works like adding them. =B7-B8 takes a break off a total, and =B7-40/24 compares the week with a 40-hour target. With 38:20 in B7, the result is minus 1 hour 40, and Excel cannot display a negative time in its default date system: the cell fills with #####. The value is correct; only the display fails.

  • Work in decimal hours: =(B7-40/24)*24 returns -1.67, which you can still add up and use in other formulas.
  • Display the balance as text with a sign: with the difference in C7, the formula below shows -1:40. The result is text, so it can no longer be calculated.
  • Switch the workbook to the 1904 date system: File > Options > Advanced, then under When calculating this workbook, tick Use 1904 date system. On a Mac, the option is in Excel > Preferences > Calculation. Negative durations then display normally.
=IF(C7<0,"-"&TEXT(-C7,"[h]:mm"),TEXT(C7,"[h]:mm"))

Good to know : The 1904 system moves every date already in the workbook by 1,462 days, and dates copied between workbooks that use different systems are off by the same amount. Keep it for files that only hold durations.

Add hours in Google Sheets, LibreOffice and Numbers

Google Sheets uses the same formulas: =SUM(B2:B6), =B7*24 for decimal hours and =C2/24 to go back. To show the total, select it and go to Format > Number > Duration, which displays elapsed time such as 38:20:00 without starting again after 24 hours. For hours and minutes only, open Format > Number > Custom number format and enter [h]:mm.

In LibreOffice Calc, add the times with SUM as in Excel, then open Format > Cells, Numbers tab, and enter the format code [HH]:MM to go past 23 hours.

In Numbers on a Mac, select the cells, open the Format sidebar, click the Cell tab and choose Duration in the Data Format pop-up menu. Custom Units lets you show only hours and minutes.

Common problems when adding hours

  • The total is too small: the cell uses h:mm instead of [h]:mm, so every full 24 hours is dropped from the display.
  • Some durations are not counted: they were typed as text, such as 8h30, 8.30 or 7:45 followed by a space, and SUM ignores text. They are usually aligned to the left. Retype them with a colon, or convert them with =TIMEVALUE(B2).
  • The total shows 1.597222 or a date: the cell is formatted as General or as a date. Apply [h]:mm.
  • ##### in the cell: the result is negative (see above), or the column is too narrow. Widen it to tell the two apart.

Add hours and minutes online with Utiloz

When the durations are not in a spreadsheet, such as hours jotted on paper, the Add hours and minutes calculator on Utiloz totals them as you type, one per line, in whatever format you have: 1h30, 1:30, 90 min or 1.5h. A line such as 8:30-12:00 counts the time between two clock times, and a line starting with a minus sign, such as -0:30, is subtracted.

The total is shown in h:mm without resetting at 24 hours, in decimal hours and in minutes, and it can be negative. It runs in your browser with no sign-up. A number without a unit, such as 1.5, is not counted, since it could mean hours or minutes.

The Decimal hours converter works both ways: 1:45 gives 1.75 h and 7.8 h gives 7 h 48 min, for one value or a pasted list of up to 1,000 lines, rounded to the hundredth.

Frequently asked questions

How do I add hours and minutes in Excel?

Type each duration with a colon, such as 7:45, and add them with =SUM(B2:B6) or AutoSum. Then format the total as [h]:mm (Ctrl+1 > Custom) so that totals over 24 hours display correctly.

How do I convert hours and minutes to decimal hours in Excel?

Multiply the time by 24 and format the cell as Number: =B2*24 turns 7:45 into 7.75. To go back, divide by 24 and use the [h]:mm format: 7.8 becomes 7:48.

How do I show negative hours in Excel?

Excel shows ##### for a negative time in its default date system. Keep the balance in decimal hours with *24, display it as text with IF and TEXT, or tick Use 1904 date system in File > Options > Advanced, which shifts the dates in the workbook.

How do I add hours and minutes in Google Sheets?

Add the cells with =SUM(), then apply Format > Number > Duration, or a custom number format [h]:mm for hours and minutes only. Multiply by 24 for decimal hours, exactly as in Excel.

← All guides