A time card calculator for the workweek
This hours calculator works like a paper time card or a simple timesheet. For every day you enter the clock-in time, the clock-out time and the unpaid break or lunch. It works out the hours of each shift, the weekly total in hours and minutes, and the same total in decimal hours, which is the number payroll needs.
Need the length of a single stretch of time instead of a weekly timesheet? The Time Duration Calculator works out the time between two clock times or dates.
Night shifts are handled for you. If the end time is earlier than the start time, the shift runs past midnight, so 10:00 PM to 6:00 AM is 8 hours and not a negative number. Add your hourly rate and the calculator splits the week into regular hours and overtime and shows your gross pay.
How the hours are counted
Example: a week of 45 hours at $20 an hour. The first 40 hours pay $800, the 5 overtime hours pay $30 each, $150 in total. Gross pay for the week is $950.
Converting minutes to decimal hours
Time cards show hours and minutes, payroll uses decimals. To convert, divide the minutes by 60, or use the time unit converter. Here are the common values, rounded to two decimals:
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
So 7 hours 45 minutes is 7.75 hours, and 6 hours 20 minutes is 6.33 hours. The calculator works with the exact minutes and only rounds the final number for display, so small rounding steps never add up over a week.
Rounding to the quarter hour
Federal rules (29 CFR 785.48) let employers round clock times to the nearest 5 minutes, tenth of an hour or quarter hour, as long as it evens out over time and does not leave employees underpaid for the time they actually worked. Rounding to the nearest quarter hour means that 1 to 7 minutes past the quarter round down and 8 to 14 minutes round up. If your employer rounds, enter the rounded times so your total matches your paycheck.
Overtime rules
The federal Fair Labor Standards Act requires at least 1.5 times the regular rate for every hour over 40 in a workweek for nonexempt employees. A workweek is any fixed run of seven days, so it does not have to start on Monday. Some states go further. California, for example, also requires overtime after 8 hours in a single day and double time in some cases. This calculator applies only the weekly 40-hour rule, so check your state's rules if you work long days.
Hours for a biweekly pay period
If you are paid every two weeks, switch the time card to two weeks. You get a table for each week, a total for each week and a total for the pay period. Overtime is still worked out for each week on its own, because federal rules (29 CFR 778.104) take a single workweek as the standard and do not allow averaging hours over two or more weeks, also when you are paid biweekly.
Example at $20 an hour: 45 hours in week 1 and 35 hours in week 2. Week 1 pays $800 for 40 regular hours plus $150 for 5 overtime hours, $950 in total. Week 2 pays $700. The pay period comes to $1,650, not the $1,600 that 80 hours at the regular rate would give.
How to use the hours calculator
- 1Enter the start and end time for each day you worked. Leave days off empty. For a split shift, enter the first start and the last end time and put the unpaid gap in the break field.
- 2Type the unpaid break or lunch in minutes. Paid breaks stay in, so leave the field at 0 for those.
- 3Add your hourly rate to see regular hours, overtime and gross pay. Switch to two weeks for a biweekly pay period. Copy the time card as text, download it as a CSV for a spreadsheet, or copy a link that keeps all your rows.
Guides on this topic
- Exempt vs Non-Exempt Employees: Who Gets Overtime
- How Many Working Hours Are in a Year? The 2026 Count
- How Many Hours to Study per Credit Hour in College
- Is Holiday Pay Required? What the FLSA Does and Doesn't Say
- Time Clock Rounding Rules: 5, 6 and 15 Minutes
- Meal and Rest Break Laws by State: What Is Required
- Final Paycheck Laws by State: When Your Last Check Is Due
- How to Calculate PTO Accrual: Formulas and Tables
- FLSA Recordkeeping: What Employers Must Keep
Frequently asked questions
How do I calculate hours worked?
Subtract the clock-in time from the clock-out time and take off any unpaid break. From 9:00 AM to 5:30 PM is 8 hours 30 minutes, minus a 30-minute lunch leaves 8 hours. Do that for every day and add the days up for the weekly total.
How do I convert minutes to decimal hours?
Divide the minutes by 60. 45 minutes is 45 ÷ 60 = 0.75 hours, so 7 hours 45 minutes is 7.75 hours. Payroll uses decimal hours because you can multiply them by the hourly rate directly: 7.75 × $20 = $155.
How does the calculator handle a night shift past midnight?
When the end time is earlier than the start time, the shift is counted into the next day. 10:00 PM to 6:00 AM is 8 hours. The whole shift is counted on the row where it starts.
How is overtime calculated?
Under the federal Fair Labor Standards Act, nonexempt employees get at least 1.5 times their regular rate for hours over 40 in a workweek. 45 hours at $20 is 40 × $20 plus 5 × $30, which is $950. Some states add their own rules: California, for example, also pays overtime after 8 hours in a day. This calculator only applies the weekly rule.
How is overtime counted for a biweekly pay period?
Week by week. Federal rules (29 CFR 778.104) do not allow averaging hours over two weeks, so 45 hours in one week and 35 in the next still give 5 overtime hours, even though the two weeks add up to 80. Switch the calculator to two weeks to see each week, its overtime and the total for the pay period.
Is the gross pay what I take home?
No. Gross pay is the amount before federal and state income tax, Social Security, Medicare and other deductions like health insurance or retirement contributions. Your paycheck will be lower than the figure shown here.