Last updated:
Time Calculator
Creators
EverydayCalcPro Team
EverydayCalcPro 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 Ali
Faheem 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
Copy the code below to add this free calculator to your website. Please keep the credit link.
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.
- 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
- 10:00 PM is 22 × 60 = 1,320 minutes. 6:00 AM is 6 × 60 = 360 minutes.
- 6:00 AM is earlier than 10:00 PM, so it falls on the next day: 360 + 1,440 = 1,800 minutes.
- 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
- Gross time: 8 hr 30 min.
- Less the break: 8 hr 30 min − 30 min = 8 hr 0 min.
- As decimal hours for payroll: 8.
Minutes to decimal hours
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 min | 0.08 | 35 min | 0.58 |
| 10 min | 0.17 | 40 min | 0.67 |
| 15 min | 0.25 | 45 min | 0.75 |
| 20 min | 0.33 | 50 min | 0.83 |
| 25 min | 0.42 | 55 min | 0.92 |
| 30 min | 0.50 | 60 min | 1.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
| Start | Change | Result |
|---|---|---|
| 9:00 AM | + 8 hr | 5:00 PM |
| 10:00 PM | + 8 hr | 6:00 AM (next day) |
| 5:00 PM | − 2 hr | 3:00 PM |
| 11:30 PM | + 90 min | 1:00 AM (next day) |
| 12:15 AM | − 45 min | 11: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.
| Connection | Risky under | Comfortable from |
|---|---|---|
| Domestic | 45 min | 75 min |
| International | 75 min | 120 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?
How do I convert time to decimal hours for payroll?
How is an overnight shift calculated?
How do I subtract a lunch break from my hours?
What is 8 hours after 10 PM?
How much layover time do I need?
What happens if my result is negative?
How many minutes are in a number of hours?
Can I add up a week of work hours?
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.