ThisCalculator

Date and time

Calculator for Hours Worked: Free Time Card Tool

Updated · Standard formula, shown below

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.

Calculator for Hours Worked: Free Time Card Tool

This calculator works out your total hours worked from start and end times, with optional break deductions, and returns the result as a decimal number of hours and as hh:mm. You enter the clock-in time, clock-out time, and any unpaid break length, then the calculator gives you the net hours for the day. It is designed for hourly employees, freelancers, and managers who need a quick, accurate time card total without manual arithmetic.

Formula

The core formula converts clock times to minutes past midnight, subtracts the break, then converts back to hours:

Hours worked = (End time in minutes – Start time in minutes – Break in minutes) ÷ 60

  • Start time – the time work begins, in 24-hour or 12-hour format (e.g., 9:00 AM = 09:00).
  • End time – the time work ends, in the same format.
  • Break – total unpaid break time in minutes (e.g., 30 for a half-hour lunch).
  • Hours worked – the net time on the job, expressed as a decimal (e.g., 8.5 for 8 hours 30 minutes).

The calculator assumes both times are on the same day. If the end time is earlier than the start time, it treats the shift as crossing midnight (e.g., 22:00 to 06:00 becomes 8 hours).

Worked Example

Using the default values from the calculator: start at 9:00, end at 17:30, break of 30 minutes.

  1. Convert start time to minutes: 9:00 → 9 × 60 = 540 minutes.
  2. Convert end time to minutes: 17:30 → 17 × 60 + 30 = 1050 minutes.
  3. Subtract start from end: 1050 – 540 = 510 minutes.
  4. Subtract break: 510 – 30 = 480 minutes.
  5. Divide by 60: 480 ÷ 60 = 8.0 hours.

The calculator shows 8.00 hours and 8:00 as the Hours:Minutes output. This matches what you would get with a manual calculation.

When to Use This Calculator

Use this tool whenever you need to convert clock times into billable or payable hours. Common situations include:

  • Filling out a timesheet for an hourly job.
  • Checking a pay stub for accuracy.
  • Tracking freelance work for client invoices.
  • Calculating overtime eligibility (when total hours exceed a threshold).
  • Planning a work schedule to meet a weekly hour target.

For weekly totals, simply add the daily hours together. For example, if you work 8 hours Monday through Friday, the weekly total is 40 hours. The calculator is also useful for shift workers who need to log irregular hours.

How to Read the Result

The primary output is a decimal number of hours. For instance, 7.75 hours means 7 hours and 45 minutes (since 0.75 × 60 = 45). The secondary output, Hours:Minutes, shows the same duration in a format that is easier to enter into some payroll systems. If you see 8.50 hours, that is 8 hours and 30 minutes, not 8 hours and 50 minutes – a common mix-up.

When your shift crosses midnight, the calculator automatically adds 24 hours to the end time. For example, a shift from 23:00 to 07:00 yields 8 hours (with no break). This works because the calculator internally converts times to minutes and handles the rollover.

Common Mistakes and How to Avoid Them

Even with a calculator, errors can creep in. Watch out for these pitfalls:

  • Mixing AM and PM – Always use 24-hour format or be explicit about AM/PM. Entering 2:00 instead of 14:00 for a 2 PM shift will give a negative or wrong result.
  • Forgetting the break – Unpaid breaks are not part of hours worked. If you forget to subtract a 30-minute lunch, you overstate your hours by 0.5.
  • Rounding too early – If you round each day to the nearest quarter-hour, weekly totals can drift. Keep full precision and round only at the end.
  • Treating decimal hours as hh:mm – 7.5 hours is 7 hours 30 minutes, not 7 hours 50 minutes. Use the Hours:Minutes output to avoid confusion.
  • Ignoring overtime rules – Some jurisdictions require overtime after 8 hours in a day or 40 in a week. This calculator gives raw hours; check local labor laws for premium pay.

Limitations of the Formula

This calculator assumes a single continuous shift with one break. It does not handle split shifts (e.g., working 4 hours, taking 2 hours off, then working 4 more) unless you manually combine them. It also does not account for paid breaks, which are typically included in hours worked, or for rounding policies that some employers use (e.g., rounding to the nearest 15 minutes). For those cases, you would need to adjust the inputs manually.

The formula also ignores time zone changes, which are irrelevant for a single location. If you work remotely across time zones, ensure you record times in the same zone for both start and end.

Alternatives to a Manual Calculator

If you need more than a single-day calculation, consider these options:

  • Spreadsheet software – Use a formula like =(B2-A2-C2)*24 to calculate hours from time values in Excel or Google Sheets.
  • Time clock apps – Many apps track start and stop times automatically and generate reports.
  • Payroll software – For employers, integrated systems handle overtime, rounding, and tax calculations.
  • Paper timesheets – Some people prefer manual logs, but they are prone to arithmetic errors.

This calculator is best for quick, one-off calculations without needing to install software or learn spreadsheet formulas.

Frequently Asked Questions

How do I calculate hours worked including lunch break?

Enter the start time, end time, and the break duration in minutes. The calculator subtracts the break automatically. For example, 9:00 to 17:00 with a 30-minute lunch gives 7.5 hours. If your break is unpaid, always subtract it; if it is paid, set break to 0.

What if I work overnight? Does the calculator handle it?

Yes. If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and adds 24 hours to the end time. For instance, 22:00 to 06:00 with no break yields 8 hours. This works for any overnight shift, including 23:00 to 07:00.

How do I convert decimal hours to hours and minutes?

Multiply the decimal part by 60. For example, 7.75 hours → 0.75 × 60 = 45 minutes, so 7 hours 45 minutes. The calculator provides this conversion automatically in the Hours:Minutes output.

Can I use this for weekly totals?

Yes, but you need to calculate each day separately and then add the daily hours. For example, if you work 8.5 hours on Monday, 7.25 on Tuesday, and 8 on Wednesday, the total is 23.75 hours. This calculator is designed for single-day calculations only.

What is the difference between hours worked and billable hours?

Hours worked is the total time you are on the job, including paid breaks. Billable hours are the hours you can charge a client, which may exclude administrative time or unpaid breaks. For freelancers, billable hours often require subtracting time spent on non-client tasks.

Why is my result negative?

A negative result means the end time is earlier than the start time and the calculator did not detect a midnight crossover. Check that you entered the times in the correct order and that you are using 24-hour format. For example, 2:00 PM should be 14:00, not 2:00.

Related

Formula used
in start | Start time (HH:MM) | - | 9:00 | 0
in end | End time (HH:MM) | - | 17:30 | 0
in break | Break (minutes) | min | 30 | 0
out hours | Hours worked | h | (to_min(end) - to_min(start) - break) / 60 | 2
out hhmm | Hours:Minutes | - | floor(hours) + (hours - floor(hours)) * 0.6 | 2

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.