Hours Calculator

This hours calculator adds up your time card: enter start and end times and breaks to get total hours, decimal hours, overtime and pay.

Time card

0:00 h this week

  1. –
  2. –
  3. –
  4. –
  5. –

Pay and overtime

Pay period

Overtime is worked out for each week on its own. Leave a limit blank to switch it off.

Name and dates for the printout

Total 0:00 0.00 h

Totals

Total hours
0:00
0.00 decimal hours
Regular
0:00
0.00
Overtime
0:00
0.00
Days worked
0
 

Enter an hourly rate under Pay and overtime to see your pay.

Your rows and settings are saved in this browser only. Nothing is uploaded.

Why use this hours calculator?

Adding up a time card by hand means converting to 24-hour time, borrowing hours, subtracting lunch and turning minutes into decimals, and one slip changes a paycheck. This time card calculator does it row by row as you type: it handles overnight shifts, split shifts and unpaid breaks, totals the week in hours and minutes and in decimal hours, separates regular time from overtime, and works out pay at your hourly rate. Rows are saved on this device, and you can download a CSV or print a time card with signature lines. To add or subtract other durations, use the time calculator.

How to use it

  1. Enter each day's start and end time. A shift that ends after midnight is counted into the next day automatically.
  2. Type any unpaid break in minutes, such as 30 for a half-hour lunch.
  3. Use Add a day or shift for weekends or a second shift on the same day.
  4. Under Pay and overtime, enter your hourly rate and check the overtime rule, then copy, download or print the result.

How to calculate hours worked

  1. Write both times in 24-hour form. 9:00 AM stays 9:00; 5:00 PM becomes 17:00.
  2. Subtract the start from the end. 17:00 − 9:00 = 8 hours. If the minutes of the end time are smaller, borrow an hour: 17:10 − 8:45 is 16:70 − 8:45 = 8:25.
  3. Take off unpaid breaks. 8 hours minus a 30-minute lunch is 7:30.
  4. Add up the days and carry every 60 minutes into an hour.
  5. Convert to decimal hours for payroll by dividing the minutes by 60.

That's exactly what each row of the calculator does as you type, and the totals update with every change.

Minutes to decimal hours

Payroll systems and spreadsheets need hours as a decimal: divide the minutes by 60. Here are the conversions you'll use most, so 7 hours 45 minutes is 7.75 hours and 38 hours 20 minutes is 38.33 hours:

Minutes converted to decimal hours
MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Decimals round, but your pay shouldn't. 7 hours 50 minutes is 7.8333 hours, shown as 7.83; at $20 an hour that's $156.67, while 7.83 × $20 would give $156.60. The calculator always prices the exact minutes.

Overnight and 24-hour shifts

When a shift ends after midnight, add 24 hours to the end time before subtracting. A night shift from 10:00 PM to 6:30 AM runs from 22:00 to 30:30: 8 hours 30 minutes, or 8:00 after a 30-minute break. You don't have to do anything special in the calculator: an end time earlier than the start is counted as the next morning and marked +1 day, and the hours are credited to the day the shift began. If the start and end times are the same, it counts a full 24-hour shift, as firefighters and on-call staff often work.

Overtime: federal law, California and two-week pay periods

