keepcalculator

06 Numbers and Powers

Calculator My Work Hours: How to Track Time

Card No. 06·0849 · Updated · Standard formula, shown below

Hours worked 8.00 hours
Hours:Minutes
8:00:00 h:mm
Result
Start time (HH:MM, 24h)
9
You entered
Finish time (HH:MM, 24h)
17.5
You entered
You enter
Start time (HH:MM, 24h), Finish time (HH:MM, 24h), Break (minutes)
You get
Hours worked, Hours:Minutes
Rounding
2 dp · h:mm:ss

Yes, you can calculate your work hours by subtracting your start time from your finish time and then subtracting any unpaid breaks. Enter your start and end times (and break length) into the calculator below, and it will give you your total hours worked in decimal form and as hours:minutes.

Formula

The calculator uses a simple subtraction formula:

Hours Worked = Finish Time − Start Time − (Break / 60)

Where:

  • Start Time and Finish Time are entered as decimal hours (e.g., 9:00 AM = 9.0, 5:30 PM = 17.5). If you enter a time like 9.25, that means 9:15 AM.
  • Break is the total unpaid break time in minutes.
  • The result is in hours (e.g., 7.5 means 7 hours 30 minutes).

For a standard 9-to-5 shift with a 30-minute lunch, the math is: 17.5 − 9.0 − 0.5 = 8.0 hours.

Worked Example

Using the default values from the calculator above (start 9:00, finish 17:30, break 30 minutes):

  1. Convert times to decimal: 9:00 = 9.0, 17:30 = 17.5.
  2. Subtract start from finish: 17.5 − 9.0 = 8.5 hours.
  3. Subtract break in hours: 30 minutes / 60 = 0.5 hours.
  4. Final: 8.5 − 0.5 = 8.0 hours.

The calculator shows 8.00 hours, and the hours:minutes output displays 8:00.

Why You Might Need to Calculate Work Hours

People calculate work hours for many reasons beyond just filling out a timesheet:

  • Hourly employees need to verify their paycheck matches the hours they actually worked.
  • Salaried employees may need to track hours for client billing or project costing.
  • Freelancers and contractors bill by the hour and must accurately log time for each client.
  • Managers use work-hour data to schedule shifts and estimate labor costs.
  • Students or part-timers often have a maximum hour limit per week, so they track to stay within it.

Even if you work a fixed schedule, calculating hours helps you spot discrepancies before payday.

How to Use the Calculator Correctly

To get accurate results, follow these steps:

  1. Enter your start time in 24-hour format. For example, 8:45 AM becomes 8.75 (since 45 minutes is 0.75 of an hour).
  2. Enter your finish time the same way. If you finish at 5:15 PM, that’s 17.25.
  3. Enter your total unpaid break time in minutes. If you take two 15-minute breaks, enter 30.
  4. Read the result. The first output is in decimal hours (e.g., 8.5), which is what most payroll systems use. The second output gives you the same value in hours and minutes (8:30).

Remember that this calculator assumes you work a single shift within one day. If you work overnight (e.g., 10 PM to 6 AM), you’ll need to add 24 to the finish time (so 6 AM becomes 30.0) to get a positive result.

Common Mistakes and How to Avoid Them

Even with a calculator, errors happen. Here are the most frequent pitfalls:

  • Mixing AM/PM with 24-hour time. If you enter 3 for 3 PM, you’ll get a negative result. Always use 0–24 for the day.
  • Forgetting to subtract breaks. Unpaid breaks are not part of your work hours. If you forget, you’ll overestimate your pay.
  • Rounding too early. If you round 8.666… hours to 8.7 before multiplying by your hourly rate, you might lose or gain a few cents. Keep full precision until the final amount.
  • Not accounting for overtime rules. Some jurisdictions require overtime after 8 hours per day or 40 per week. This calculator gives gross hours; you must apply overtime rates separately.

Also, note that this calculator does not handle multiple shifts in one day or split shifts. For those, calculate each segment separately and add them.

