Direct answer: A time calculator does maths with hours, minutes and seconds — the kind of maths where 60 minutes make an hour, not 100. Add 1 hour 20 minutes and 2 hours 55 minutes and you get 4 hours 15 minutes; a shift from 8:00 AM to 4:30 PM lasts 8 hours 30 minutes; and a night shift from 10:00 PM to 6:00 AM is 8 hours. The free Time Calculator on AIToolsForBloggers works out all three, and shows every answer in decimal hours too.
What Is a Time Calculator?
A time calculator is a tool that does arithmetic on time — hours, minutes and seconds — instead of ordinary numbers. It sounds simple, but time does not work in tens: 60 minutes make an hour and 60 seconds make a minute, so adding 1:20 and 2:55 in your head means carrying minutes into hours, and one slip gives the wrong answer.
People reach for a time calculator for three different jobs. First, adding or subtracting a list of durations — total study hours for the week, or the length of several video clips. Second, finding the time between two clock times — how long a shift, a flight or a class lasted. Third, working out what time it will be after adding hours and minutes, or what time it was before them. The AIToolsForBloggers time calculator covers all three in one tool, free, with no signup.
Time Calculator Formula
Every time calculation follows the same idea: turn each time into seconds, do the sum, and turn the answer back into hours, minutes and seconds.
| Calculation | Formula | What it means |
|---|---|---|
| Total seconds | (days x 86,400) + (hours x 3,600) + (minutes x 60) + seconds | Every duration is turned into seconds first, then added or subtracted. |
| Time between two times | End time - start time (+ 24 hours if the end is earlier, for overnight) - break | The end minus the start, with a full day added when the shift crosses midnight. |
| Decimal hours | Total seconds / 3,600 | Hours and minutes as one decimal number — 8 hours 30 minutes is 8.5 hours. |
| Clock time +/- duration | Start time +/- duration (in seconds) | The result is a time of day, plus a day rollover when it passes midnight. |
How to Use the Time Calculator
The tool has three modes. Pick the one that matches your question:
- Add / Subtract Times: type each duration on its own row as days, hours, minutes and seconds, set its sign to + or -, and read the total. You can also multiply or divide the total — for example, 4 hours 15 minutes x 4 working days.
- Time Between Two Times: enter the start time and the end time, plus any unpaid break in minutes. The calculator gives the net duration, in hours and minutes and in decimal hours.
- Clock Time +/- Duration: enter a start time and a duration to add or subtract. The answer is the resulting clock time, with a day rollover (+1 day) when it passes midnight.
Every answer shows four forms: hours and minutes in words, hh:mm:ss, decimal hours, and total minutes and seconds. Copy the one your timesheet or payroll form needs.
Worked Examples
Example 1 — Adding two durations
A video edit takes 1 hour 20 minutes and a second session takes 2 hours 55 minutes. How long in total?
1:20 + 2:55 = 4 hours 15 minutes. Add the minutes first: 20 + 55 = 75 minutes, which is 1 hour 15 minutes. Add the hours: 1 + 2 = 3 hours, plus the carried hour = 4 hours 15 minutes. In decimal hours that is 4.25 hours, or 255 minutes.
Example 2 — Hours worked with a lunch break
A shift runs from 8:00 AM to 4:30 PM with a 30-minute unpaid lunch break. How many hours worked?
4:30 PM - 8:00 AM = 8 hours 30 minutes, minus the 30-minute break = 8 hours 0 minutes. That is 8.00 decimal hours and 480 minutes — the figure payroll needs.
Example 3 — Overnight shift
A night shift starts at 10:00 PM and ends at 6:00 AM the next morning. How long is the shift?
The end time is earlier than the start, so add 24 hours to the end first: 6:00 AM + 24:00 = 30:00, then 30:00 - 22:00 = 8 hours.
Time Between Two Times for Work Hours
The most common use of a time calculator is work hours. A shift is rarely a round number of hours, and payroll almost always wants decimal hours, not hours and minutes. That is why the calculator shows both: 8 hours 30 minutes next to 8.5 hours.
Converting between the two is one division. To go from hours and minutes to decimal hours, divide the minutes by 60 and add them to the hours: 7 hours 45 minutes = 7 + 45/60 = 7.75 hours. To go back, multiply the decimal part by 60: 0.75 x 60 = 45 minutes.
| Decimal hours | Hours and minutes |
|---|---|
| 0.25 | 15 minutes |
| 0.50 | 30 minutes |
| 0.75 | 45 minutes |
| 1.50 | 1 hour 30 minutes |
| 7.75 | 7 hours 45 minutes |
| 8.50 | 8 hours 30 minutes |
If you track whole days instead of hours, the Date Duration Calculator on AgeCalc PK counts the days, weeks and months between two dates. And if you want to know how long a piece of writing takes to read, the Reading Time Calculator on AIToolsForBloggers estimates it from the word count.
Time Calculator in Excel and Google Sheets
You can do the same maths in a spreadsheet. Put the start time in cell A2 and the end time in cell B2, and format the cells as Time.
- Same-day duration, shown as H:MM: =B2-A2
- Overnight duration: =MOD(B2-A2,1)
- Decimal hours for payroll: =(B2-A2)*24
The MOD version is the one to remember: it adds a full day automatically when the end time is earlier than the start, which is exactly the overnight rule the calculator applies.
Common Mistakes
- 12 AM vs 12 PM: 12:00 AM is midnight (the start of the day) and 12:00 PM is noon. Mixing them up adds or removes 12 hours from your answer.
- The decimal trap: 1.30 hours is NOT 1 hour 30 minutes — it is 1 hour 18 minutes, because 0.30 x 60 = 18. And 1 hour 30 minutes is 1.5 hours, not 1.30 hours.
- Forgetting the break: a shift from 9:00 AM to 5:00 PM is 8 hours only if there was no unpaid break. Always subtract lunch or rest breaks for the net hours worked.
- Overnight shifts: if the end time is earlier than the start time, the period crosses midnight — add 24 hours to the end time before subtracting.
- Seconds left out: for short timings such as video clips or lab work, ignoring seconds adds up. 40 clips of 45 seconds is 30 minutes, not zero.
Frequently Asked Questions
How do I add hours and minutes?
Add the minutes first, then the hours, carrying 60 minutes over as 1 hour. For example, 1 hour 20 minutes + 2 hours 55 minutes: 20 + 55 = 75 minutes, which is 1 hour 15 minutes, so the total is 4 hours 15 minutes. The free time calculator on this site does the carrying for you.
How do I calculate the time between two times?
Subtract the start time from the end time. For example, 8:00 AM to 4:30 PM is 8 hours 30 minutes. If the end time is earlier than the start time, the period crosses midnight — add 24 hours to the end time first. Enter any unpaid break in minutes to get the net hours worked.
What if my shift ends after midnight?
That is an overnight shift. When the end time is earlier than the start time, add 24 hours to the end before subtracting. For example, 10:00 PM to 6:00 AM is 8 hours. The time calculator on this site handles overnight shifts automatically.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add them to the hours. For example, 8 hours 30 minutes = 8 + 30/60 = 8.5 decimal hours. Payroll and timesheets usually want decimal hours, so the calculator shows the decimal figure with every answer.
What is 1.5 hours in hours and minutes?
1.5 hours is 1 hour 30 minutes, because 0.5 x 60 = 30 minutes. The common mistake is reading 1.5 as 1 hour 50 minutes, or writing 1 hour 30 minutes as 1.30 hours — but 1.30 hours means 1 hour 18 minutes, since 0.30 x 60 = 18.
Can I use a time calculator for payroll?
Yes — that is one of its main uses. Enter the shift start and end times and the unpaid break, and read the decimal hours figure: that is the number payroll systems expect. Always check the decimal figure against your employer's rounding rule before submitting a timesheet, because employers round differently.
Try It Now
Use the free Time Calculator on AIToolsForBloggers — add or subtract durations, find the time between two clock times, or work out what time it will be. No signup, no app, and nothing you type leaves your browser.
