Free Work Hours Calculator

Calculate hours worked in seconds. Enter when you started, when you finished and how long your break was. You'll get your net work time in hours and minutes and in decimal hours, even for night shifts that run past midnight.

Enter your shift

Leave blank or 0 if you had no unpaid break.

Other free tools

Keep going: these work together with the tool above.

How to use the work hours calculator

This hours calculator answers one simple question: how long did I actually work? It takes the time you started, the time you finished and any unpaid break, and gives you your net working time in two formats: hours and minutes (for example 7:45) and decimal hours (7.75), the format most payroll systems use.

Step 1: Choose 12-hour or 24-hour time

Pick the clock format you are used to. In 12-hour mode you type a time such as 8:30 and choose AM or PM next to it. You can also type 8:30p or 8:30 pm directly. In 24-hour mode (military time) you type 08:30 or 20:30. If you switch formats after typing, your times are converted automatically.

Step 2: Enter your start and end times

Type the time you clocked in and the time you clocked out. Short forms work too: 8 means 8:00, and 830 means 8:30. If your shift ends after midnight, simply enter the real end time (for example 6:30 AM). The calculator understands that the shift ended the next day.

Step 3: Enter your unpaid break

Type the length of any break you are not paid for, usually a meal break. Choose minutes or hours in the menu next to the field: a one-hour lunch can be entered as 60 minutes or 1 hour. Leave it empty if you had no unpaid break.

Step 4: Read your results

Press Calculate. You will see three numbers:

  • Total time: everything from start to end, breaks included.
  • Break: the unpaid time that was subtracted.
  • Net hours worked: the time you are normally paid for, in hours:minutes and in decimal hours.

If you change any value afterwards, the results update instantly. The button Calculate pay for these hours sends your decimal hours straight to the Pay Calculator, so you can see what the shift is worth.

How to calculate work hours by hand

You don't need a calculator to check your hours, but it helps to know the method so you can spot errors on a pay stub. The whole calculation fits in one line:

Net hours worked = (End time − Start time) − Unpaid break

1. Convert both times to the 24-hour clock

Subtracting is much easier with a 24-hour clock. For PM times from 1:00 PM to 11:59 PM, add 12 to the hour: 5:00 PM becomes 17:00, and 9:45 PM becomes 21:45. AM times stay the same, with two special cases: 12:xx AM (just after midnight) becomes 00:xx, and 12:xx PM (just after noon) stays 12:xx.

2. Subtract the start time from the end time

Subtract hours from hours and minutes from minutes. If the end minutes are smaller than the start minutes, "borrow" one hour: take 1 from the hours and add 60 to the minutes.

Example: start 8:45, end 17:15. The minutes don't subtract cleanly (15 − 45 is negative), so borrow an hour: 16 hours 75 minutes − 8 hours 45 minutes = 8 hours 30 minutes.

3. Subtract the unpaid break

Take away only the time you were not paid for. With a 30-minute lunch, 8 hours 30 minutes becomes 8 hours.

4. Convert to decimal hours if you need pay

Divide the minutes by 60 and add them to the hours: 8 hours 15 minutes = 8 + 15 ÷ 60 = 8.25 hours. Multiply decimal hours by your hourly rate to get gross pay. Never multiply the "clock" number (8:15) directly, because 8:15 is not 8.15 hours.

Several shifts in one day

If you work a split shift (for example 7:00 to 11:00, then 17:00 to 21:00), calculate each part separately and add them: 4:00 + 4:00 = 8:00 hours. You can run each part through the calculator and add the decimal results.

Worked examples

These are the questions people most often ask about their shifts. Every result below was produced with the same method the calculator uses.

ShiftUnpaid breakNet hoursDecimal
8:00 AM to 5:00 PM1 hour8:008.00
9:00 AM to 5:30 PM30 min8:008.00
7:00 AM to 3:00 PMnone8:008.00
8:15 AM to 4:45 PM45 min7:457.75
6:45 AM to 3:20 PM40 min7:557.92
10:00 PM to 6:00 AM30 min7:307.50
11:30 PM to 7:15 AM30 min7:157.25

How many hours is 8 AM to 5 PM with a 1-hour lunch? From 8:00 to 17:00 is 9 hours. Subtract the 1-hour unpaid lunch: you worked 8 hours (8.00 decimal hours). At $20 an hour, that is $160 of gross pay for the day.

Overnight and night shifts

Night shifts confuse many calculators because the end time looks "smaller" than the start time. The rule is simple: if the end time is earlier than the start time, the shift ended the next day, so add 24 hours to the end time before subtracting.

Example: 10:00 PM (22:00) to 6:00 AM (06:00). Add 24 hours to the end: 30:00. Then 30:00 − 22:00 = 8 hours. With a 30-minute unpaid break, the net time is 7 hours 30 minutes (7.50).

The WorkHours calculator does this automatically and labels the result as an Overnight shift, so nurses, security guards, warehouse and factory workers, drivers and hospitality staff get correct totals without extra steps. Breaks taken during a night shift are subtracted exactly like daytime breaks.

