Skip to content
Localtools

Time Calculator

Add and subtract hours and minutes, or total a weekly time card with breaks, overnight shifts and overtime.

Total (h:mm)

9:10

Decimal hours
9.17 h
Total minutes
550

How to use

  1. To add or subtract durations, stay on "Add & subtract times" and enter hours and minutes in each row. Pick "− Subtract" for a row you want to take away.
  2. Use "Add time" for more rows, tick "Include seconds" if you need them, and read the total as h:mm and as decimal hours.
  3. For a time sheet, switch to "Time card", choose the days and enter the start time, end time and unpaid break for each day. An end time earlier than the start counts as the next day.
  4. Optionally enter an overtime threshold in hours per week and your hourly rate to split regular and overtime hours and see an estimated pay.
  5. Your time card is kept in this browser. Press "Clear" to start a new week.

Why time doesn’t add like ordinary numbers

Hours and minutes are a base-60 system. Once you go past 59 minutes, the extra spills into the next hour, and that breaks the decimal arithmetic we use every day. The classic mistake is to type times into a calculator with a decimal point:

  • Wrong: 7.20 + 1.50 = 8.70, which is not even a valid time.
  • Right: 7 h 20 min + 1 h 50 min = 8 h 70 min = 9 h 10 min.

The same trap works in reverse. A timesheet that shows 7.5 hours means 7 hours 30 minutes, because half of 60 is 30. It does not mean 7 hours 50 minutes. When a payroll system or spreadsheet reports decimal hours, convert the fraction by multiplying it by 60: 0.25 h is 15 minutes, 0.75 h is 45 minutes, 0.1 h is 6 minutes.

This time calculator avoids the problem by converting every row to seconds, adding or subtracting them, and only then splitting the total back into hours, minutes and seconds. Minutes over 59 are fine as input: entering 0 hours and 90 minutes counts as 1:30.

Adding and subtracting durations

Use the first mode for anything you need to total: hours spent on a project across several days, the length of a playlist, billable time for a client, or flight segments on a long trip. Each row can be added or subtracted, so you can also work out what is left. For example, if a 40-hour target already has 32:45 logged, enter 40 hours, then subtract 32 hours 45 minutes, and the result is 7:15 still to go.

The total is shown in two forms. h:mm is what people read and write on a timesheet. Decimal hours is what you multiply by an hourly rate. The calculator rounds the h:mm figure to the nearest minute, or to the nearest second when seconds are switched on, and never wraps at 24 hours, so a week of work shows as 42:30 rather than as a time of day.

Using the weekly time card

The second mode is an hours calculator for a work week. For each day, enter the time you clocked in, the time you clocked out and the unpaid break in minutes. The hours worked for that day appear on the right, and the weekly total updates as you type. A typical day from 9:00 to 17:30 with a 30-minute lunch is 8 hours, so five such days make 40:00, or 40 decimal hours.

Night shifts are handled automatically: if the end time is earlier than the start, the shift is counted as ending the next day. A shift from 10:00 PM to 6:30 AM with a 30-minute break comes to 8 hours. Choose “Two weeks” for a biweekly pay period. The overtime threshold is then applied to each week separately.

Overtime and pay estimate

If you enter a number of hours per week in the overtime field, hours above that number are listed as overtime and the rest as regular hours. With an hourly rate, the estimated pay is regular hours × rate plus overtime hours × rate × the multiplier (1.5 by default, editable). For instance, 45 hours at $20 with overtime after 40 gives 40 × 20 + 5 × 20 × 1.5 = $950. This is a plain arithmetic estimate before tax and deductions. It does not apply any specific labor law, so compare it with your pay stub and your employer’s rules.

If you also need to count the calendar days between two dates, for example the length of a contract or a notice period, the date calculator counts days and business days and can add or subtract days from a date.

Frequently asked questions

Why can't I just add 7.20 and 1.50 on a normal calculator?

Because an hour has 60 minutes, not 100. 7.20 + 1.50 gives 8.70 on a calculator, but 7 hours 20 minutes plus 1 hour 50 minutes is 9 hours 10 minutes. The calculator converts every entry to seconds, adds them, and only then splits the result back into hours and minutes.

How do I convert minutes to decimal hours for payroll?

Divide the minutes by 60. 15 minutes is 0.25 h, 30 minutes is 0.5 h, 45 minutes is 0.75 h and 10 minutes is about 0.17 h. The decimal hours figure under the total does this for you, and it is the number to multiply by an hourly rate.

What does 7.5 hours mean in hours and minutes?

7.5 hours is 7 hours 30 minutes, not 7 hours 50 minutes. You can type a decimal such as 7.5 in the Hours field and the total will show 7:30.

How are night shifts that pass midnight handled?

If the end time is earlier than the start time, the shift is treated as ending the next day. A shift from 22:00 to 06:00 counts as 8 hours, and "(next day)" appears next to the end time so you can see it was understood that way.

Does the overtime threshold follow the law in my state or country?

No. It is a simple number you choose. All hours above it in each 7-day week count as overtime, paid at the multiplier you set. Daily overtime rules, holidays, shift premiums and unpaid meal rules vary by employer and jurisdiction, so check your own rules and treat the pay figure as an estimate before tax.

Can the total be negative?

Yes, in the add and subtract mode. If you subtract more time than you added, the total is shown with a minus sign, for example -0:45. That is handy for checking how far you are under a target number of hours.

Is my time card data sent anywhere?

No. All calculations run in your browser, and the time card is stored only in this browser's local storage. Clearing it or your browser data removes it.

Related tools