Work out hours and working time
Enter when you started and when you stopped, then take off the break. The calculator gives you the time worked in hours and minutes and as decimal hours - the figure a timesheet or an invoice asks for. Add rows to total up a week; a shift running past midnight is recognised on its own.
- Free
- No sign-up
- Runs in your browser
- Nothing is transmitted
Did this help you? Buy me a coffee
Common questions
- Why is 7:45 not 7.45 hours?
- Because a clock counts in sixties and a timesheet in hundredths. 45 minutes are three quarters of an hour, so 0.75 - which makes 7:45 equal to 7.75 hours. Writing 7.45 gives away 18 minutes a day. The calculator shows both notations side by side so the mistake cannot happen.
- How do I work out a night shift past midnight?
- Just type it in: 22:30 to 6:15. If the end time is not after the start time, the span is read as a shift running past midnight and comes to 7:45 hours. The row is marked "past midnight" so you can see it was understood correctly. This is exactly where spreadsheets usually return a negative number.
- Does the break count as working time?
- No, which is why it is deducted. German law (section 4 of the Working Hours Act) requires at least 30 minutes of break beyond six hours of work and 45 minutes beyond nine. This calculator does not check that and does not nag - it subtracts what you enter. What applies to you is in your contract; none of this is legal advice.
- Why does my spreadsheet say 0.99 hours where this says 1.00?
- Because it adds up rounded figures. 20 minutes are 0.333… hours, shown as 0.33; three such rows add up to 0.99 instead of exactly one hour. This calculator therefore totals whole minutes and rounds once, at the end. Over a month of timesheets the difference easily reaches a quarter of an hour.
- Do I have to type the times?
- No. Each field has a clock button next to it that opens two lists: hours from 0 to 23 on the left, all sixty minutes on the right. Both scroll, and on opening they already sit on the time in the field – one click per list, odd minutes such as 8:17 included. Typing is quicker on a number pad and still works: "8:15", "08.15", "8" or "0815", and leaving the field turns that into 08:15. The break is always a number of minutes: 45 means 45 minutes, 1:30 means 90. When converting, the comma counts as a decimal separator - 7.75 is seven hours and 45 minutes.
- Does daylight saving time matter?
- Not for the calculator: it works with the times you type, not with timestamps. That is deliberate, because a timesheet records what the clock said. In reality a shift across the March changeover is an hour shorter and across the October one an hour longer - those two nights a year you have to correct by hand.
- Are my times stored or sent anywhere?
- No. Everything is worked out in your browser, no request goes to a server, and the table is not saved - reload the page and it is empty. If you want to keep the figures, copy them out before you leave.
Why this calculator works in whole minutes
Hours as decimal numbers are treacherous for a computer. 0.1 plus 0.2 comes to 0.30000000000000004 on every machine, because decimal fractions have no exact binary representation. On a single row nobody notices; over a month of timesheets the error adds up.
So this tool works in whole minutes throughout: a time of day is the number of minutes since midnight, a duration is the difference between two such numbers. Adding, subtracting and totalling happen in integers only. The conversion to decimal hours happens once, for display - never to carry on calculating with.
The same goes for timestamps: a time here is a reading on a clock, not a point on the world's timeline. That is why there are no time-zone and no daylight-saving traps, and why the same entry gives the same answer on a plane as it does at home.
What this calculator deliberately leaves out
No time-zone conversion. "14:00 in New York" needs maintained zone data that changes every year; that would be a tool of its own, not a side feature.
No public holidays and no working days. In Germany they depend on the federal state - Corpus Christi is a holiday in Bavaria and a working day in Berlin - and a list that needs yearly maintenance is precisely the kind of quiet error source that does not belong here.
No rounding rules and no pay. Some employers round to quarter hours, others to five minutes, some only in their own favour. This calculator does not know which applies to you; it shows the time that actually lies between your entries. Turning hours into pay would mean knowing tax brackets and premiums - a liability a free tool cannot carry.
Related tools
All tools of this kind: Everyday tools