Hours Calculator Time Card Calculator and Hours Between Times

Part 1: Hours between two times

Step 1: Enter the start time, end time and any break (the answer updates as you type)

Your answer: hours worked

-

Part 2: Weekly time card (optional)

A separate calculator for a whole week. Step 1: change the start and end times for each day you worked (leave a day blank if you didn't work). Step 2: add your hourly rate if you want your pay. Step 3: read the totals in the green box.

-
-
-
-
-
-
-

Your answer: weekly totals and pay

-Total hours
-Decimal hours
-Overtime hours
-Pay (overtime x1.5)

Everything runs in your browser. Nothing you enter is sent to or stored on our server.

© 2004–2026 QuickOnlineTips. Free to use here, but please don’t copy, republish or sell this tool. Terms of use

Share this tool

Did you like this tool? Help us improve it

Want to tell us more? Contact us

★ Black Friday★ Cyber MondayWeb hosting up to 85% off, checked on each host’s own siteGrab the deals →

About this tool

This hours calculator counts the hours and minutes between two times, subtracts unpaid breaks and handles shifts that run past midnight. Below it, a weekly time card adds up every day’s hours in both hours-and-minutes and decimal form, and works out your pay from an hourly rate.

Quick answer: To calculate hours worked, subtract the start time from the end time and take off unpaid breaks. 9:00 am to 5:30 pm is 8 hours 30 minutes; minus a 30-minute break, that is 8 hours, or 8.00 decimal hours.

How to use the hours calculator

  1. Enter a start and end time. If the end time is earlier than the start, the calculator assumes the shift ran past midnight.
  2. Enter any unpaid break in minutes.
  3. For a whole week, fill in the time card. Days left blank are skipped.
  4. Add your hourly rate to estimate pay. Hours over the overtime limit (40 by default) are paid at 1.5 times the rate, the US federal standard for non-exempt workers.
  5. Click Copy time card to paste it into Excel or Google Sheets.

Converting minutes to decimal hours

Payroll systems use decimal hours, so 7 hours 45 minutes is 7.75 hours, not 7.45. Divide the minutes by 60:

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Overnight shifts

For a shift from 10:00 pm to 6:30 am, the calculator adds 24 hours to the end time, giving 8 hours 30 minutes. Shifts longer than 24 hours aren’t supported, so split them into days.

Tips for accurate timesheets

  • Record times as you go rather than from memory at the end of the week.
  • Check your employer’s rounding rule; some round to the nearest 15 minutes.
  • Paid breaks (usually short rest breaks) shouldn’t be subtracted; unpaid meal breaks should.
  • Overtime rules vary by country and state, and some states, such as California, also have daily overtime.

To time a task live, use our online stopwatch. For days between dates, try the days between dates calculator.

How many hours is it? Common shifts and time spans

Quick answers for the time spans people check most. Subtract any unpaid break, such as 30 minutes for lunch, from the total.

From and toHoursWith a 30-minute break
9 am to 5 pm8 hours7.5 hours
8 am to 5 pm9 hours8.5 hours
7 am to 5 pm10 hours9.5 hours
8 am to 4:30 pm8 hours 30 minutes8 hours
7 am to 3 pm8 hours7.5 hours
10 am to 6 pm8 hours7.5 hours
10 am to 2 pm4 hours3.5 hours
12:30 pm to 8 pm7 hours 30 minutes7 hours
7 am to 7 pm (12-hour shift)12 hours11.5 hours
7 pm to 7 am (night shift)12 hours11.5 hours
11 pm to 7 am8 hours7.5 hours

How to calculate hours between two times

  1. Write both times in 24-hour form: 7:45 am is 07:45, 4:15 pm is 16:15.
  2. Subtract the start from the end: 16:15 − 07:45. Borrow an hour when the minutes go below zero: 15:75 − 07:45 = 8 hours 30 minutes.
  3. If the end time is earlier than the start (an overnight shift), add 24 hours to the end time first.
  4. Take off unpaid breaks, then turn minutes into decimal hours for pay: 30 minutes = 0.5, 15 minutes = 0.25, 45 minutes = 0.75.

FAQ

How many hours is 10 to 2?

10 am to 2 pm is 4 hours. 10 pm to 2 am is also 4 hours.

How many hours is 7 to 5?

7 am to 5 pm is 10 hours, or 9.5 hours with a 30-minute lunch.

How many hours is 8 am to 5 pm?

9 hours, or 8 hours with a one-hour unpaid lunch.

Is my time card saved?

No. Copy it before you close the page.

Found this useful? Share it with someone who needs it.

100 Tech Terms ebook cover

Subscribe to our weekly tech newsletter

Free: 100 Tech Terms ebook (worth $2.99)

Unsubscribe anytime. Privacy

Latest Tech Guides