ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Dates
  3. How to Add Hours and Minutes to a Time in Excel

How to Add Hours and Minutes to a Time in Excel

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

To add hours to a time in Excel, use =A2+TIME(3,30,0) to add 3 hours 30 minutes, or =A2+B2/24 when B2 holds a number of hours like 3.5. Excel stores a day as 1, so one hour is 1/24 and one minute is 1/1440. Format the result as a time, and wrap it in MOD(...,1) if it can pass midnight.

Key takeaways

  • Excel stores times as fractions of a day: 1 hour is 1/24 and 1 minute is 1/1440.
  • Use =A2+TIME(h,m,s) for fixed amounts and =A2+B2/24 for hours stored as a decimal number.
  • Adding a plain number like 3 adds 3 days, not 3 hours.
  • For times that pass midnight, =MOD(A2+B2/24,1) gives a clean clock time.
  • TIME wraps hours over 23, so TIME(27,0,0) adds only 3 hours. Use 27/24 for big amounts.
On this page+
  1. How Excel stores time (and why /24 works)
  2. How to add hours to a time with TIME
  3. How to add hours stored as a number
  4. How to add minutes or seconds
  5. How to add hours past midnight
  6. How to subtract hours from a time
  7. Why your result looks wrong
  8. Practise it

To add hours to a time in Excel, add a fraction of a day: =A2+TIME(3,30,0) adds 3 hours 30 minutes, and =A2+B2/24 adds the number of hours in B2. Both work because Excel stores time as part of a day, so one hour is 1/24. This guide shows how to add hours and minutes, how to handle shifts that end after midnight, and why the result sometimes looks like a decimal or a row of #### signs.

How Excel stores time (and why /24 works)#

Excel stores every time as a fraction of one day. Midnight is 0, noon is 0.5 and 6:00 PM is 0.75. Dates work the same way, as whole numbers, which the date basics lesson explains.

AmountFraction of a dayHow to write it
1 day11
1 hour1/24 = 0.04171/24 or TIME(1,0,0)
1 minute1/1440 = 0.0006941/1440 or TIME(0,1,0)
1 second1/864001/86400 or TIME(0,0,1)

So to add hours, you convert them into this fraction first. Adding a plain 3 adds three days, not three hours. That is the most common mistake.

The examples use this shift list. Start is a real time, and Hours is a plain number:

ABCD
1EmployeeStartHoursEnd
2Priya9:157.516:45
3Daniel8:008.2516:15
4Omar13:30619:30
5Grace22:0086:00

How to add hours to a time with TIME#

Use the TIME function when the amount is fixed. TIME takes hours, minutes and seconds and returns them as a fraction of a day:

Excel formula
=B2+TIME(3,30,0)

With 9:15 in B2, the result is 12:45. To add exactly 2 hours, write =B2+TIME(2,0,0). TIME works in every version of Excel and is easy to read: anyone can see you added 3 hours and 30 minutes.

If the result shows as a decimal, such as 0.53125, the cell has a number format. Apply a time format with Ctrl+Shift+@, or open Format Cells (Windows: Ctrl+1; Mac: ⌘1), choose Time, and pick 13:30 or 1:30 PM.

How to add hours stored as a number#

Divide by 24 when the hours are a number in another cell, such as a shift length of 7.5. In D2:

Excel formula
=B2+C2/24

Priya starts at 9:15 and works 7.5 hours, so the result is 16:45. Fill the formula down (Windows: Ctrl+D; Mac: ⌘D) to get Daniel's 16:15 and Omar's 19:30. Decimal hours are common in timesheets, because 7.5 is easier to type and total than 7:30. See how to build a timesheet in Excel for the full layout.

If the amount is already a time value, such as a duration of 2:15 in C2, just add the two cells: =B2+C2. No conversion is needed, because both are already fractions of a day.

How to add minutes or seconds#

Use the same idea with a different divisor. There are 1,440 minutes and 86,400 seconds in a day:

TaskFormulaResult (B2 = 9:15)
Add 45 minutes=B2+TIME(0,45,0)10:00
Add 90 minutes=B2+90/144010:45
Add 1 h 20 min=B2+TIME(1,20,0)10:35
Add 30 seconds=B2+TIME(0,0,30)9:15:30

To see seconds, use a format such as h:mm:ss. Without it, Excel still stores the seconds but hides them.

How to add hours past midnight#

A time that passes midnight goes above 1, which is the next day. Grace starts at 22:00 and works 8 hours:

Excel formula
=B5+C5/24

The value is 1.25: one whole day plus 0.25 (6:00 AM). With a normal time format, Excel shows 6:00, because time formats hide whole days. That looks right, but the hidden extra day causes trouble when you later subtract or compare times.

For a clean clock time between 0:00 and 23:59, wrap the formula in MOD:

Excel formula
=MOD(B5+C5/24,1)

MOD with 1 keeps only the part after the decimal point, so the value is exactly 0.25, or 6:00. The shift schedule guide uses this for night shifts.

If the cell holds a date and time, such as 2 Nov 2026 22:00, a plain addition is better: the result becomes 3 Nov 2026 6:00, and the date moves forward on its own. For adding whole days, months or years, see how to add days, months and years to a date.

How to subtract hours from a time#

