Hours Calculator tool

Hours Calculator

A work hours calculator computes the exact duration between a start time and end time, displayed in hours and minutes.

What is an hours calculator?

An hours calculator finds how long you worked between a start time and end time on a 24-hour clock. If end time is earlier than start, it assumes an overnight shift and adds 24 hours. Optional hourly rate turns the shift into earnings and estimates a five-day week at the same pattern. Gig workers can run the same start and end times each day and still change only the hourly rate to compare client offers.

How to use the hours calculator

  1. Set shift start time with the time picker.
  2. Set shift end time, including overnight jobs.
  3. Optionally enter hourly rate in your currency.
  4. Read duration in hours and minutes.
  5. Check decimal hours and weekly totals.

About this calculator

A work hours calculator computes the exact duration between a start time and end time, displayed in hours and minutes. It handles overnight shifts (when end time is earlier than start time) by assuming the shift crosses midnight.

Use it for timesheets, freelance billing, shift scheduling, and any work that requires precise hours tracking.

How the math works

Hours=endTime−startTime\text{Hours} = \text{endTime} - \text{startTime}
  • startTime\text{startTime}: When you started working
  • endTime\text{endTime}: When you finished
  • Hours\text{Hours}: Total hours worked

Hours example: 9:00 AM to 5:30 PM office shift

Start 09:00 and end 17:30 on the same calendar day. From midnight, start is 540 minutes and end is 1,050 minutes. Difference is 510 minutes, which is 8 hours 30 minutes.

Decimal duration is 8.50 hours. At five similar shifts per week the tool shows 42.50 weekly hours. If you enter ₹500 per hour, shift pay is ₹4,250 and the weekly estimate is ₹21,250 before tax. Night shifts that end after midnight add 1,440 minutes automatically when end is earlier than start.

A six-day retail pattern at 10:00 to 19:00 with one hour unpaid lunch is eight paid hours if you subtract sixty break minutes outside this tool; here breaks are not a separate field, so shorten end time manually if needed.

Common uses

  • Calculate daily work hours for a timesheet
  • Determine hours worked for freelance billing
  • Track hours for an overnight shift
  • Calculate overtime by summing daily hours

Frequently asked questions

How do you calculate hours between a start and end time?

Convert both times to minutes from midnight, subtract start from end. If the result is negative (overnight shift), add 1440 minutes (24 hours). Divide the total minutes by 60 to get hours, with the remainder as minutes. For example: 9:00 AM to 5:30 PM = (17h 30m) − (9h 0m) = 8h 30m.

How many hours is a 22:00 to 06:00 security shift?

End before start triggers overnight mode. From 22:00 to 06:00 is 8 hours 0 minutes, or 8.00 decimal hours. Enter those clock times to see the amber overnight note and the same duration.

How do I bill 7 hours 45 minutes as decimal hours?

45 minutes is 0.75 of an hour, so 7:45 equals 7.75 decimal hours. This calculator shows decimal hours on the green card so you can paste the number into an invoice.

Does the weekly total include weekends automatically?

It multiplies one shift length by five as a simple week estimate. It does not know your roster. Change start and end to match each day if your hours vary.

Can I enter half-hour start times like 9:30 AM?

Yes. The HTML time input accepts minutes. A 09:30 to 18:00 shift yields eight hours thirty minutes before any manual break adjustment you apply by shortening the end clock time.

Related calculators

Maintained by J Jaya Prakash · Last updated: October 2026