Hours Calculator & Time Card Calculator

· How we calculate · Free, no sign-up

Quick answer

Hours worked = (end time − start time) − unpaid breaks. Convert minutes to decimal hours by dividing by 60. Example: 8:45 AM to 5:15 PM with a 30-minute break = 8 h 0 min = 8.00 decimal hours; at $20/h that is $160.

Enter start and end times for each day of the week to total your work hours, minus unpaid breaks. Add an hourly rate to see regular pay, overtime pay and gross pay for the week.

DayStartEndBreak (min)Hours
—
—
—
—
—
—
—

Tick the days you worked. If the end time is earlier than the start time, the shift is counted as ending the next day.

$
h / week
×

How to use the time card calculator

  1. Tick each day you worked and enter the start and end time (use the clock picker or type, e.g. 08:30).
  2. Enter your unpaid break in minutes, such as a 30-minute lunch. Paid breaks should be left at 0.
  3. Optionally add your hourly rate. Overtime starts after 40 hours a week at 1.5× by default — change both to match your job.
  4. Read your weekly total in hours and minutes (h:mm) and in decimal hours, ready for a timesheet or payroll system.

Your entries are kept in your browser, so you can fill in the card day by day through the week. The second tab is a quick calculator for the hours between any two times.

How work hours are calculated

Daily hours = (End time − Start time) − Unpaid break If End < Start: End time + 24 h (overnight shift) Decimal hours = Hours + Minutes ÷ 60 Regular hours = min(Total, OT threshold); Overtime hours = Total − Regular Pay = Regular hours × Rate + Overtime hours × Rate × OT multiplier

Pay is calculated from the exact minutes, not from rounded decimal hours, so there is no rounding drift across the week.

Worked examples

Minutes to decimal hours

Payroll systems usually want decimal hours, while clocks show hours and minutes. Divide minutes by 60 to convert:

MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Overtime rules to know

In the United States the Fair Labor Standards Act requires overtime of at least 1.5× the regular rate for non-exempt employees after 40 hours in a workweek, which is this calculator’s default. Some states (for example California) also have daily overtime after 8 hours, and many countries set a different weekly limit or premium. Set the threshold to your own rule, or to a very high number if you are not paid overtime. Results are an estimate of gross pay before tax and deductions.

Embed this calculator on your website — free

Copy this code into your page. The calculator stays up to date automatically and resizes to fit.

Frequently asked questions

How do I calculate hours worked in a day?

Subtract the start time from the end time, then subtract any unpaid break. For example, 9:00 AM to 5:00 PM is 8 hours; minus a 30-minute lunch break that is 7 hours 30 minutes, or 7.50 decimal hours.

How do I convert minutes to decimal hours for payroll?

Divide the minutes by 60. 15 minutes = 0.25 h, 30 minutes = 0.50 h, 45 minutes = 0.75 h and 20 minutes ≈ 0.33 h. So 7 hours 45 minutes is 7.75 decimal hours.

Does the calculator handle night shifts that cross midnight?

Yes. If the end time is earlier than the start time, the shift is assumed to end the next day. A shift from 10:00 PM to 6:30 AM with a 30-minute break counts as 8 hours.

How is overtime calculated?

By default, hours above 40 in the week are paid at 1.5 times the hourly rate, which matches the weekly overtime rule of the US Fair Labor Standards Act. You can change the threshold and the multiplier to match your contract or local law (some places also use daily overtime rules).

Are my time card entries saved?

Your entries are saved only in your own browser (localStorage) so they are still there when you come back. Nothing is sent to our server. Use the Reset button to clear them.