Last updated:

Time Calculator

Creators

EverydayCalcPro TeamEverydayCalcPro TeamEditorial teamCalculators are built and tested in-house. Formulas and facts are checked against the sources listed on each page.Check our editorial policy

Reviewers

Faheem AliFaheem AliSoftware Developer, Digital Marketing Specialist & Technical WriterLinkedInWebsiteFaheem Ali is a software developer, digital marketing specialist and technical writer with over 12 years of experience in programming, digital marketing and content development. He holds two master’s degrees in Management Sciences and has professional certifications in programming and digital marketing. Based in Finland, Faheem focuses on developing reliable calculators, verifying mathematical formulas and calculation logic, and making technical and financial information accessible through clear, practical guides. See full profileCheck our editorial policy

1 people find this calculator helpful

Add or subtract days, hours and minutes from a clock time, or find the time between two times, including overnight shifts. You can also total a week of hours and check whether a layover is long enough.

What do you want to work out?
Operation
9:00 AM plus 8 hr 0 min
5:00 PM
same day
Result5:00 PM
Time added8 hr 0 min
DaySame day
  • Start9:00 AM
  • Minutes added480
  • Time added in decimal hours8

Did we solve your problem today?

Why time maths is not ordinary subtraction

Clocks use base 60 and reset at midnight, so a plain subtraction gives wrong or negative answers. The calculator converts every time to minutes since midnight, does the arithmetic, and converts back.

Worked example: a shift from 10:00 PM to 6:00 AM

  1. 10:00 PM is 22 × 60 = 1,320 minutes. 6:00 AM is 6 × 60 = 360 minutes.
  2. 6:00 AM is earlier than 10:00 PM, so it falls on the next day: 360 + 1,440 = 1,800 minutes.
  3. 1,800 − 1,320 = 480 minutes, which is 8 hr 0 min.

Worked example: 9:00 AM to 5:30 PM with a 30 minute break

  1. Gross time: 8 hr 30 min.
  2. Less the break: 8 hr 30 min − 30 min = 8 hr 0 min.
  3. As decimal hours for payroll: 8.

Minutes to decimal hours

MinutesDecimal hoursMinutesDecimal hours
5 min0.0835 min0.58
10 min0.1740 min0.67
15 min0.2545 min0.75
20 min0.3350 min0.83
25 min0.4255 min0.92
30 min0.5060 min1.00

Payroll often uses these decimals: 7 hr 30 min is 7.5, 8 hr 15 min is 8.25 and 6 hr 45 min is 6.75.

Adding and subtracting time: examples

StartChangeResult
9:00 AM+ 8 hr5:00 PM
10:00 PM+ 8 hr6:00 AM (next day)
5:00 PM− 2 hr3:00 PM
11:30 PM+ 90 min1:00 AM (next day)
12:15 AM− 45 min11:30 PM (previous day)

Minimum connection times

The layover checker compares the time between landing and departure with these guides. They are general, and airlines and airports set their own minimums, especially at large hubs.

ConnectionRisky underComfortable from
Domestic45 min75 min
International75 min120 min

If you must change terminals, clear immigration or collect bags, enter the minutes that will take and the checker subtracts them before rating the layover.

Common time calculation mistakes

  • Treating 7.30 as 7 hours 30 minutes. In decimal hours, 7.30 is 7 hours 18 minutes. Seven and a half hours is 7.5.
  • Mixing up 12:00 AM and 12:00 PM. 12:00 AM is midnight and 12:00 PM is noon.
  • Forgetting the day change on an overnight shift or a red-eye flight.
  • Forgetting that this tool does not adjust for time zones. Convert both times to the same zone first.

Time calculator FAQ

How do I calculate the hours between two times?
Subtract the start time from the end time. If the end is earlier than the start, the span crosses midnight, so add 24 hours to the end first. From 9:00 AM to 5:30 PM is 8 hr 30 min, and from 10:00 PM to 6:00 AM is 8 hr 0 min.
How do I convert time to decimal hours for payroll?
Divide the minutes by 60 and add them to the hours. For example, 7 hours 30 minutes is 7 + 30 ÷ 60 = 7.5 hours, and 8 hours 15 minutes is 8.25. A full week of the sample shifts here, 37 hr 40 min, is 37.67 decimal hours.
How is an overnight shift calculated?
When the end time is earlier on the clock than the start time, add 24 hours to the end time before subtracting. A shift from 10:00 PM to 6:00 AM becomes 22:00 to 30:00, which is 8 hr 0 min, not a negative number.
How do I subtract a lunch break from my hours?
Work out the time between clock-in and clock-out, then subtract any unpaid break. From 9:00 AM to 5:30 PM with a 30 minute unpaid lunch, 8 hr 30 min becomes 8 hr 0 min of paid time, or 8 decimal hours.
What is 8 hours after 10 PM?
10:00 PM plus 8 hours is 6:00 AM (next day). The calculator shows when the answer lands on another day.
How much layover time do I need?
This calculator treats a domestic connection as risky under 45 minutes, tight under 75 and comfortable after that. For an international connection the cut-offs are 75 and 120 minutes. A 1 hr 25 min layover is rated comfortable for a domestic flight and tight for an international one. Airlines publish their own minimum connection times, so check yours.
What happens if my result is negative?
A negative time almost always means the span crosses midnight. This calculator adds 24 hours automatically when the end is earlier than the start.
How many minutes are in a number of hours?
Multiply the hours by 60. For example, 2.5 hours × 60 = 150 minutes, and 7.5 hours is 450 minutes.
Can I add up a week of work hours?
Yes. Use the add up hours mode, enter each day's hours and minutes, and the total and the decimal hours are shown. Minutes above 59 carry into hours automatically.

About this calculator

Method: Every time is converted to minutes since midnight. Adding or subtracting changes that number and converts it back to a 12-hour clock, noting a change of day. For the difference between two times, the end is moved forward 24 hours when it is earlier than the start. Net time is the gross span less any unpaid break, and decimal hours are minutes ÷ 60. The layover is the departure time less the arrival time, less the minutes you need to get across, and is rated risky, tight or comfortable against 45 and 75 minutes (domestic) or 75 and 120 minutes (international). The maths runs in your browser, so nothing you enter is sent to our servers. Layover guides are general. Check your airline for its minimum connection time, and your employer for how it rounds working time. Last reviewed December 1, 2026. Spotted a mistake? Tell us and we will correct it.

Sources: US Department of Labor, fact sheet 22 on hours worked; NIST Time and Frequency Division.