Adding up a time card by hand trips people up for two reasons: clock times run in 60-minute hours, and payroll wants decimal hours. This hours calculator takes a start time and an end time, removes your unpaid break, and gives the time worked both ways, for example 8 h 30 m = 8.50 hours. Overnight shifts that cross midnight are handled automatically.
Add the days you work each week and your hourly rate to see weekly hours, overtime past 40 hours and gross pay, plus a day-by-day time card showing when overtime starts.
How to use the Hours Calculator
- Enter your start time and end time. If you finish after midnight, enter the real end time; it is counted on the next day.
- Enter your unpaid break in minutes, such as a 30-minute lunch. Leave out short paid rest breaks.
- Set the days worked per week to see weekly hours and any overtime.
- Optionally enter your hourly rate to see pay per shift, weekly pay and overtime pay.
The formula
Decimal hours = whole hours + minutes ÷ 60
Overtime hours = weekly hours − 40 (if above 40)
Weekly pay = rate × regular hours + 1.5 × rate × overtime hours
- End time − start time: if the end is earlier than the start, 24 hours are added because the shift crosses midnight
- Unpaid break: time fully off duty, usually a meal break of 30 minutes or more
- Regular hours: the first 40 hours of the workweek
- Rate: your regular hourly pay rate before taxes
Worked example
You clock in at 8:45 AM and out at 5:20 PM with a 30-minute unpaid lunch, 5 days a week, at $22 an hour.
- 8:45 AM to 5:20 PM is 8 hours 35 minutes. Minus the 30-minute lunch: 8 h 5 m per shift
- In decimal: 5 ÷ 60 = 0.0833, so 8.08 hours
- Five shifts: 40 h 25 m (40.42 hours) a week, so 25 minutes are overtime
- Pay: 40 × $22 = $880.00, plus 25 minutes at $33.00 an hour = $13.75. Weekly gross: $893.75
- Over 52 weeks: about $46,475 before taxes
For a night shift from 10:00 PM to 6:00 AM with a 30-minute break, the calculator counts across midnight: 8 hours minus 30 minutes = 7 h 30 m, or 7.50 hours.
Minutes to decimal hours conversion chart
Divide minutes by 60 to get a fraction of an hour. 15 minutes = 0.25 hours, 30 minutes = 0.50 and 45 minutes = 0.75. The chart below rounds to two decimals, the way most payroll systems show it.
| Minutes | Hours | Minutes | Hours | Minutes | Hours | Minutes | Hours |
|---|---|---|---|---|---|---|---|
| 1 min | 0.02 | 16 min | 0.27 | 31 min | 0.52 | 46 min | 0.77 |
| 2 min | 0.03 | 17 min | 0.28 | 32 min | 0.53 | 47 min | 0.78 |
| 3 min | 0.05 | 18 min | 0.30 | 33 min | 0.55 | 48 min | 0.80 |
| 4 min | 0.07 | 19 min | 0.32 | 34 min | 0.57 | 49 min | 0.82 |
| 5 min | 0.08 | 20 min | 0.33 | 35 min | 0.58 | 50 min | 0.83 |
| 6 min | 0.10 | 21 min | 0.35 | 36 min | 0.60 | 51 min | 0.85 |
| 7 min | 0.12 | 22 min | 0.37 | 37 min | 0.62 | 52 min | 0.87 |
| 8 min | 0.13 | 23 min | 0.38 | 38 min | 0.63 | 53 min | 0.88 |
| 9 min | 0.15 | 24 min | 0.40 | 39 min | 0.65 | 54 min | 0.90 |
| 10 min | 0.17 | 25 min | 0.42 | 40 min | 0.67 | 55 min | 0.92 |
| 11 min | 0.18 | 26 min | 0.43 | 41 min | 0.68 | 56 min | 0.93 |
| 12 min | 0.20 | 27 min | 0.45 | 42 min | 0.70 | 57 min | 0.95 |
| 13 min | 0.22 | 28 min | 0.47 | 43 min | 0.72 | 58 min | 0.97 |
| 14 min | 0.23 | 29 min | 0.48 | 44 min | 0.73 | 59 min | 0.98 |
| 15 min | 0.25 | 30 min | 0.50 | 45 min | 0.75 | 60 min | 1.00 |
Some employers record time in tenths of an hour, where each 6 minutes is 0.1 hours: 1–6 minutes = 0.1, 7–12 minutes = 0.2, and so on. To go the other way, multiply the decimal part by 60: 7.80 hours is 7 hours and 0.80 × 60 = 48 minutes.
Breaks, rounding and overtime: the federal rules
| Topic | Federal rule (FLSA) |
|---|---|
| Short rest breaks (usually 20 minutes or less) | Paid work time; don’t subtract them |
| Meal breaks (typically 30 minutes or more) | Can be unpaid if you are completely relieved from duty |
| Time-clock rounding | Allowed to the nearest 5 minutes, tenth or quarter hour, if it averages out so workers are paid for all time worked |
| Overtime | At least 1.5× the regular rate for hours over 40 in a workweek, for non-exempt employees |
| Averaging weeks | Not allowed: each 7-day workweek stands alone |
With quarter-hour rounding, 1–7 minutes past a quarter rounds down and 8–14 minutes rounds up. Federal law does not require breaks or daily overtime, but many states do. California, for example, pays overtime after 8 hours in a day. Salaried exempt employees are not owed overtime at all. Check your state labor department for the rules where you work.