Time Duration Calculator

Our work hours calculator with breaks adds your shifts, subtracts unpaid breaks and handles overnight hours for accurate totals.

Shifts

min

Optional: pay

Formula & worked example

Formula: Net minutes = (end − start, +24 h if the end is earlier) − unpaid break. Decimal hours = net minutes ÷ 60.

Example: 22:00 to 06:30 with a 30-minute break = 8 h 30 m − 30 m = 8 h 00 m = 8.00 decimal hours.

Method & source: 24-hour clock arithmetic with a midnight rollover for overnight shifts. See how we test our calculators.

Next step: try overtime pay or business days in a pay period or freelance hourly rate.

Clear glass hourglass with sand running, a symbol of time duration

What Is a Time Duration Calculator?

A time duration calculator measures the time between a start and an end time. Used as a work hours calculator with breaks, it also subtracts unpaid breaks so you see only the hours you actually worked.

It is built for real shifts: a night shift that starts at 10 pm and finishes at 6 am is handled correctly, and you can add several shifts to total a whole week.

How Our Work Hours Calculator Works

Add one row per shift with a start time, an end time and the unpaid break in minutes. The calculator does the rest.

  • Overnight shifts: If the end time is earlier than the start time, the shift rolls over past midnight.
  • Unpaid breaks: Break minutes are subtracted from the shift length.
  • Multiple shifts: Add as many rows as you need and get a running total.
  • Decimal hours: Totals shown as hours and minutes and as decimals for timesheets.
  • Optional pay: Enter an hourly rate to see estimated earnings.

Times are read on a 24-hour clock in the input fields, and results are displayed both ways so they are easy to copy into payroll or invoices.

Clear glass hourglass with dark sand measuring the passing of hours
Close-up of an analog wristwatch face showing the time at 10:34 in the morning

Why Tracking Work Hours Matters

Accurate hours mean accurate pay. Small mistakes with breaks or midnight rollovers add up quickly across a month.

  • Fill in timesheets and invoices with hours you can defend.
  • Check payslips against the time you actually worked.
  • Plan shift patterns and overtime for a team.
  • Bill clients by the hour without rounding errors.
  • Compare planned hours with real hours over a week.

A work hours calculator with breaks turns start and finish times into a clear, payable total in seconds.

Worked walkthrough: a night shift

A nurse works from 7:30 pm to 7:30 am with a 45-minute unpaid break. Because the end time is earlier than the start time, the calculator treats the shift as running past midnight: 12 hours gross, minus 45 minutes, gives 11 hours 15 minutes, or 11.25 decimal hours. Adding three more identical shifts makes four shifts and 45.00 decimal hours in total. At an hourly rate of 30, that is an estimated 1,350 before tax and overtime rules. Decimal hours are what most payroll and invoicing systems ask for.

Practical tips for time duration calculations

  • Enter times in the format your device shows; the tool reads them as a 24-hour clock internally, so 7:30 pm and 19:30 are the same.
  • Only unpaid breaks should be entered. Paid breaks are part of your working time and should be left out of the break box.
  • If a shift is exactly 24 hours, split it into two rows – identical start and end times are read as zero minutes.
  • Round decimal hours only at the very end, on the weekly total, to avoid small rounding differences building up.
  • Overtime premiums and night differentials vary by employer and country. Use this tool for the hours and apply your own pay rules afterwards.

Frequently Asked Questions (FAQs)

Enter the start time, end time and unpaid break in minutes. The calculator subtracts the break from the total shift length to give your net working hours.

Yes. When the end time is earlier than the start time, the calculator assumes the shift finishes the next day, so 22:00 to 06:00 is 8 hours before breaks.

Yes. Use “Add shift” to create more rows – for example one per day of the week – and the total updates for all of them.

Divide the minutes by 60 and add them to the hours. 7 hours 30 minutes is 7.5 hours. The calculator shows this decimal figure automatically.

If you enter an hourly rate, pay is the net decimal hours multiplied by that rate. Taxes and overtime premiums are not included.

Confirm official deadlines. Results follow the calendar rules described on this page. Contracts, court time limits and official deadlines can count days differently, so confirm any legally important date against the governing document. See our full disclaimer.