Free Hours Calculator: Track Time Worked
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This free hours calculator works out the total time spent on a task or shift. You enter the start and end times (and optionally break time), and it returns the elapsed hours and minutes. It also shows the result as a decimal number of hours, which is useful for payroll or billing.
Formula
The calculator converts the start and end times to minutes after midnight, subtracts the break, and divides by 60 to get hours. In symbols:
Hours worked = (End time in minutes − Start time in minutes − Break in minutes) ÷ 60
- Start time – the clock time you began, in 24-hour HH:MM format.
- End time – the clock time you finished, also in HH:MM.
- Break – any unpaid rest period, entered in minutes.
The result is given both as a decimal (e.g., 8.00) and as hours and minutes (e.g., 8:00).
Worked Example
Using the default values: start 09:00, end 17:30, break 30 minutes.
- Convert start: 9 × 60 = 540 minutes.
- Convert end: 17 × 60 + 30 = 1050 minutes.
- Subtract: 1050 − 540 = 510 minutes.
- Subtract break: 510 − 30 = 480 minutes.
- Divide by 60: 480 ÷ 60 = 8.00 hours.
The calculator shows 8.00 hours (or 8:00). This matches the default output.
Why Use a Free Hours Calculator?
Manual time calculation is prone to errors, especially when you deal with multiple shifts, odd break times, or time that crosses noon. A free hours calculator eliminates the arithmetic and gives you a consistent result every time. It is useful for:
- Employees checking their timesheet or pay stub.
- Freelancers tracking billable hours for clients.
- Managers verifying staff attendance.
- Students calculating study time.
Because it is free and runs in your browser, there is no need to install software or worry about cost.
How to Read the Result
The first output is the total hours as a decimal. For example, 7.50 means seven and a half hours. The second output shows the same duration in hours and minutes (7:30). Both are correct; the decimal form is often required for payroll (e.g., 7.50 hours), while the clock form is easier to understand at a glance.
Remember that the calculator uses 24-hour time. If you enter 2:00 PM, you must type 14:00. Many people forget this and get a negative or nonsense result.
Common Mistakes and How to Avoid Them
- Using 12-hour time without conversion – Always convert PM times to 24-hour format (add 12 to the hour).
- Forgetting to include breaks – If you take a 30-minute lunch, subtract it. Otherwise your total will be too high.
- Entering times in different formats – Stick to HH:MM. Do not mix 9:00 and 9.00.
- Crossing midnight – If your shift starts at 22:00 and ends at 06:00, the calculator will give a negative number. You need to add 24 hours to the end time first. This calculator does not handle overnight shifts automatically.
For overnight shifts, manually add 1440 minutes (24 hours) to the end time before entering. For example, 22:00 to 06:00 becomes 22:00 to 30:00 (which is 6:00 the next day).
Limitations of the Formula
The formula assumes a single continuous shift with one break. It does not account for:
- Multiple breaks of different lengths – you can sum them and enter the total.
- Overtime rules or pay rates – the calculator only gives time, not money.
- Time zones or daylight saving changes – it treats all times as local clock times.
- Rounding rules – some employers round to the nearest 15 minutes; this calculator gives exact minutes.
For payroll, check your employer’s rounding policy. The calculator gives the raw duration; you may need to round it manually.
Alternatives to a Free Hours Calculator
If you need more features, consider:
- Spreadsheet formulas – Excel and Google Sheets can subtract times and format the result as hours.
- Time tracking apps – Many free apps let you start and stop a timer and export reports.
- Physical time clock – Some workplaces still use punch cards; the calculator can verify those totals.
However, for a quick, no-sign-up calculation, this free tool is the simplest option.
Frequently Asked Questions
How do I calculate hours worked with a lunch break?
Enter your start time, end time, and the break duration in minutes. The calculator subtracts the break automatically. For example, 9:00 to 5:00 with a 30-minute lunch gives 7.50 hours.
What if I work overnight?
Add 24 hours to the end time. For a shift from 10:00 PM to 6:00 AM, enter start 22:00 and end 30:00 (which represents 6:00 the next day). The calculator will then give the correct 8 hours.
Can I use this for billing clients?
Yes, but note that the calculator only gives the time. You will need to multiply by your hourly rate separately. Also, check if your client requires rounding to the nearest quarter hour.
Why does the calculator show a negative number?
This usually means the end time is earlier than the start time, which happens when you forget to convert PM times or when the shift crosses midnight. Check your inputs and adjust for overnight shifts.
Is this calculator free forever?
Yes, this is a free online tool with no hidden charges. You can use it as many times as you need.
Related
Formula used
in start | Start time (HH:MM) | - | 09:00 | 0 in end | End time (HH:MM) | - | 17:30 | 0 in break | Break (minutes) | min | 30 | 0 out hours | Hours worked | h | ((end/60 - start/60) - break/60) | 2 out hhmm | Hours:Minutes | - | ((end - start - break)) | time
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.