The US Fair Labor Standards Act requires at least one and a half times the regular rate for every hour a non-exempt employee works over 40 in a workweek, a fixed, recurring period of seven consecutive 24-hour days that your employer sets. Federal law has no daily overtime, but several states add their own rules. California, the best known, pays 1.5 times for hours over 8 in a workday and over 40 in a week, and double time for hours over 12 in a workday (plus special rules for the seventh consecutive day, which the calculator doesn't apply automatically).

  • Hours are never paid as overtime twice. Daily overtime and double time come off each day first; weekly overtime then applies only to the regular hours left over 40.
  • Split shifts add up. Two rows on the same day count as one day for daily overtime: 6 hours in the morning and 4 in the evening is 10 hours, so 2 hours of overtime under an 8-hour daily rule.
  • Each week stands alone. Overtime can't be averaged across a two-week pay period: 45:00 hours one week and 35:00 the next is 5:00 hours of overtime, not zero. Choose 2 weeks and the calculator applies the limit to each week separately.
  • Not everyone gets overtime. Many salaried executive, administrative and professional employees are exempt. Check your state labor department for the rules that apply to you.

Paid and unpaid breaks

US Department of Labor rules treat short rest breaks, from about 5 to 20 minutes, as hours worked that must be paid. A bona fide meal period, ordinarily 30 minutes or more during which you're completely relieved of duty, doesn't have to be paid. Federal law doesn't require employers to give breaks at all, but many states require meal and rest breaks. Because the calculator subtracts whatever you enter in theBreak column, enter only the unpaid time.

Time clock rounding and the 7-minute rule

Federal rules allow employers to round clock-in and clock-out times to the nearest 5 minutes, tenth of an hour (6 minutes) or quarter hour, provided the rounding evens out so employees are paid for all the time they work over time. Quarter-hour rounding is often called the 7-minute rule, because 7 minutes past rounds down and 8 rounds up:

Rounding clock punches to the nearest quarter hour
Clocked atCounts as
8:00 to 8:078:00
8:08 to 8:228:15
8:23 to 8:378:30
8:38 to 8:528:45
8:53 to 9:079:00

Pick a rounding rule under Pay and overtime to check a paycheck that uses one; it applies to every start and end time, not to breaks.

Worked example: a 45-hour week

Monday to Friday from 8:00 AM to 5:30 PM with a 30-minute unpaid lunch is 9:00 hours a day and 45:00 hours for the week. Under the federal rule that's 40:00 regular hours and 5:00 hours of overtime. At $20 an hour, regular pay is $800.00, overtime at $30 an hour is $150.00, and the week's gross pay is $950.00.

From an hourly wage to weekly and yearly pay

A full-time year is 2,080 hours (40 hours × 52 weeks), the usual basis for comparing hourly pay with a salary, before tax and without overtime:

Hourly wage converted to weekly and yearly pay
Hourly rate40-hour weekYear (2,080 hours)
$15$600.00$31,200.00
$20$800.00$41,600.00
$25$1,000.00$52,000.00
$30$1,200.00$62,400.00
$40$1,600.00$83,200.00

More time tools

Add or subtract hours and minutes, or count the time between two times or dates, with the time calculator. Track a task live with the stopwatch, work in focused blocks with thePomodoro timer, set a countdown timer for a break, and count working days between dates with the date calculator. Working with a team in other countries? The time zone converter finds hours that suit everyone, and night-shift workers can plan sleep around their shifts with the sleep calculator.

Frequently Asked Questions

How do I calculate hours worked?

Write both times in 24-hour form, subtract the start from the end, then subtract any unpaid breaks. 8:45 AM to 5:15 PM is 8:45 to 17:15, which is 8 hours 30 minutes, and taking off a 30-minute lunch leaves 8 hours. For a shift that ends after midnight, add 24 hours to the end time first. The calculator does this for every row, adds up the week and shows the total both in hours and minutes and in decimal hours.

How do I convert minutes to decimal hours for payroll?

Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes is 0.5, 45 minutes is 0.75 and 50 minutes is 0.83 (50 ÷ 60 = 0.8333), so 7 hours 45 minutes is 7.75 hours. Payroll systems and spreadsheets multiply decimal hours by the hourly rate, which is why time cards show them. This calculator works out pay from the exact minutes, so rounding the decimal to two places never costs you a cent.

How many hours is 9 to 5?

8 hours. With an unpaid 30-minute lunch it's 7.5 hours of paid work, and with an hour's lunch 7 hours. Five days of 9 to 5 with a 30-minute lunch add up to 37.5 hours a week, and with no unpaid break, 40 hours.

How do I calculate hours for an overnight shift?

Add 24 hours to the end time before you subtract. A shift from 10:00 PM to 6:30 AM runs from 22:00 to 30:30, which is 8 hours 30 minutes, or 8 hours after a 30-minute break. In the calculator you just enter the times: an end time earlier than the start counts as the next morning and is marked +1 day, and the same start and end time counts as a full 24-hour shift. The hours go to the day the shift started.

How is overtime calculated?

Under the US Fair Labor Standards Act, non-exempt employees must be paid at least 1.5 times their regular rate for every hour over 40 in a workweek. Federal law sets no daily limit, but some states do: California pays 1.5 times after 8 hours in a workday and double after 12. Pick a rule under Pay and overtime or enter your own limits and multipliers, and the calculator splits the hours into regular time, overtime and double time and prices each one.

Can overtime be averaged over a two-week pay period?

No. Under federal law each workweek stands on its own, even if you're paid every two weeks, so 45 hours one week and 35 the next earns 5 hours of overtime although the two weeks add up to 80. Switch the calculator to 2 weeks and it applies the overtime limit to each week separately, then adds the weeks together for the pay period.

Are breaks paid or unpaid?

Under US Department of Labor rules, short rest breaks of about 5 to 20 minutes count as hours worked and must be paid, while a genuine meal break, usually 30 minutes or more with you fully relieved of duty, can be unpaid. Federal law doesn't require breaks, but many states require meal or rest breaks. Only enter unpaid break time in the Break column, because that's the time the calculator subtracts from each shift.

What is the 7-minute rule?

It's the usual way of rounding time-clock punches to the nearest quarter hour, which Department of Labor rules allow as long as the rounding evens out over time. 1 to 7 minutes past a quarter hour round down and 8 to 14 minutes round up, so clocking in at 8:07 counts as 8:00 and clocking in at 8:08 counts as 8:15. Choose 15-minute rounding to apply it, or 5- or 6-minute rounding if your employer uses those.

How many work hours are in a year?

2,080 hours for a full-time 40-hour week: 40 hours × 52 weeks. That's the figure used to turn an hourly wage into a yearly salary, so $20 an hour comes to $41,600 a year before tax. If you want the hours actually worked, subtract paid holidays and vacation: ten days off leaves 2,000 hours.

Is my time card saved or uploaded anywhere?

It's saved in this browser on this device, so your rows and settings are still there when you come back, and nothing is uploaded or sent anywhere. Download CSV to keep a copy in Excel or Google Sheets, print a paper time card with signature lines, or use Clear all to start a new week.

Advertisement