Step one: subtract the start time from the end time
Hours worked are the end time minus the start time. The only difficulty is that clock times are not ordinary numbers: an hour has 60 minutes, not 100, and a 12-hour clock starts again at noon.
The safest method is to convert both times to the 24-hour clock first. Morning times stay as they are (8:15 AM is 8:15). For afternoon and evening times, add 12 to the hour (4:50 PM is 16:50). The two exceptions are the ones that cause most mistakes: 12:00 PM is noon, so it stays 12:00, and 12:00 AM is midnight, which is 0:00.
Then subtract hours from hours and minutes from minutes. From 8:15 to 16:50 is 8 hours (16 − 8) and 35 minutes (50 − 15), so 8 hours 35 minutes.
When the end minutes are smaller than the start minutes, borrow an hour as 60 minutes. From 8:50 AM to 5:20 PM is 8:50 to 17:20. You cannot take 50 from 20, so rewrite 17:20 as 16:80. Now 16:80 − 8:50 = 8 hours 30 minutes.
A shift from 9:30 AM to 4:00 PM works the same way: 16:00 becomes 15:60, and 15:60 − 9:30 = 6 hours 30 minutes.
Step two: take out unpaid breaks
Subtract any break you were not paid for. The 8:15 AM to 4:50 PM shift with a 45-minute unpaid lunch is 8 hours 35 minutes minus 45 minutes. Borrow again: 8:35 is 7:95, and 7:95 − 0:45 = 7 hours 50 minutes.
Which breaks count as unpaid is set by federal rules for most workers. Under the Fair Labor Standards Act (FLSA), short rest breaks, usually 5 to about 20 minutes, are working time and must be paid (29 CFR 785.18). A meal period, ordinarily 30 minutes or more, can be unpaid only if you are fully relieved of duty for it (29 CFR 785.19). If you eat at your desk while answering the phone, that time is work.
Federal law does not require employers to give meal or rest breaks at all; some states do. So subtract only the breaks your employer actually treats as unpaid, which is what your time card or pay stub will show.
Step three: write minutes as decimal hours
Pay is the hourly rate times hours worked, and that multiplication needs hours as a decimal. To convert, divide the minutes by 60 and add the result to the whole hours. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours. 7 hours 50 minutes is 7 + 50 ÷ 60 = 7.83 hours (rounded to two places).
The common mistake is to write 7 hours 45 minutes as 7.45. That reads 45 minutes as 0.45 of an hour, which is 27 minutes, and drops 18 minutes of pay.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 | 0.08 | 30 | 0.50 |
| 6 | 0.10 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 12 | 0.20 | 45 | 0.75 |
| 15 | 0.25 | 50 | 0.83 |
| 20 | 0.33 | 55 | 0.92 |
Six minutes is exactly a tenth of an hour, which is why time kept in tenths moves in 6-minute steps.
Shifts that cross midnight
A night shift has an end time that looks earlier than its start. From 10:00 PM to 6:30 AM, a straight subtraction gives a negative number. The fix is to add 24 hours to the end time. In 24-hour terms, the shift runs from 22:00 to 6:30 the next morning, so the end becomes 30:30. Then 30:30 − 22:00 = 8 hours 30 minutes. Subtract a 30-minute unpaid break and you have 8 hours, or 8.00 decimal.
The hours calculator does this automatically: when the end time is earlier than the start, it counts the end as the next day. For a weekly card, the time card calculator counts an overnight shift on the day it started, which matters when a shift that begins on the last night of a workweek ends in the next one. Check how your employer assigns those hours, because overtime is counted week by week.
Adding up a week
Work out each day, convert it to decimal, then add the decimals. Here is one week at $18 an hour:
| Day | Clock in | Clock out | Unpaid break | Hours worked | Decimal |
|---|---|---|---|---|---|
| Monday | 8:00 AM | 4:30 PM | 30 min | 8:00 | 8.00 |
| Tuesday | 8:00 AM | 5:15 PM | 30 min | 8:45 | 8.75 |
| Wednesday | 9:30 AM | 4:00 PM | none | 6:30 | 6.50 |
| Thursday | 7:45 AM | 4:30 PM | 45 min | 8:00 | 8.00 |
| Friday | 1:00 PM | 9:45 PM | 30 min | 8:15 | 8.25 |
| Total | 39:30 | 39.50 |
You can add either column, as long as you stay in one system. In hours and minutes the total is 38 hours plus 90 minutes, which is 39 hours 30 minutes. In decimals it is 39.5. Both are the same amount of time.
At $18 an hour, 39.5 hours is $711.00 of gross pay for the week. A single filer paid weekly with a default 2026 Form W-4 and no state income tax, as in Texas or Florida, takes home $613.21 after federal income tax, Social Security (6.2%) and Medicare (1.45%). In California, the same week nets $594.23. These are payroll withholding estimates, not your final tax.
Now add a Saturday from 9:00 AM to 1:30 PM with no break: 4.5 more hours, for a total of 44. Under the FLSA, a non-exempt employee is owed at least 1.5× the regular rate for hours over 40 in a workweek. The workweek is a fixed period of seven consecutive days set by the employer, and each week stands alone: a long week cannot be averaged with a short one. So 40 hours are paid at $18 and 4 at the overtime rate, and the week's gross rises to $828.00, or $707.21 after federal withholding and FICA. Some states add daily overtime rules on top; California, for example, counts overtime after 8 hours in a day. The overtime guide covers how that extra pay is taxed.
Rounding: what employers may do
Many employers round clock-in and clock-out times instead of paying to the exact minute. Federal rules allow rounding to the nearest 5 minutes, the nearest tenth of an hour (6 minutes) or the nearest quarter hour (15 minutes), as long as the practice averages out so that, over time, employees are paid for all the time they actually worked (29 CFR 785.48). A rule that only ever rounds down does not meet that test.
Rounding to the nearest quarter hour means the dividing line sits at 7½ minutes. Clocking in at 8:07 rounds to 8:00, because 8:00 is 7 minutes away and 8:15 is 8. Clocking in at 8:08 rounds to 8:15. That is the "7-minute rule" you may hear about: it is simply what nearest-quarter-hour rounding produces. The same rounding applied to a 7:53 clock-in moves it to 8:00, which costs you 7 minutes; the rule only works if those cases roughly balance.
If you want to see what your employer's rounding does to a week, the time card calculator can round each time to 5, 6 or 15 minutes before adding the day.
From weekly hours to pay
Once you have a decimal total, pay is rate times hours. At $18 an hour, here is what common weekly totals come to, before and after federal withholding and FICA for a single filer paid weekly with no state income tax:
| Hours a week | Gross a week | Take-home a week | Gross a year (52 weeks) | Take-home a year |
|---|---|---|---|---|
| 20 | $360.00 | $327.42 | $18,720 | $17,026 |
| 30 | $540.00 | $475.65 | $28,080 | $24,734 |
| 37.5 | $675.00 | $584.28 | $35,100 | $30,383 |
| 40 | $720.00 | $620.44 | $37,440 | $32,263 |
The yearly columns assume the same hours every week for 52 weeks, which is how payroll annualizes a paycheck to pick the withholding bracket. If your hours swing from week to week, each paycheck is withheld on its own amount, and your final tax is settled when you file. For turning an hourly rate into an annual salary and comparing offers, see hourly to salary and take-home pay.
Calculators for each step
- Hours calculator: time between two clock times, across midnight, minus a break, in hours:minutes and decimal.
- Time card calculator: a full Monday-to-Sunday card with optional rounding and the hours over 40.
- Hourly paycheck calculator: turns the weekly total into take-home pay with federal, FICA and state withholding for 12 states. Both hours tools can send their total straight to it.
- Overtime calculator: splits a week into regular and overtime hours and prices each.