Subtract the same way: =B2-TIME(2,0,0) or =B2-C2/24. With 9:15 in B2, =B2-TIME(2,0,0) returns 7:15.

If the result would go before midnight, such as 1:00 minus 3 hours, Excel gets a negative number. A negative time can't be shown, so the cell fills with #####. MOD fixes this too:

Excel formula
=MOD(B2-3/24,1)

With 1:00 in B2, this returns 22:00. To find the gap between two times rather than shift one, use subtraction of two times, as covered in how to calculate time difference in Excel.

Why your result looks wrong#

Most problems come from formats, text, or the TIME function's limits:

  1. A decimal instead of a time. The value is right; the format isn't. Apply a time format.
  2. The answer is days off. You added a whole number. Use /24 or TIME.
  3. TIME ignores whole days. The hour argument wraps after 23, so TIME(27,0,0) is 3:00, not 27 hours. For large amounts, use 27/24.
  4. #VALUE! or no change. The start time is text, often from an export or a CSV file. Convert it with VALUE(B2), or check alignment: text sits on the left of the cell by default.
  5. A total above 24 hours shows too little. A format like h:mm resets at 24. Use [h]:mm for totals, for example when you add up overtime hours.
  6. ##### in the cell. Either the column is too narrow or the time is negative. Widen it, or use MOD.

Practise it#

Time maths only clicks once you've typed it a few times. Practise how Excel stores dates in a live spreadsheet: the same "everything is a number" idea is behind adding hours. If formulas are still new to you, start with your first formulas. Each lesson checks your work instantly. Then try the exercise on this page, where you turn a text start time and a shift length into an end time.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The start times came from a rota app as text. Find Priya's end time: click D2 and type =TEXT(VALUE(B2)+C2/24,"h:mm"), then press Enter.

fx
ABCDE
1
Employee
Start
Hours
End
2
Priya
9:15
7.5
3
Daniel
8:00
8.25
4
Omar
13:30
6
5
Grace
22:00
8
6
7
8

Tip: VALUE turns the text 9:15 into a real time. C2/24 turns 7.5 hours into a fraction of a day. TEXT shows the sum as h:mm.

Practise this in a lesson

LessonHow Excel stores dates: DATE, YEAR, MONTH, DAYLearn why every date is secretly a number, then build dates with DATE and take them apart with YEAR, MONTH and DAY.LessonFreeYour first formulasType values, write formulas that start with =, and see how they recalculate.

Frequently asked questions

How do I add hours to a time in Excel?

+

Use =A2+TIME(2,0,0) to add 2 hours, or =A2+2/24. Both work because Excel stores one hour as 1/24 of a day. Format the result cell as a time.

How do I add 30 minutes to a time in Excel?

+

Use =A2+TIME(0,30,0) or =A2+30/1440. There are 1,440 minutes in a day, so dividing minutes by 1440 turns them into Excel's time units.

Why does adding hours to a time give a decimal number?

+

The result is correct but the cell is formatted as a number. Apply a time format, for example with Ctrl+Shift+@ or Format Cells > Time, and 0.6979 shows as 16:45.

How do I add hours to a time that goes past midnight?

+

Use =MOD(A2+B2/24,1). MOD removes the whole days and keeps only the time, so 22:00 plus 8 hours shows 6:00. If the cell holds a date and time, a plain addition moves to the next date automatically.

How do I add more than 24 hours to a time?

+

Divide the hours by 24 instead of using TIME, for example =A2+30/24. TIME ignores whole days in its hour argument, so TIME(30,0,0) only adds 6 hours.

Sources

  • Date systems in Excel - Microsoft Support
  • MOD function - Microsoft Support
  • TEXT function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How Excel stores time (and why /24 works)
  2. How to add hours to a time with TIME
  3. How to add hours stored as a number
  4. How to add minutes or seconds
  5. How to add hours past midnight
  6. How to subtract hours from a time
  7. Why your result looks wrong
  8. Practise it

Keep reading

Dates· 6 min read

Calculate the Difference Between Two Times in Excel

To calculate the difference between two times in Excel, subtract the start time from the end time: =C2-B2. Format the result as h:mm to see hours and minutes, or multiply by 24 to get decimal hours: =(C2-B2)*24. For shifts that end after midnight, use =MOD(C2-B2,1) so the result is never negative.

Projects· 6 min read

Make a Simple Timesheet in Excel With Formulas

To make a timesheet in Excel, list the dates down column A and add columns for start time, end time and break minutes. Daily hours are =(End-Start)*24-Break/60. Total the week with SUM, and use IF to flag days with a missing time or hours over your limit. Save it as a template so each new week starts clean.

Projects· 6 min read

Calculate Hours Worked and Overtime in Excel

To calculate overtime in Excel, first get hours worked: =(End-Start)*24 turns a time difference into decimal hours. Total the week with SUM, then use =MAX(0,Total-40) or =IF(Total>40,Total-40,0) for overtime hours. Pay is regular hours times the rate plus overtime hours times the rate times 1.5, rounded to cents with ROUND.

More on dates

  • Calculate Age in Years and Months in Excel
  • Build a Biweekly Pay Schedule in Excel
  • Calculate Age or Years of Service in Excel
  • How to Change the Date Format in Excel
  • How to Convert Text to Dates in Excel
  • Convert Time Zones in Excel With a Simple Formula
All dates articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free