Manual Calculation vs. Time Tracking Apps

If you only need to calculate hours occasionally, a simple calculator like this one is sufficient. But if you track hours daily, you might consider:

  • Spreadsheet templates that let you log start/end times and automatically sum weekly hours.
  • Time clock apps that use GPS or geofencing to record when you arrive and leave.
  • Project management tools with built-in timers for client work.

The advantage of a manual calculator is that you control the inputs and understand the math. The disadvantage is that it’s easy to forget to record times. Apps automate that, but they often require a subscription or may have privacy concerns.

What About Overtime and Breaks?

Overtime rules vary widely by country and even by state or province. In the United States, the Fair Labor Standards Act (FLSA) requires overtime pay (1.5 times the regular rate) for hours worked over 40 in a workweek, but it does not mandate daily overtime. Some states, like California, require daily overtime for hours over 8 in a day.

Breaks are also regulated differently. Federal law does not require meal or rest breaks, but many state laws do. For example, California requires a 30-minute meal break for shifts over 5 hours (unless waived) and a 10-minute rest break for every 4 hours worked. These breaks are generally unpaid if you are relieved of duty.

Always check the rules that apply to your location and employment contract. This calculator only gives you the raw hours; you must apply the correct overtime multiplier and break policies.

Frequently Asked Questions

How do I calculate my work hours if I work overnight?

If you work from 10 PM to 6 AM, add 24 to the finish time (so 6 AM becomes 30.0) and subtract the start time (22.0). That gives 8.0 hours. Then subtract any breaks. Alternatively, split the shift into two parts: 10 PM to midnight (2 hours) and midnight to 6 AM (6 hours), then add them.

What is the difference between decimal hours and hours:minutes?

Decimal hours express time as a fraction of an hour, so 7.5 hours means 7 hours and 30 minutes (since 0.5 × 60 = 30). Hours:minutes format shows the same duration as 7:30. Payroll systems often use decimal hours because multiplying by an hourly rate is straightforward: 7.5 × $20 = $150.

Can I use this calculator for weekly hours?

Yes, but you’ll need to calculate each day separately and then add the daily totals. For example, if you work 8 hours Monday through Friday, your weekly total is 40 hours. If you have different shifts each day, enter each day’s times and sum the results.

What if I don’t know my exact start time?

Use your best estimate. If you clock in at 8:57 AM, you can round to 9:00 or enter 8.95 (since 57 minutes = 0.95 hours). For legal accuracy, check your time records or ask your employer. Many time clocks record to the minute, so you can get exact numbers.

Does this calculator include paid breaks?

No, it subtracts the break time you enter. If your breaks are paid, enter 0 for the break. If you have a mix of paid and unpaid breaks, only subtract the unpaid portion.

How do I convert minutes to decimal hours?

Divide the number of minutes by 60. For example, 45 minutes ÷ 60 = 0.75 hours. So 8 hours and 45 minutes becomes 8.75 hours. Conversely, multiply the decimal part by 60 to get minutes: 0.3 × 60 = 18 minutes.

Limitations of This Calculator

This tool assumes a single shift within a 24-hour period, with a constant break. It does not account for:

  • Multiple shifts in one day
  • Split shifts with long unpaid gaps
  • Overtime multipliers
  • Holiday pay or shift differentials
  • Time rounding policies (e.g., rounding to nearest 15 minutes)

For those situations, you’ll need to adjust the inputs or use a more specialized tool. Always double-check your results against your pay stub, especially if you notice discrepancies.

Related

Formula used
in t | Start time (HH:MM, 24h) | - | 9.0 | 0 | 24
in f | Finish time (HH:MM, 24h) | - | 17.5 | 0 | 24
in b | Break (minutes) | min | 30 | 0 | 600
out h | Hours worked | hours | f - t - b/60 | 2
out hm | Hours:Minutes | h:mm | (f - t - b/60) * 60 | 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.

More cards in this drawer

The whole Numbers and Powers drawer →