Time Card Calculator

Add up the hours worked in a shift from clock-in to clock-out, minus breaks, with optional gross pay. Handles overnight shifts.

Written by Ahmet Tur · Reviewed by Kübra Yıldız · Updated

Your result will appear here

Fill in the fields and press Calculate.

A time card calculator turns clock-in and clock-out times into payable hours: subtract the start time from the end time, take off any unpaid meal break, and divide the minutes by 60 to get decimal hours. A shift from 7:52 a.m. to 4:37 p.m. with a 30-minute unpaid lunch is 495 minutes, or 8.25 hours; at $22.50 an hour that is $185.63 gross.

Decimal hours matter because payroll multiplies them by the hourly rate. Writing 8 hours 30 minutes as "8.30" instead of 8.50 underpays a fifth of an hour on every shift.

This calculator handles one shift at a time, including shifts that cross midnight. The guide below covers what the US Department of Labor says about the parts that cause most paycheck disputes: which breaks are paid, how employers may round punches (the so-called 7-minute rule), and when federal overtime starts. Under the Fair Labor Standards Act (FLSA), covered non-exempt employees must be paid at least time and one-half their regular rate for hours over 40 in a workweek. State law can add stricter rules, so check your state labor department as well.

Time Card Calculator: step-by-step worked example

Example inputs
Start time
08:30
End time
17:15
Unpaid break (minutes)
45
Hourly rate (optional)
22.50
  1. 1

    Convert times to minutes

    Minutes = Hours × 60 + Minutes

    08:30 → 510 · 17:15 → 1,035 = 1,035 min

  2. 2

    Shift length

    Span = End − Start (if negative, overnight shift: + 1,440)

    1,035 − 510 = 525 min

  3. 3

    Subtract the break

    Worked = Span − Break

    525 − 45 = 480 min

  4. 4

    Convert to decimal hours

    Hours = Minutes ÷ 60 (rounded to 2 decimals)

    480 ÷ 60 = 8 h

  5. 5

    Gross pay

    Pay = Minutes worked × Hourly rate ÷ 60 (exact minutes, not the rounded hours)

    480 × 22.50 ÷ 60 = 180.00

Result · Hours worked8 h
How the shift splits
  • Work480 min91.4%
  • Break45 min8.6%

Good to know: Minutes are base-60, not base-100: 8 h 45 min is 8.75 hours, not 8.45. Unpaid breaks are subtracted before multiplying by the hourly rate.

Time Card Calculator — how it works

How the calculator counts a shift

Both times are converted to minutes after midnight (7:52 becomes 472, 16:37 becomes 997). The start is subtracted from the end; if the result is negative, the shift crossed midnight and 1,440 minutes (24 hours) are added. The unpaid break is then subtracted. The result is shown three ways: hours and minutes (8h 15m) for the timesheet, total minutes (495), and decimal hours rounded to two places (8.25). Gross pay is computed from the exact minutes (minutes × hourly rate ÷ 60) and rounded to the cent, so the rounded hours never cost you money.

Two edge cases are worth knowing. If the start and end times are identical, the result is zero, not 24 hours, so split a 24-hour shift into two entries. And the calculator does not know the date: on the night daylight saving time ends, a 10 p.m. to 6 a.m. shift actually lasts nine hours, and on the night it begins, seven.

Minutes to decimal hours

Divide minutes by 60. The table covers the values that come up most on time cards.

MinutesDecimal hoursMinutesDecimal hours
10.02250.42
50.08300.50
60.10350.58
100.17400.67
120.20450.75
150.25500.83
200.33550.92

The calculator displays decimal hours to two places but pays on the exact minutes. A shift with an awkward minute count, such as 8 h 20 min (8.333… h), shows 8.33 h and, at $30 an hour, pays the minute-exact $250.00 (500 × $30 ÷ 60). Multiplying the rounded 8.33 h instead would give $249.90, so a payroll system that rounds hours first comes out 10 cents lower.

Rounding time punches: the 7-minute rule

Federal regulations do not require time clocks, but where punches are rounded, 29 CFR 785.48(b) accepts the long-standing practice of recording time to the nearest 5 minutes, tenth of an hour (6 minutes) or quarter of an hour, provided that over time the practice does not fail to pay employees for all the time they actually worked. The Department of Labor's Fact Sheet #53 spells out the quarter-hour version: time from 1 to 7 minutes may be rounded down, but time from 8 to 14 minutes must be rounded up to a full quarter hour.

Actual punchMinutes past the quarterRounded to
7:52 a.m.77:45 a.m.
7:53 a.m.88:00 a.m.
4:37 p.m.74:30 p.m.
4:38 p.m.84:45 p.m.

Rounding has to be neutral. A policy that always rounds clock-ins forward and clock-outs back, so that it only ever trims time, is the kind of practice the regulation excludes. Separately, under 785.48(a), employees who voluntarily clock in early or stay late without doing any work do not have to be paid for that time. If you are checking your own pay, enter the actual punches and compare; if your employer rounds, enter the rounded times.

Which breaks to subtract

The break field is for unpaid time only. According to the Department of Labor's Fact Sheet #22:

  • Short rest periods, usually 20 minutes or less, are customarily paid and must be counted as hours worked. Do not subtract coffee breaks.
  • Bona fide meal periods, typically 30 minutes or more, generally do not have to be paid, but only if the employee is completely relieved from duty. Eating at your desk while answering phones is working time.

So a day with two 15-minute breaks and a 30-minute lunch away from your post should be entered with a 30-minute break, not 60.