One practical tip: when you write the shift on a timesheet, record it on the day it started. A shift from Monday 10 PM to Tuesday 6 AM normally belongs to Monday. This matters when weekly hours are added up for overtime.

Decimal hours explained

A clock counts time in base 60 (60 minutes in an hour), but money is counted in base 10. To multiply time by an hourly rate, payroll systems convert minutes into a fraction of an hour. That fraction is called decimal hours: 30 minutes is half an hour, so it is 0.50; 15 minutes is a quarter of an hour, so it is 0.25.

Decimal hours = Hours + (Minutes ÷ 60)

MinutesDecimalMinutesDecimal
5 min0.0835 min0.58
10 min0.1740 min0.67
15 min0.2545 min0.75
20 min0.3350 min0.83
25 min0.4255 min0.92
30 min0.5060 min1.00

The most common payroll mistake is writing 7 hours 30 minutes as "7.30". The correct decimal value is 7.50. At $20 an hour, that small mistake costs $4 on a single shift and about $1,000 over a year of daily shifts. To go the other way, multiply the decimal part by 60: 8.65 hours = 8 hours and 0.65 × 60 = 39 minutes.

Paid vs. unpaid breaks

Only unpaid breaks should be subtracted. Under U.S. federal rules, short rest breaks (usually 5 to 20 minutes) are generally counted as paid work time, while a real meal period (typically 30 minutes or more) during which you are completely relieved of duty is generally unpaid. If you have to keep working during lunch, for example answering the phone at your desk, that time is usually work time.

Rules differ between countries, states and employers. Some employers pay all breaks, some contracts define specific break lengths, and some states require meal breaks after a certain number of hours. When in doubt, check your contract or ask your payroll team, then enter only the time that is actually unpaid.

How many hours per week, month and year?

Once you know your daily hours, you can estimate longer periods. A year has 52 weeks, so an average month has 52 ÷ 12 = 4.33 weeks, not 4. That is why a 40-hour week equals about 173 hours a month, not 160.

Hours per weekHours per month (average)Hours per year
20 (part-time)86.671,040
301301,560
35151.671,820
37.5162.51,950
40 (full-time)173.332,080
451952,340
50216.672,600

These figures assume you work every week of the year. If you take unpaid weeks off, multiply your weekly hours by the number of weeks you actually work. The pay-rate converter lets you set your own hours per day, days per week and weeks per year.

Time cards, timesheets and this calculator

A time card records when you clock in and out each day. A timesheet adds those days up for a week or pay period. This calculator does the hardest part of both: the exact time between two clock times, minus breaks, including shifts that cross midnight.

To check a weekly timesheet, calculate each day, write down the decimal result, and add the seven numbers. Compare the total with the hours on your pay stub. If they differ, look for rounding rules (some employers round punches to 5, 6 or 15 minutes), missing days or breaks that were deducted twice.

Common mistakes to avoid

  • Treating minutes as decimals (7:30 written as 7.30 instead of 7.50).
  • Forgetting the AM/PM switch: 5:00 entered as AM instead of PM gives a wrong overnight shift.
  • Subtracting paid breaks, which lowers your hours for nothing.
  • Rounding every day instead of adding exact minutes for the week and converting once at the end.
  • Mixing two weeks when adding hours, which can hide overtime.

Next step: turn your hours into money with the Pay Calculator, then plan where that money goes with the Salary Breakdown tool.

Frequently asked questions

How do I calculate hours worked for an overnight shift?

Just enter the real start and end times, such as 10:00 PM and 6:30 AM. Because the end time is earlier than the start time, the calculator knows the shift ended the next day and returns 8 hours 30 minutes.

How do I enter a 1-hour break?

Type 1 and choose hours from the menu next to the break field, or type 60 and keep minutes selected. Both give the same result.

What's the difference between total time and net hours?

Total time is everything from your start time to your end time. Net hours worked is total time minus your unpaid break, which is the time you are normally paid for.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 45 minutes is 0.75 hours, so 7 hours 45 minutes is 7.75 decimal hours. The calculator shows both formats.

How many hours is 8 AM to 5 PM with a 1-hour lunch?

8 hours. From 8:00 AM to 5:00 PM is 9 hours; subtracting the 1-hour unpaid lunch leaves 8 hours, or 8.00 decimal hours.

How do I subtract a 30-minute lunch break?

Enter 30 in the break field with minutes selected (or 0.5 with hours selected). The calculator subtracts it from the time between your start and end times. Only subtract breaks you are not paid for.

How many working hours are in a month?

With a 40-hour week, about 173.33 hours: 40 hours × 52 weeks ÷ 12 months. With 35 hours a week it is about 151.67 hours. A month is 4.33 weeks on average, not exactly 4.

Can I calculate several shifts in one day?

Yes. Calculate each shift separately (for example 7:00–11:00 and 17:00–21:00) and add the decimal results: 4.00 + 4.00 = 8.00 hours.

What is the difference between a time card and a work hours calculator?

A time card records your clock-in and clock-out times; a work hours calculator turns those times into the hours you actually worked, minus unpaid breaks. Use it to check each day of your time card or timesheet.