calculator.onl
Categories50

Work time calculator

Add shifts and unpaid breaks to a timesheet with daily and weekly totals and optional gross pay.

A worked example

The shift crosses midnight. Adjust the unpaid break to see how many hours are paid.

Paid hours14.5 hUnpaid break minutes90 minEstimated gross pay$290.00
Shifts, one per line: One line per shift: YYYY-MM-DD;HH:MM;HH:MM;0 or 1;unpaid minutes. Use 1 only when the end is the next day. Up to 62 non-overlapping shifts, each at most 24 hours. Totals belong to the start date and its Monday-based week. Local-clock arithmetic ignores daylight-saving changes. No automatic overtime, holiday or legal-hours rules.

USD
Hourly rate: 0 … 10000000 ¤

Updates as you type

Use a dot or comma for decimals. No thousands separators. Currency selection changes the display unit, not an exchange rate.

YOUR RESULT

Paid hours

14.5 h

Calculated from your inputs

Paid minutes870 min
Unpaid break minutes90 min
Estimated gross pay$290.00
Number of shifts2
Shift start dates2
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Raising the hourly rate changes gross pay while the entered shift lengths and unpaid breaks stay fixed. Change “Hourly rate” from $20.00 to $25.00 and keep the other inputs from the worked example. The value for “Estimated gross pay” goes from $290.00 to $362.50. For a related calculation, try Decimal hours converter: hours and minutes.

What to enter

InputWhat it meansExample value
Shifts, one per lineShifts, one per line: One line per shift: YYYY-MM-DD;HH:MM;HH:MM;0 or 1;unpaid minutes. Use 1 only when the end is the next day. Up to 62 non-overlapping shifts, each at most 24 hours. Totals belong to the start date and its Monday-based week. Local-clock arithmetic ignores daylight-saving changes. No automatic overtime, holiday or legal-hours rules.2026-10-05;09:00;17:00;0;60 2026-10-06;22:00;06:00;1;30
Hourly rateHourly rate: 0 … 10000000 ¤20 USD

How the calculation works

  1. Add shifts and unpaid breaks to a timesheet with daily and weekly totals and optional gross pay.
  2. One line per shift: YYYY-MM-DD;HH:MM;HH:MM;0 or 1;unpaid minutes. Use 1 only when the end is the next day. Up to 62 non-overlapping shifts, each at most 24 hours. Totals belong to the start date and its Monday-based week. Local-clock arithmetic ignores daylight-saving changes. No automatic overtime, holiday or legal-hours rules.
  3. Read the result and compare it with the diagram.
The formulaH = (e − s + 1440n − b)/60; P = Hr

A worked example

Work time calculator: 09:00–17:00 − 60 min = 7 h; 22:00–06:00 (+1) − 30 min = 7.5 h; Σ = 14.5 h.

Example you can load

What to enter
Result for this example · Paid hours14.5 h

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

One line per shift: YYYY-MM-DD;HH:MM;HH:MM;0 or 1;unpaid minutes. Use 1 only when the end is the next day. Up to 62 non-overlapping shifts, each at most 24 hours. Totals belong to the start date and its Monday-based week. Local-clock arithmetic ignores daylight-saving changes. No automatic overtime, holiday or legal-hours rules.

Frequently asked questions

How is the result calculated?

Add shifts and unpaid breaks to a timesheet with daily and weekly totals and optional gross pay. H = (e − s + 1440n − b)/60; P = Hr

How should I enter the values?

Shifts, one per line, Hourly rate. 09:00–17:00 − 60 min = 7 h; 22:00–06:00 (+1) − 30 min = 7.5 h; Σ = 14.5 h.

What are the limits?

One line per shift: YYYY-MM-DD;HH:MM;HH:MM;0 or 1;unpaid minutes. Use 1 only when the end is the next day. Up to 62 non-overlapping shifts, each at most 24 hours. Totals belong to the start date and its Monday-based week. Local-clock arithmetic ignores daylight-saving changes. No automatic overtime, holiday or legal-hours rules.