Weekly overtime under federal law

The FLSA overtime test is weekly, not daily. DOL Fact Sheet #23 sets the key rules:

  • Overtime is due for hours worked over 40 in a workweek, at not less than one and one-half times the regular rate of pay.
  • A workweek is a fixed, regularly recurring period of 168 hours (seven consecutive 24-hour periods). It can start on any day and at any hour, but it must stay fixed.
  • Hours cannot be averaged over two or more weeks. Thirty hours one week and 50 the next means 10 hours of overtime, even though the average is 40.
  • The FLSA does not require extra pay for weekends, holidays or regular days of rest as such; premium pay for those days comes from company policy, contracts or state law.

To build a weekly total, run each shift through the calculator and add the decimal hours:

DayHoursRunning total
Mon8.258.25
Tue8.2516.50
Wed9.0025.50
Thu8.5034.00
Fri8.2542.25

At $22.50 an hour, that week pays 40 × $22.50 = $900.00 plus 2.25 overtime hours × $33.75 = $75.94, for $975.94 gross. An overnight shift that straddles the start of a new workweek is split at the boundary: the hours after it count toward the next week.

Not every worker is covered. Some salaried employees are exempt from overtime, and several states impose their own overtime rules, including daily thresholds, that go beyond the federal minimum. The federal minimum wage is $7.25 an hour; many states set a higher one.

Common time card mistakes

  • Treating minutes as decimals. 7 hours 45 minutes is 7.75 h, not 7.45 h.
  • Subtracting paid breaks. Rest breaks of 20 minutes or less count as work time.
  • Overnight math by hand. 10 p.m. to 6 a.m. is 8 hours, but subtracting 22 from 6 gives −16; add 24.
  • Averaging across a pay period. Biweekly payroll still has to apply the 40-hour test to each workweek separately.

Worked example

Maria works in a warehouse at $22.50 an hour with a fixed Sunday-to-Saturday workweek. On Monday she punches in at 7:52 a.m. and out at 4:37 p.m., with a 30-minute unpaid lunch.

Enter 07:52 and 16:37 with a 30-minute break. The span is 997 − 472 = 525 minutes; minus 30 gives 495 minutes, which the calculator shows as 8h 15m, or 8.25 hours. Gross pay for the day is 8.25 × $22.50 = $185.625, shown as $185.63.

Her employer rounds to the quarter hour. 7:52 is 7 minutes past 7:45, so it rounds down to 7:45; 4:37 is 7 minutes past 4:30, so it rounds down to 4:30. The rounded day is still 8 h 45 min minus 30 = 8.25 hours, so here rounding costs her nothing, which is how a neutral policy should behave over time.

Her week totals 42.25 hours. The first 40 are paid at $22.50 ($900.00). The remaining 2.25 hours are overtime at 1.5 × $22.50 = $33.75, adding $75.94, for $975.94 before taxes and deductions.

Frequently asked questions

How do I calculate hours worked on a time card?+

Subtract the clock-in time from the clock-out time, then subtract any unpaid meal break. Convert the remaining minutes to hours by dividing by 60: 495 minutes ÷ 60 = 8.25 hours.

How do I convert minutes to decimal hours for payroll?+

Divide the minutes by 60. 15 minutes = 0.25 h, 20 minutes = 0.33 h, 45 minutes = 0.75 h, so 8 hours 45 minutes is 8.75 hours, not 8.45.

What is the 7-minute rule?+

It is how quarter-hour rounding works under DOL guidance: 1 to 7 minutes past a quarter hour may be rounded down, and 8 to 14 minutes must be rounded up. The rounding is allowed only if, over time, employees are still paid for all the time they actually worked (29 CFR 785.48(b)).

Is a 30-minute lunch break paid?+

Under federal law, a bona fide meal period of typically 30 minutes or more generally does not have to be paid, provided you are completely relieved of duty. If you keep working while eating, the time is compensable.

Are 15-minute breaks paid?+

Yes, when an employer offers them. The DOL says rest periods of about 20 minutes or less are customarily paid and must be counted as hours worked, so do not subtract them in the calculator.

When does overtime start?+

Under the FLSA, after 40 hours worked in a workweek, at no less than 1.5 times the regular rate. At $20 an hour, each overtime hour pays at least $30. Some states add daily overtime rules.

Can my employer average hours over two weeks to avoid overtime?+

No. The DOL states that averaging hours over two or more weeks is not permitted. Each fixed 168-hour workweek is tested on its own against the 40-hour threshold.

Do I get time and a half on weekends or holidays?+

The FLSA does not require premium pay for Saturdays, Sundays or holidays as such; those hours only earn overtime if they push the week past 40. Extra holiday pay comes from employer policy, contracts or state law.

How does the calculator handle overnight shifts?+

If the end time is earlier than the start time, it adds 24 hours, so 22:00 to 06:30 with a 30-minute break returns 8.00 hours. It cannot see the date, so on daylight saving changeover nights adjust by one hour yourself.

Sources

About this page

Publisher:
Kalkoro — Teknolojig Bilişim Teknolojileri A.Ş., İstanbul
Written by:
Ahmet Tur — Editor (Math, date & time, unit conversion, physics & chemistry, everyday tools)
Reviewed by:
Kübra Yıldız — Editor

Parameters come from official sources; the last update date is shown at the bottom of the page.

Spotted a wrong result? Use the "Report a bug" button at the top of the page; every report is reviewed.

How we calculate and our accuracy policy →

Results are for information only. For official matters the relevant authority's calculation prevails.

Last updated: