Skip to main content

Hours worked calculator

Type the start and end time for each day and any break. The total comes out in hours and minutes, in decimal hours, and as an amount when you add a rate.

Runs in your browser. Nothing you type is sent or saved unless you press Create this invoice.

Days worked

Times like 09:00, 17:30, 9am or 5:30pm. Without am or pm, times use the 24-hour clock, so 9 to 5 is 09:00 to 05:00 the next morning: type 17 or 5pm for a 9-to-5 day. An end time before the start counts as ending after midnight. Up to 14 days; empty rows are ignored.

Up to 4 decimals. Leave blank for hours only.

Only used to name the invoice line.

40:00 hours (40.00 h)Amount 40.00 h × $45.00 = $1,800.00Mon 8:00 (8.00 h) · Tue 8:00 (8.00 h) · Wed 8:00 (8.00 h) · Thu 8:00 (8.00 h) · Fri 8:00 (8.00 h)
Create this invoice

Free account, no card. Your numbers come with you.

The invoice rounds the line total to the cent itself.

General information only: this tool does arithmetic on the numbers you enter and is not tax, accounting or legal advice. Rates and rules differ by place and situation, so check what applies to you or ask a qualified professional.

How it works

End time minus start time, minus the break

Each day is worked out in whole minutes: the end time minus the start time, minus any unpaid break. 09:00 to 17:30 with a 30-minute break is 8 hours, so a five-day week is 40:00 hours. If the end time is before the start time, the shift ran past midnight and a day is added: 22:00 to 06:30 with a 45-minute break is 7:45 hours.

Rounding is applied to minutes, not money

If you bill in steps (tenths of an hour, quarter hours or half hours), choose a rounding step and whether to round each day or only the total. Half a step or more rounds up. Rounding each day and rounding the total can give different answers, so pick the one your agreement or employer uses and keep to it.

Pay is worked out once, from the final minutes

With a rate, the amount is rate × minutes ÷ 60, rounded once to the cent. 40.00 hours at $45.00 is $1,800.00. Decimal hours are shown to 2 places on screen; the hand-off to an invoice carries 3 places, and the invoice rounds its own line total to the cent.

Rounding options

What each rounding step does to a 7 hour 8 minute day. Rounding the total only, rather than each day, applies the same step once to the sum.

Time rounding steps with an example of each
RoundingRuleExample
NoneEvery minute counts7:08 stays 7:08 (7.13 h)
6 min (0.1 h)Nearest tenth of an hour; 3 minutes or more rounds up7:08 becomes 7:06 (7.10 h)
15 min (0.25 h)Nearest quarter hour; 7 min 30 s or more rounds up7:08 becomes 7:15 (7.25 h)
30 min (0.5 h)Nearest half hour; 15 minutes or more rounds up7:08 becomes 7:00 (7.00 h)

Examples

A standard week at $45 an hour

Monday to Friday, 09:00 to 17:30 with a 30-minute break: 8:00 a day, 40:00 in all (40.00 hours). At $45.00 an hour that is $1,800.00.

A night shift past midnight

22:00 to 06:30 is an 8 hour 30 minute span because the shift crosses midnight. Less a 45-minute break, that is 7:45, or 7.75 hours.

Round each day or the total?

Five days of 7 hours 8 minutes is 35:40 unrounded ($1,605.00 at $45). Rounded to 15 minutes each day it is 36:15 ($1,631.25); rounding only the total gives 35:45 ($1,608.75).

Rules and good practice

Agree the rounding before the work starts

If you bill in tenths or quarters of an hour, say so in your quote or contract, and round the same way on every invoice. Clients query rounding when it only ever goes one way. Keep the raw start and end times as well, so you can show the working if asked.

Employees, overtime and pay rules

This tool adds up time; it does not apply overtime, minimum wage or break rules, which depend on where you work and your contract. For billing a client by the hour, our guide to invoicing for hours worked covers what the invoice should show.

General information, not tax or legal advice. Rules vary by place and change; check the current official guidance.

Billing hours in Charming

In Charming Invoices a line item has a quantity to 3 decimals, an optional unit such as hr and a unit price to 4 decimals, and the line total and invoice total calculate as you type, rounded to the cent. Press Create this invoice above to start an invoice with these hours and your rate on one line, then issue it, download the PDF and send it however you like.

The catch: Charming does not track time or import timesheets. You add the hours yourself, one line per job or per week, and it does not work out overtime or pay rules.

Questions

How do I calculate hours worked?
Subtract the start time from the end time for each day, take off any unpaid break, and add the days together. 09:00 to 17:30 with a 30-minute break is 8 hours. Work in minutes to avoid mistakes, then divide by 60 for decimal hours: 2,400 minutes is 40 hours.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add them to the hours. 7 hours 30 minutes is 7.5 hours; 7 hours 20 minutes is 7.33 hours, because 20 ÷ 60 is 0.333. Invoices and timesheet software usually need decimal hours, so the calculator shows both side by side.
How are shifts that go past midnight counted?
When the end time is earlier than the start time, the calculator assumes the shift ended the next day and adds 24 hours to the end. 22:00 to 06:30 is therefore 8 hours 30 minutes before any break, and the day is marked as ending after midnight. Times without am or pm use the 24-hour clock, so 9 to 5 is read as 09:00 to 05:00 overnight; type 17 or 5pm for a day shift. An end time equal to the start time is flagged as a mistake rather than counted as 24 hours.
Should I round each day or the total?
Either can be fair, but they can differ. Rounding each day to 15 minutes can add up to several minutes a week compared with rounding the total once. Use whatever your contract, client or employer specifies, apply it every time, and keep the unrounded times in case anyone asks.
Is anything I enter saved or sent anywhere?
No, unless you press Create this invoice. The calculation runs in your browser and nothing you type is sent or stored. Pressing the button carries the hours and rate to a new invoice: in the link if you are signed in, or in a cookie that expires after two hours if you are not.

Turn your hours into an invoice

Add your business and your client, put the hours and rate on a line, and download a clean PDF invoice, on the free plan.