Everyday

Hours calculator (time card)

An hours calculator works out how long you worked between a start time and an end time, subtracts unpaid breaks, and gives the result in hours and minutes and in decimal hours for payroll. Add an hourly rate to see your pay for the day and for a week of identical shifts.

min
$

Runs in your browser. Nothing you type is sent to us.

Hours worked

8h 00m

8 h

Decimal hours
8
Total minutes
480
Total for 5 days
40h 00m (40 h)
Pay per day
$160.00
Pay for 5 days
$800.00

Key facts

  • Hours worked = end time − start time − unpaid break.
  • 9:00 AM to 5:30 PM with a 30-minute break is 8 hours (8.00 decimal hours).
  • Decimal hours = hours + minutes ÷ 60. So 7 hours 45 minutes = 7.75 hours.
  • Overnight shifts are handled automatically: 10:00 PM to 6:30 AM with a 30-minute break is 8 hours.

How to use the hours calculator

  1. Enter your start time and end time.
  2. Enter your unpaid break in minutes (lunch, for example).
  3. Optionally enter your hourly rate and the number of days with the same hours.
  4. Read your hours worked, decimal hours, total minutes, the total for all days and your pay.

If the end time is earlier than the start time, the calculator treats it as an overnight shift that ends the next day.

Formulas for work hours

Minutes worked = (end − start) − breakDecimal hours = minutes worked ÷ 60Pay = decimal hours × hourly rate

Step-by-step examples: work hours

Example 1: a standard day

9:00 AM to 5:30 PM is 8 hours 30 minutes. Subtract a 30-minute lunch: 8 hours. Five such days make 40 hours; at $20 an hour, that is $160 a day and $800 a week.

Example 2: an overnight shift

10:00 PM to 6:30 AM is 8 hours 30 minutes. With a 30-minute break: 8 hours.

Example 3: a weekly time card

DayStartEndBreakHours
Monday8:3017:1545 min8.00
Tuesday8:3016:4545 min7.50
Wednesday9:0018:0060 min8.00
Thursday8:3017:1545 min8.00
Friday8:3014:3030 min5.50
Total37.00

Minutes to decimal hours

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

A common mistake is writing 7 hours 30 minutes as 7.30 instead of 7.50, which underpays by 12 minutes.

Overtime

Under the US Fair Labor Standards Act, non-exempt employees must be paid at least 1.5 times their regular rate for hours over 40 in a workweek. Some US states, such as California, also require daily overtime after 8 hours. In the EU, the Working Time Directive limits average working time to 48 hours a week, including overtime. Check the rules that apply to your job.

Example: 45 hours at $20 with time-and-a-half after 40 is 40 × $20 + 5 × $30 = $950.

Rounding rules

Many payroll systems round clock times to the nearest 5, 6 (one tenth of an hour) or 15 minutes. In the US, rounding is allowed if it averages out fairly over time and does not consistently favour the employer.

Pitfalls with work hours

  • Forgetting unpaid breaks, or deducting paid ones.
  • Writing minutes as decimals (7:30 is 7.5 hours, not 7.3).
  • Mixing 12-hour and 24-hour times. 2:00 means 2 AM in 24-hour time; use 14:00 for 2 PM.

Hours, timesheets and the law

Counting hours accurately matters most at work. The US Fair Labor Standards Act requires employers to keep records of hours worked for non-exempt employees, and the Department of Labor allows rounding to the nearest 5, 6 or 15 minutes only if it averages out fairly over time. Federal law does not require meal breaks, but many states do: California, for example, requires a 30-minute meal break for shifts over 5 hours, and breaks of 20 minutes or less must generally be paid under federal rules.

Payroll often uses decimal hours: 7 hours 45 minutes is 7.75 hours, not 7.45, which is a common payroll mistake this calculator avoids by showing both formats. Shifts that cross midnight are handled by adding 24 hours. The 24-hour clock used here, standard in ISO 8601 and in military and medical settings, avoids the a.m./p.m. mix-ups that cause scheduling errors. In Europe, the Working Time Directive limits average weekly hours to 48. The same clock arithmetic tells you how much sleep you get between bedtime and an alarm. To turn hours into pay, use the overtime calculator; for yearly salary from an hourly rate, the hourly to salary calculator; and for days between dates, the date calculator.

Related: salary calculator and date calculator.

How this calculator works

  • Duration = end time − start time; if the end is earlier, the shift is assumed to cross midnight and 24 hours are added.
  • An unpaid break in minutes is subtracted from the total.
  • Results are shown as hours and minutes and as decimal hours (minutes ÷ 60).
  • If you enter an hourly rate, pay for the shift is shown. Dates and daylight saving changes are not considered.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid breaks. 8:00 to 16:30 with a 30-minute break is 8 hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes = 0.75 hours, so 6 hours 45 minutes = 6.75 hours.

How many hours is 9 to 5?

8 hours, or 7.5 hours if you take an unpaid 30-minute lunch.

How do I calculate an overnight shift?

Add 24 hours to the end time if it is earlier than the start time. 22:00 to 06:00 is 8 hours. The calculator does this automatically.

How much is 7.5 hours at $15 an hour?

7.5 × $15 = $112.50.

What is 8 hours 20 minutes in decimal?

8.33 hours, because 20 ÷ 60 = 0.33.

When does overtime start?

In the US, after 40 hours in a workweek for non-exempt employees, at 1.5 times the regular rate. Some states add daily overtime. Rules differ in other countries.

Are lunch breaks paid?

It depends on the employer and local law. Short rest breaks are often paid; meal breaks of 30 minutes or more where you are fully relieved of duty are often unpaid.

Sources

  1. U.S. Department of Labor, Overtime pay
  2. European Commission, Working Time Directive

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Hours calculator (time card)." calcroster.com/hours-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.