Hours Calculator — Calculate Hours Between Two Times

Calculate hours between two times, add or subtract hours from a time, and track weekly work hours with pay calculation. Free, secure, and runs entirely in your browser.

Updated:

Loading tool…

How to Calculate Hours Between Times

Use the Time Between tab to find hours worked between a start and end time. Enter your clock-in and clock-out times using the time pickers, optionally subtract a break duration, and the tool instantly displays total hours in both decimal (7.5) and hours-and-minutes (7h 30m) format. For overnight shifts that cross midnight — for example, 10:00 PM to 6:30 AM — enable the Overnight shift toggle and the tool handles the date boundary automatically.

The Add / Subtract tab lets you add or subtract a duration from a specific time. Enter a base time and a number of hours and minutes to add or remove. This is useful for calculating end times for meetings, estimating when a shift ends, or finding what time it was a certain number of hours ago.

The Weekly Hours tab provides a full workweek time tracker. Enter clock-in and clock-out times for each day (Monday through Sunday), and the tool calculates daily hours, weekly total, overtime hours beyond 40, and estimated pay if you enter your hourly rate. This is ideal for verifying weekly payroll totals or freelancer billing.

Why Use an Hours Calculator?

  • Payroll accuracy — verify your hours worked match what appears on your pay stub
  • Overtime detection — automatically flags hours over 40 in a workweek at the correct 1.5× threshold
  • Freelancer billing — calculate exact billable hours for accurate client invoices
  • Weekly hour totals — see full week's hours and estimated pay across all days
  • Overnight shift support — correctly handles cross-midnight time ranges without manual adjustments
  • Decimal and time format — results shown in both 7.5 hours and 7h 30m for compatibility with different payroll systems

Frequently Asked Questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then subtract any unpaid break time. Convert both times to 24-hour format first to avoid AM/PM errors. Example: clock in 8:45 AM (8.75 in decimal), clock out 5:30 PM (17.5 in decimal). Hours worked = 17.5 − 8.75 = 8.75 hours. Minus 0.5 hour lunch = 8.25 hours. For overnight shifts (e.g., 10:00 PM to 6:00 AM), add 24 hours to the end time: (6 + 24) − 22 = 8 hours.

How do I calculate hours in decimal format?

Divide the minutes by 60 and add to the whole hours. Example: 7 hours 45 minutes = 7 + 45/60 = 7 + 0.75 = 7.75 hours. To convert back: take the decimal portion and multiply by 60. So 7.75 hours = 7 hours and (0.75 × 60) = 45 minutes. Decimal hours are used in payroll systems and billing software because they simplify arithmetic — multiplying 7.75 hours by an hourly rate is simpler than working with 7 hours and 45 minutes separately.

What is the overtime rule for hours?

Under the US Fair Labor Standards Act (FLSA), non-exempt employees must receive overtime pay at 1.5× their regular rate for all hours worked over 40 in a single workweek. The 40-hour threshold resets each workweek — not each pay period. If you work 45 hours in week 1 and 35 hours in week 2 on a biweekly paycheck, you are owed 5 hours of overtime for week 1. Some states add daily overtime rules: California requires overtime after 8 hours in a single workday. Always check your state's specific overtime laws.

How do I calculate total weekly hours?

Add the hours worked each day of the workweek. A standard full-time week is 40 hours (8 hours/day × 5 days). To calculate pay: multiply total regular hours by your hourly rate; multiply any overtime hours by 1.5× your rate; add both figures. Example: 44 hours at $20/hour = (40 × $20) + (4 × $30) = $800 + $120 = $920 gross. Our Weekly tab automates this calculation — enter your daily start/end times and hourly rate to see the full breakdown instantly.

How do I add hours and minutes to a time?

Convert everything to minutes, add, then convert back. Example: add 3 hours 45 minutes to 9:30 AM. Convert 9:30 to minutes: (9 × 60) + 30 = 570 minutes. Add 3h 45m = 225 minutes. Total = 795 minutes. Convert back: 795 ÷ 60 = 13 hours 15 minutes = 1:15 PM. The Add/Subtract tab handles this automatically — enter your base time, choose the duration, and the result appears instantly without manual arithmetic.

By UtilDaily · Updated \u2014 free, privacy-first browser tools. No sign-up, no data collection.