keepcalculator

06 Numbers and Powers

Hours I Worked Calculator: Track Your Time

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

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator works out the total hours you worked based on your start time, finish time, and any unpaid break. You enter the times and break length, and it returns your total hours and minutes worked, shown as a decimal (e.g., 8.50 hours) and as h:mm (e.g., 8:30). It’s a quick, accurate way to fill in timesheets, check your pay, or just keep track of your week.

Formula

The calculator uses a simple subtraction formula:

Hours worked = (Finish time − Start time) − Break time

Where:

  • Start time and Finish time are in 24-hour format (e.g., 14:30 for 2:30 PM).
  • Break time is the total unpaid break in minutes.

All times are converted to a decimal hour value first. For example, 17:30 becomes 17.5 hours, and 09:00 becomes 9.0 hours. Then the subtraction is done in hours, and the break is subtracted in hours (minutes ÷ 60).

Worked Example

Using the default values:

  • Start time: 09:00
  • Finish time: 17:30
  • Break: 30 minutes

Step 1: Convert to decimal hours:

09:00 = 9.0 hours, 17:30 = 17.5 hours

Step 2: Subtract start from finish:

17.5 − 9.0 = 8.5 hours

Step 3: Subtract the break (30 minutes = 0.5 hours):

8.5 − 0.5 = 8.0 hours

So the result is 8.0 hours (or 8:00 in h:mm). The calculator shows 8:00 as the headline and 8.00 as the decimal.

How to Use the Calculator

Enter your start and finish times in 24-hour format (e.g., 09:00 for 9 AM, 17:30 for 5:30 PM). If you prefer 12-hour times, convert them first: add 12 to any PM hour (except 12 PM itself). For example, 3:45 PM becomes 15:45. Then enter the total minutes of unpaid break you took during the day.

The calculator assumes the finish time is on the same day as the start time. If you work a night shift that crosses midnight (e.g., start 22:00, finish 06:00), the calculator will show a negative value because the finish time is earlier than the start. In that case, add 24 hours to the finish time manually (e.g., 06:00 becomes 30:00) and enter that as the finish time. The calculator will then compute correctly.

Why Use a Work Hours Calculator?

Manually calculating hours can lead to errors, especially when you have breaks, odd start times, or multiple shifts. A calculator like this saves time and reduces mistakes when you need to:

  • Fill out a timesheet or time card
  • Check if your pay stub matches the hours you remember
  • Plan a schedule or budget your time
  • Track hours for freelance or contract work

It’s also useful for employers or managers who need to verify employee hours quickly. The decimal output (e.g., 8.50) is often how payroll systems expect hours to be entered, while the h:mm format is easier for personal records.

Common Mistakes and How to Avoid Them

The most frequent error is mixing 12-hour and 24-hour times. For example, entering 5:00 for 5 PM instead of 17:00 will give a result that’s off by 12 hours. Always double-check that PM times are converted correctly.

Another common mistake is forgetting to subtract breaks. If you take a 45-minute lunch but don’t subtract it, your total will be too high. Always include all unpaid breaks, even short ones.

Also, be careful with rounding. If you round to the nearest quarter-hour (like many timesheets do), you might get a different number than the exact calculation. This calculator gives the exact decimal, so you can round as needed.

Limitations and Considerations

This calculator assumes a single shift on one day. If you work split shifts (e.g., 9-12 and 1-5), you’ll need to add the two results together manually. It also doesn’t handle overtime rules, double-time, or shift differentials—those are usually determined by your employer or local labor laws.

For payroll purposes, always confirm with your employer how they expect hours to be reported (e.g., in tenths of an hour, in quarter-hours, or in minutes). Some companies use a system that rounds to the nearest 6-minute increment (0.1 hour), which can slightly change your total.

If you work a job with variable breaks, such as a retail or healthcare, you might need to track your actual break times each day rather than using a fixed amount. The calculator gives you the exact arithmetic, but you must provide the correct inputs.

Alternatives to a Manual Calculator

If you need to track hours across a whole week or month, a spreadsheet can be useful. You can set up columns for start, finish, break, and total, then use a formula like =(B2-A2)*24-C2/60 (in Excel or Google Sheets) to calculate each day. This allows you to sum a week easily.

There are also time-tracking apps and software that automatically record your start and stop times using a timer. These are handy if you switch tasks often, but they require you to remember to clock in and out. For a simple, one-off calculation, this web calculator is the fastest option.

Frequently Asked Questions

How do I convert 12-hour time to 24-hour time?

For times from 1:00 PM to 11:59 PM, add 12 to the hour. For example, 3:30 PM becomes 15:30. For 12:00 PM (noon), keep it as 12:00. For 12:00 AM (midnight), use 00:00. Morning times (1:00 AM to 11:59 AM) stay the same, but 12:00 AM is 00:00.

What if I work past midnight?

If your shift crosses midnight, add 24 to the finish time. For example, if you start at 10:00 PM (22:00) and finish at 6:00 AM, enter finish time as 30:00. The calculator will then correctly compute 8 hours (30 – 22 = 8).

Should I include paid breaks in my hours worked?

Paid breaks should be included in your total hours because you are being paid for that time. Unpaid breaks should be subtracted. This calculator has a break field for unpaid breaks; if your break is paid, simply leave the break field at 0.

How do I calculate my weekly total from daily hours?

Add the decimal hours for each day. For example, if you worked 8.5, 7.75, and 8.25 hours over three days, the total is 24.5 hours. If your employer uses h:mm, convert each day to decimal first (e.g., 8:30 becomes 8.5) and then sum.

Why does the calculator show a negative number?

A negative result means the finish time is earlier than the start time, which usually indicates a night shift. Use the midnight-crossing method described above by adding 24 to the finish time. Alternatively, check that you entered the times in the correct 24-hour format.

Related

Formula used
in t | Start time (24h) | hh:mm | 09:00 | 0 | 23:59
in f | Finish time (24h) | hh:mm | 17:30 | 0 | 23:59
in b | Unpaid break | min | 30 | 0 | 480
out worked | Hours worked | h:mm | ( ( (f - t) - b/60 ) ) | time
out worked_dec | Hours worked (decimal) | h | ( (f - t) - b/60 ) | 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.

More cards in this drawer

The whole Numbers and Powers drawer →