Time card
Hours Calculator
A time card calculator: enter clock-in and clock-out times and unpaid breaks for a shift, a week, or two weeks, and get total hours, decimal hours, overtime, and pay.
Maintained by Austin Witherow · Updated
Total hours
40 hours
- Decimal hours
- 40.00 hours
- Hours:minutes
- 40:00
- Days worked
- 5 of 7
Formula
Day hours = (Clock out − Clock in) − Unpaid break (plus 24 hours if the clock-out is earlier)Decimal hours = Hours + Minutes ÷ 60Gross pay = Regular × Rate + Overtime × 1.5 × Rate + Double time × 2 × Rate
Key caveat
A clock-out earlier than the clock-in counts as the next morning, so a shift is always shorter than 24 hours. Shifts over 16 hours are flagged to check AM and PM.
What this calculator is for
Enter when you clocked in and out each day and how long your unpaid breaks were. The calculator adds up the hours, turns them into decimal hours for payroll, and, if you want, splits out overtime and works out your pay.
It handles overnight shifts, rounding to the nearest 5, 6, or 15 minutes, federal overtime over 40 hours a week, daily overtime, and California's double-time and seventh-day rules. Use One shift for a single day, One week for a weekly time card, or Two weeks for a biweekly pay period.
How it works
Each day's hours are clock-out minus clock-in. If the clock-out is earlier, the shift ends the next morning, so 10:00 p.m. to 6:30 a.m. is 8 hours 30 minutes.
The unpaid break is taken off. Under federal rules, short rest breaks of about 5 to 20 minutes are paid work time, and meal breaks of usually 30 minutes or more, with no duties, are not work time.
If you choose rounding, each clock-in and clock-out is rounded to the nearest 5, 6, or 15 minutes before subtracting. With 15 minutes, 1 to 7 minutes past rounds down and 8 to 14 rounds up.
Hours are added for the week, then shown as hours and minutes (40:00) and as decimal hours (40.00), which is minutes ÷ 60.
Overtime, if chosen, is worked out for each workweek on its own. Hours already counted as daily overtime are not counted again toward the weekly 40, so no hour is paid at two overtime rates.
Gross pay is regular hours × rate, plus overtime hours × 1.5 × rate, plus double time hours × 2 × rate, before taxes and deductions.
How hours split into overtime
Top: under the federal rule, a 45-hour workweek is 40 regular hours and 5 overtime hours at 1.5 times the rate. Bottom: under California's rules, a 13-hour day is 8 regular hours, 4 overtime hours (over 8 up to 12) at 1.5 times, and 1 double-time hour (over 12) at 2 times. Hours already counted as daily overtime are not counted again toward the weekly 40 (29 CFR 778.202; California Labor Code 510(a)).
Quick calculator insights
Common time card mistakes
- Writing 7:45 as 7.45
- 7 hours 45 minutes is 7.75 decimal hours. Divide the minutes by 60.
- Taking off paid breaks
- Federal rules count short rest breaks of 5 to 20 minutes as work time. Take off only unpaid meal breaks.
- Averaging two weeks
- Overtime is per workweek: 45 hours then 35 hours still has 5 overtime hours.
- Overnight shifts
- 10 p.m. to 6 a.m. is 8 hours, not −16. The calculator adds the day for you.
Minutes to decimal hours
Minutes ÷ 60, rounded to two decimals. Time cards often use these.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 6 | 0.10 | 40 | 0.67 |
| 10 | 0.17 | 42 | 0.70 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 48 | 0.80 |
| 25 | 0.42 | 50 | 0.83 |
| 30 | 0.50 | 55 | 0.92 |
Overtime rules this calculator applies
Your employer or state may have other rules; these are the ones built in.
| Rule | 1.5 times the rate | 2 times the rate |
|---|---|---|
| Federal (FLSA) | Hours over 40 in the workweek | None |
| Daily and weekly | Over 8 in a day; regular hours over 40 in the week | None |
| California | Over 8 to 12 in a day; regular hours over 40 in the week; first 8 on the 7th consecutive day | Over 12 in a day; over 8 on the 7th consecutive day |
How to use this calculator
- 01Choose One shift, One week, or Two weeks.
- 02Enter each day's clock-in and clock-out times and the unpaid break in minutes. Leave days off empty.
- 03Tap Copy to every weekday if you work the same hours each day.
- 04Optional: add your hourly pay and an overtime rule.
- 05Read the total in hours and minutes and in decimal hours.
Inputs explained
- Time card
- One shift for a single day, One week for a weekly card, or Two weeks for a biweekly pay period.
- Clock in and clock out
- Type the hour and minute and set AM or PM. A clock-out earlier than the clock-in counts as the next morning.
- Break min
- Unpaid break time in minutes, like 30 for a half-hour lunch. Leave paid breaks out.
- Hourly pay
- Optional. Your pay rate before taxes, to see gross pay.
- Overtime
- How to split out overtime: none, over 40 hours a week (the federal rule), over 8 hours a day as well, or California's rules.
- Round clock times
- Only if your employer rounds time clock punches: to the nearest 5 minutes, 6 minutes (a tenth of an hour), or 15 minutes.
- Week starts on
- The first day of your payroll week. It sets the day names and the seventh day for California.
Outputs explained
- Total hours
- All hours worked, after unpaid breaks, in words.
- Decimal hours
- The same total as a decimal, the way most payroll systems want it: 37:45 is 37.75 hours.
- Hours:minutes
- The total as hours and minutes; hours keep counting past 24.
- Gross pay and pay worked out
- Shown when you add an hourly rate: pay before taxes and deductions, with the hours at each rate.
- Regular, overtime, and double time
- Shown when you choose an overtime rule.
- Each week and days worked
- Totals and overtime for each week of a two-week card, and how many days have hours. Copy result and Print list each day's times and hours.
Worked examples
A standard week
- Monday to Friday, 8:00 a.m. to 4:30 p.m., with a 30-minute unpaid lunch.
- Each day: 8 hours 30 minutes on the clock, minus 30 minutes = 8:00.
- Week: 5 × 8:00 = 40:00, or 40.00 decimal hours.
An overnight shift
- Clock in 10:00 p.m., clock out 6:30 a.m., 30-minute break.
- The clock-out is earlier, so it is the next morning: 2 hours to midnight plus 6 hours 30 minutes = 8:30 on the clock.
- Minus the break: 8:00, or 8.00 hours.
Rounding to the nearest 15 minutes
- Clock in 8:07 a.m., clock out 4:38 p.m., 30-minute lunch.
- 8:07 is 7 minutes past, so it rounds down to 8:00. 4:38 is 8 minutes past 4:30, so it rounds up to 4:45.
- 8:00 a.m. to 4:45 p.m. is 8:45, minus 30 minutes = 8:15, or 8.25 hours.
Overtime over 40 hours, with pay
- Five days of 7:00 a.m. to 4:30 p.m. with a 30-minute lunch: 9:00 a day, 45:00 for the week.
- Federal rule: 40 regular hours and 5 overtime hours.
- At $20 an hour: 40 × $20 = $800, plus 5 × $30 = $150. Gross pay $950.
California: a 13-hour day
- Monday 6:00 a.m. to 7:30 p.m. with a 30-minute break is 13:00; Tuesday to Friday are 8:00 each.
- Monday: 8 regular hours, 4 overtime (over 8 up to 12), and 1 double time (over 12).
- Week: 40 regular, 4 overtime, 1 double time, 45 hours in all. At $20: $800 + $120 + $40 = $960.
Two weeks: 45 hours, then 35
- Week 1 is 45 hours and week 2 is 35 hours: 80 hours in the pay period.
- Each workweek stands alone under federal law, so week 1 still has 5 overtime hours even though the two weeks average 40.
When to use it
- Filling in or checking a weekly or biweekly time card before it goes to payroll.
- Turning hours and minutes into decimal hours for a payroll system.
- Checking a paycheck: hours, overtime, and gross pay before taxes.
- Totaling hours for an invoice or a contract.
- Planning a schedule that stays under 40 hours a week.
Tips
- If you work the same hours every day, fill in one day and tap Copy to every weekday.
- Payroll usually wants decimal hours: use the Decimal hours line, not hours:minutes.
- Check which day your payroll week starts; overtime is counted within that week.
- Keep your own record of the times you clock in and out, so you can check your pay.
Limitations
- A clock-out earlier than the clock-in counts as the next morning, so a shift is always shorter than 24 hours. Shifts over 16 hours are flagged to check AM and PM.
- Overtime follows the rules listed in the table: federal, daily and weekly, or California's standard rules. It does not know your state's other rules, alternative workweek schedules, exemptions, or union contracts.
- Gross pay uses one hourly rate. Bonuses, shift differentials, and tips can change the regular rate for overtime.
- Pay is before taxes and deductions.
- Rounding applies the same rule to every clock-in and clock-out; breaks are not rounded.
Methodology & assumptions
- Federal overtime follows 29 U.S.C. 207(a)(1): 1.5 times the regular rate for hours over 40 in a workweek, each workweek on its own (29 CFR 778.104).
- Daily overtime is not counted again toward the weekly 40: federal rules let daily premiums count toward weekly overtime (29 CFR 778.202), and California Labor Code 510(a) does not require combining more than one overtime rate for any hour.
- California's daily, double-time, and seventh-day rules follow Labor Code 510(a) and the Department of Industrial Relations overtime FAQ. The seventh-day rule applies when all seven days of the workweek have hours.
- Rounding to the nearest 5, 6, or 15 minutes is the practice described in 29 CFR 785.48. A time exactly halfway (3 minutes past with 6-minute rounding) is rounded up by this calculator; the regulation does not say which way.
- Times are counted in whole minutes; decimal hours are rounded to two places for display only, and pay to the cent.
Sources
Last reviewed 2026-10-09
- 29 U.S. Code § 207(a)(1): Maximum hours (Cornell LII)
No covered employee may work a workweek longer than forty hours unless paid at least one and one-half times the regular rate for the hours over forty.
- 29 CFR § 778.101: Maximum nonovertime hours (eCFR)
Section 7(a) of the Fair Labor Standards Act sets 40 hours as the most a covered employee may work in a workweek without overtime pay; hours over that are overtime hours.
- 29 CFR § 778.104: Each workweek stands alone (eCFR)
Hours may not be averaged over two or more weeks: 30 hours one week and 50 the next means overtime for the hours over 40 in the second week, however the employee is paid (weekly, biweekly, or monthly).
- 29 CFR § 778.202: Premium pay for hours in excess of a daily or weekly standard (eCFR)
Overtime premiums paid for hours over 8 in a day (or over 12) may be credited toward the overtime due for hours over 40 in the workweek, so the same hours are not paid as overtime twice.
- 29 CFR § 785.48: Use of time clocks (eCFR)
Recording start and stop times to the nearest 5 minutes, or to the nearest tenth or quarter of an hour, is accepted if over time it does not fail to pay employees for all the time they actually worked.
- 29 CFR § 785.18: Rest (eCFR)
Rest periods of about 5 to 20 minutes are customarily paid as working time and must be counted as hours worked.
- 29 CFR § 785.19: Meal (eCFR)
Bona fide meal periods are not worktime. The employee must be completely relieved from duty; ordinarily 30 minutes or more is long enough. Eating at a desk or machine while required to work is working.
- California Labor Code § 510(a) (California Legislative Information)
1.5 times the regular rate over 8 hours in a workday, over 40 hours in a workweek, and for the first 8 hours on the seventh day of work in a workweek; twice the rate over 12 hours in a day and over 8 hours on the seventh day. Nothing in the section requires combining more than one rate of overtime for any hour. Alternative workweek schedules are excepted.
- California Department of Industrial Relations: Overtime FAQ
Nonexempt employees get 1.5 times the regular rate for hours over 8 up to 12 in a workday, over 40 in a workweek, and the first 8 hours on the seventh consecutive day worked in a workweek; double time over 12 in a workday and over 8 on the seventh consecutive day.
FAQs
How do I calculate my time card?+
For each day, subtract the clock-in time from the clock-out time and take off unpaid breaks. Add the days together, then turn the minutes into decimals by dividing by 60. Monday to Friday, 8:00 a.m. to 4:30 p.m. with a 30-minute lunch, is 8 hours a day and 40 hours a week.
How do I convert hours and minutes to decimal hours?+
Divide the minutes by 60 and add them to the hours. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours. 37 hours 20 minutes is 37.33 hours.
How much is 30 minutes on a time card?+
0.50 hours. 15 minutes is 0.25, 45 minutes is 0.75, and 6 minutes is 0.10.
What is .42 of an hour? What is 0.80 of an hour?+
Multiply by 60: 0.42 hours is about 25 minutes (25.2), and 0.80 hours is 48 minutes. 0.75 hours is 45 minutes.
What is 1.75 hours in hours and minutes?+
1 hour 45 minutes: 0.75 × 60 = 45 minutes.
How many hours is 9 to 5?+
8 hours on the clock. With an unpaid 30-minute lunch, 7 hours 30 minutes (7.5 hours); with an unpaid hour, 7 hours.
How do I calculate hours for an overnight shift?+
Count to midnight, then from midnight to the clock-out. 10:00 p.m. to 6:30 a.m. is 2 hours plus 6 hours 30 minutes, 8:30 in all. The calculator does this when the clock-out is earlier than the clock-in.
Is my lunch break paid?+
Under federal rules, a meal break is not work time, so it does not have to be paid, if you are completely relieved of duty, which ordinarily takes 30 minutes or more. If you have to keep working while you eat, at a desk or a machine, it is work time. Short rest breaks of about 5 to 20 minutes are counted as hours worked. State law can require more.
What is the 7-minute rule?+
Rounding clock punches to the nearest quarter hour: 1 to 7 minutes past rounds down and 8 to 14 rounds up. Federal rules accept rounding to the nearest 5 minutes, tenth, or quarter of an hour if, over time, employees are still paid for all the time they work.
How do I calculate overtime pay?+
Under the federal rule, hours over 40 in a workweek are paid at 1.5 times the regular rate. 45 hours at $20 an hour is 40 × $20 + 5 × $30 = $950. Choose an overtime rule and add your rate to see it.
Do I get overtime for working 80 hours in two weeks?+
Federal overtime is counted for each workweek on its own, not averaged. 45 hours then 35 hours is 80 hours, but the first week still has 5 overtime hours. The Two weeks card works out each week separately.
How does California overtime work?+
For most nonexempt workers: 1.5 times the rate over 8 hours in a day, over 40 in a week, and for the first 8 hours on the seventh consecutive day worked in a workweek; double time over 12 hours in a day and over 8 on that seventh day. Choose California under Overtime.
If I work 40 hours a week, how many hours is that a month?+
About 173.33 hours: 40 × 52 weeks ÷ 12 months. A year is 2,080 hours.
How many hours is 40 hours a week in a day?+
8 hours a day over five days, such as 8:00 a.m. to 4:30 p.m. with an unpaid 30-minute lunch.
Can I use military (24-hour) time?+
The clock fields use a 12-hour clock: subtract 12 from afternoon hours and set PM. 13:30 is 1:30 PM, 18:00 is 6:00 PM, and 00:15 is 12:15 AM.
Related calculators
This calculator does time card arithmetic. It does not decide who is owed overtime, which breaks must be paid, or what your employer must do; those depend on federal and state law, your job, and any contract. Check with your employer, your state labor department, or the U.S. Department of Labor.