Time Calculator

Add up hours and minutes the easy way. Type durations one per line, such as 1:30 or 2:45:10, and the calculator totals them; start a line with a minus sign to subtract it. You can also choose a start and end time to see how long lies between them, including night shifts that pass midnight.

Calculator

Loading tool…

At a glance

Inputs
Durations one per line (h:mm, h:mm:ss or minutes), and a start and end clock time
Outputs
Total as h:mm:ss and decimal hours; time between two clock times
Subtracting
Start a line with a minus sign
Overnight
An end time before the start is read as the next day

How it works

  1. List the times

    Enter one duration per line as h:mm, h:mm:ss or plain minutes.

  2. Read the total

    The total appears in hours, minutes and seconds and as decimal hours.

  3. Find a time span

    Pick a start and end clock time to see the time between them.

Which time tool do you need?

Durations, dates and timers are different questions.

OptionBest forTrade-off
Time Calculator (this page)Adding durations and finding time between two clock times.No dates.
Date Difference CalculatorDays between two dates.Whole days only.
Stopwatch and TimerTiming something live.Does not add a list.
Epoch ConverterComputer timestamps.Not for timesheets.
Age CalculatorAge from a date of birth.One date only.

Example: hours worked and a night shift

You worked 1 hour 30 minutes and 2 hours 45 minutes, with a 15-minute break to subtract.

  1. Enter 1:30, 2:45 and -0:15 on separate lines.
  2. The total is 4:00:00, or 4.00 hours.
  3. For a shift from 22:30 to 06:15, the time between is 7:45:00 and the calculator notes it passes midnight.

When to use Time Calculator

Use it for timesheets and overtime, billing hours to clients, planning study sessions, adding up the length of lectures or videos, and checking shift lengths for night work.

Why time maths is awkward

Hours have 60 minutes, not 100, so ordinary addition gives wrong answers: 1.30 plus 2.45 is not 3.75 hours of clock time. The calculator converts everything to seconds, adds, and converts back.

Decimal hours for pay

Payroll and invoices often need decimal hours. Thirty minutes is 0.5 hours and fifteen minutes is 0.25, so 7:45 becomes 7.75 hours.

Shifts that pass midnight

If a shift starts at 22:30 and ends at 06:15, the end looks earlier than the start. The calculator adds a day in that case so the result is the real length of the shift.

Timesheets made simple

For a weekly timesheet, enter each day’s hours as a line, such as 8:30, 9:15 and 7:45, and subtract unpaid breaks with lines starting with a minus sign. The total in decimal hours is the figure most payroll systems and invoices expect, so 41:30 becomes 41.5 hours.

Adding song and video lengths

Media players show lengths as minutes and seconds, such as 3:45. Enter those as 0:03:45 to make sure they are read as minutes and seconds rather than hours and minutes, then add a whole playlist at once.

Overtime at a glance

If your contract is for a set number of hours a week, enter the hours worked as lines and add a final line with the contracted hours as a negative value, such as -40:00. The total is then the overtime, or a negative figure if you worked fewer hours.

Converting minutes to decimal hours

Divide minutes by 60 to get decimal hours: 15 minutes is 0.25, 20 minutes is about 0.33, 45 minutes is 0.75. Payroll and billing usually round to a set step, such as the nearest quarter hour, so check your employer’s or client’s rounding rule before submitting hours.

If something looks wrong

A line is rejected
Use digits and colons only, such as 1:05 or 0:45:30.
Minutes above 59
Write 1:30 rather than 0:90; plain minutes such as 90 are also accepted.
Decimal hours look odd
Decimal hours are for payroll; 4:30 is 4.50 hours.
The shift crosses two days
This works for spans under 24 hours. Use the Date Difference Calculator for longer periods.

Common questions

Can I add days?

Write days as hours, such as 48:00 for two days.

Is there a limit on lines?

No practical limit for timesheets.

Are my times saved?

No.

How do I subtract a time?

Start the line with a minus sign, for example -0:30 for a 30-minute break.

What does a plain number mean?

A number without a colon is read as minutes, so 90 is one hour thirty minutes.

Does it handle overnight shifts?

Yes. If the end time is earlier than the start, the calculator assumes the shift passes midnight.

Timesheet entries are added up in your browser and are not stored anywhere.