Skip to content
KazamTools

Time Calculator

Add hours and minutes, find the time between two times, convert decimal hours and total a timesheet.

First duration
Second duration

Result (hours:minutes:seconds)

4:16:15

4 h 16 min 15 s

In hours
4.2708
In minutes
256.25
In seconds
15,375

How it was worked out

  1. First = 2:45:30 = 9,930 s
  2. Second = 1:30:45 = 5,445 s
  3. 9,930 + 5,445 = 15,375 s = 4:16:15

Counting days instead of hours? Use the date calculator. Need a countdown? Start the online timer.

How to use the Time Calculator

  1. 1Pick a calculation: add or subtract durations, a time plus a duration, time between two times, decimal hours or a timesheet.
  2. 2Enter hours, minutes and seconds, or choose the clock times.
  3. 3Read the answer in hours:minutes:seconds, in words and in decimal hours, with the working underneath.
  4. 4In the timesheet, type each entry as 7:30, 7.5 or 7h 30m and press Enter for a new row.

How time maths works

Time is counted in sixties, not tens: 60 seconds make a minute and 60 minutes make an hour. That is why you cannot add times like ordinary decimals. The calculator turns everything into seconds, does the sum, then turns the answer back into hours, minutes and seconds.

Total seconds = hours × 3,600 + minutes × 60 + seconds

To go back, divide by 3,600 for whole hours, take the remainder and divide by 60 for minutes, and what is left is seconds.

Worked examples

Adding two durations

2 h 45 min 30 s plus 1 h 30 min 45 s:

  1. Seconds: 30 + 45 = 75 s, which is 1 min 15 s. Write 15 s and carry 1 minute.
  2. Minutes: 45 + 30 + 1 = 76 min, which is 1 h 16 min. Write 16 min and carry 1 hour.
  3. Hours: 2 + 1 + 1 = 4 h.

The answer is 4:16:15, or 15,375 seconds.

An overnight shift

A shift starts at 22:30 and ends at 06:15 the next morning, with a 30-minute unpaid break. The end time is earlier than the start, so the shift crosses midnight:

(06:15 + 24:00) − 22:30 = 7:45, then 7:45 − 0:30 = 7:15

That is 7 hours 15 minutes, or 7.25 hours on a timesheet.

A time plus a duration

A train leaves at 21:30 and the trip takes 3 h 45 min. 21:30 + 3:45 = 25:15, which is past 24:00, so the train arrives at 01:15 the next day (1:15 AM).

Decimal hours and hours:minutes

Payroll systems and invoices often use decimal hours, where the part after the point is a fraction of an hour, not minutes.

Decimal hours = hours + minutes ÷ 60 · Minutes = decimal part × 60
Minutes Decimal hours
6 min 0.1
10 min 0.167
15 min 0.25
20 min 0.333
30 min 0.5
40 min 0.667
45 min 0.75
50 min 0.833

A common mistake is reading 7.30 as seven and a half hours. In decimal hours, 7.30 is 7 hours and 18 minutes; seven and a half hours is 7.5. If a payslip and your own notes disagree, check which format each one uses.

Using the timesheet

The timesheet adds up as many entries as you like. Each row accepts:

  • Clock style: 7:30 (7 hours 30 minutes) or 7:30:15 with seconds.
  • Decimal hours: 7.5 or 7,5.
  • Units: 7h 30m, 90 min, 45s or 2 days 3 hours.
  • Corrections: start with a minus sign, like -0:30, to take time off.

Add an hourly rate to see the pay for the total. For example, 38.5 hours at 15.50 an hour is 38.5 × 15.50 = 596.75 before tax. To see what that leaves after tax, try the paycheck calculator.

Some employers round each shift, for example to the nearest quarter hour. If yours does, enter the rounded times so the total matches your payslip.

Tips

  • Same start and end time? The calculator shows 0. If it was really a full 24-hour shift, the time worked is 24:00.
  • Your device decides 12 or 24 hours. The time boxes follow your phone or computer settings, and results are shown in both formats.
  • Counting days, not hours? The date calculator counts the days and business days between dates.
  • Timing something live? Use the online timer for a countdown with an alarm, or its stopwatch with lap times.
  • Counting days by hand? The guide on how to count days between dates explains inclusive counts and business days.

All the maths happens in your browser, and nothing you type is sent anywhere.

Cite this calculator

Using this calculator in an essay, report or article? Copy a ready-made reference. Check your teacher's or publisher's style guide for small differences.

APA
KazamTools. (2026, October 21). Time calculator. Retrieved October 30, 2026, from https://kazamtools.com/date-time/time-calculator/
MLA
"Time Calculator." KazamTools, 21 Oct. 2026, https://kazamtools.com/date-time/time-calculator/. Accessed 30 Oct. 2026.
Chicago
KazamTools. "Time Calculator." Last modified October 21, 2026. Accessed October 30, 2026. https://kazamtools.com/date-time/time-calculator/.
Plain link
Time Calculator (KazamTools): https://kazamtools.com/date-time/time-calculator/
HTML link
<a href="https://kazamtools.com/date-time/time-calculator/">Time calculator</a> by KazamTools

Frequently asked questions

How do I calculate the time between two times?

Subtract the start time from the end time. If the end time is earlier, the period crosses midnight, so add 24 hours first: 22:30 to 06:15 is 7 hours 45 minutes.

How do I convert decimal hours to hours and minutes?

Keep the whole hours and multiply the decimal part by 60. For example, 7.75 hours is 7 hours plus 0.75 × 60 = 45 minutes.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 0.75 hours, 30 minutes is 0.5 hours and 20 minutes is about 0.333 hours.

Is 7.30 hours the same as 7 hours 30 minutes?

No. In decimal hours 7.30 means 7 hours and 18 minutes, because 0.30 × 60 = 18. Seven and a half hours is 7.5 in decimal hours.

How do I add hours and minutes together?

Add the minutes and carry every 60 minutes into an extra hour, then add the hours. 2:45 plus 1:30 is 3 hours 75 minutes, which is 4:15.

Can it handle night shifts that end after midnight?

Yes. When the end time is earlier than the start time, the calculator treats it as the next day and adds 24 hours before subtracting.

Guides

Was this tool helpful?