Skip to main content

Notice Send us your feedback to help us improve this service.

Hours Calculator

Calculate total hours worked from start and end times.

What this calculator does

This tool works out how long you worked in one shift. Enter your start time, your end time and the length of any unpaid break. You get the hours and minutes worked, and the same time in total minutes.

Use it to fill in a timesheet, track hours for a client, or check the time on a single shift.

How we work it out

We find the time between your start and end, in minutes. If the end time is earlier in the day than the start, we assume the shift ran past midnight and add a day. Then we subtract your break.

The result is shown as hours and minutes, such as 7h 30m, and as total minutes. If your break is longer than the shift, the tool asks you to check your times.

If the start and end times are the same, the tool reads that as zero hours, not a full 24-hour shift.

Reading your result

Hours Worked shows hours and minutes, not a decimal. Payroll systems often use decimal hours instead. To convert, divide the minutes by 60. For example, 7h 45m is 7.75 hours, and 7h 20m is about 7.33 hours.

The Total Minutes figure is handy if you bill by the minute or want to add several shifts together. Add up the minutes, then divide by 60 to get decimal hours.

Breaks and the law

Employment standards set rules for meal breaks on longer shifts. In Ontario, you must not work more than five hours in a row without a 30-minute eating period. That break is unpaid unless your employment contract says otherwise. In federally regulated workplaces, you are entitled to an unpaid break of at least 30 minutes in every five hours in a row. If your employer requires you to stay available during the break, it must be paid.

Enter only unpaid break time in the Break box. Paid rest breaks count as time worked, so leave them out.

Common mistakes

  • Mixing up morning and evening. Check AM and PM, or use the 24-hour clock, where 7:00 is morning and 19:00 is evening.
  • Entering a break you were paid for. That lowers your hours below what you were actually paid for.
  • Shifts of a full day or more. The tool handles one shift of less than 24 hours. Split longer stretches into parts.

To total a week of shifts and work out pay with overtime, use the time card calculator.

What this does not include

  • Overtime and pay; the tool counts time only
  • Paid breaks, which you should leave out of the break box
  • Shifts of 24 hours or more; the same start and end time counts as zero
  • Several breaks in one shift; add them together and enter the total
  • Rounding rules your employer may use for clocking in and out

Common questions

Does it handle overnight shifts?

Yes. When you clock out at a time that comes before your clock-in time, the tool treats the shift as running past midnight into the next day. So a shift from 23:00 to 07:00 counts as eight hours, and then your break comes off.

Should I include my lunch break?

Only if it was unpaid. Enter the unpaid minutes in the break box and the tool takes them off. If your employer pays you through lunch, enter 0 so the whole shift counts as time worked.

Is my meal break paid?

Usually not. In Ontario, meal breaks are unpaid unless your employment contract says they are paid. In federally regulated workplaces, the break is unpaid unless your employer requires you to stay available, in which case it must be paid. Rules in other provinces differ, so check your province's employment standards.

Can I add up several shifts?

Yes. Run each shift on its own and note the Total Minutes. Add the minutes together and divide by 60 to get decimal hours. For a full week with an hourly rate and overtime, a weekly time card does the adding for you.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.