Skip to main content
ToolsHub

Hours Calculator

Calculate time duration between any two times. Add multiple time blocks for timesheet totals. Include an hourly rate to calculate earnings.

Files never leave your browser
8h 0m

8

Hours

0

Minutes

28800

Seconds

8.00

Decimal hrs

If end time is earlier than start, the calculator assumes an overnight shift.

Total Hours
8
Total Minutes
480
Decimal Hours
8.00
Rate

How to use Hours Calculator

The hours calculator computes the total time between two times of day, supporting overnight shifts, optional break deduction and multi-day durations. It also calculates weekly totals across multiple shifts, converts the result to decimal hours and shows an earnings estimate if you provide an hourly rate — making it practical for timesheet completion and payroll.

  1. Enter a start time and end time (12-hour or 24-hour format).
  2. Optionally enter break duration in minutes to deduct.
  3. Add multiple shifts for a weekly total.
  4. Optionally enter an hourly rate to see earnings.

Your data never leaves your device — 100% private processing.

Overnight shifts and 24-hour arithmetic

When the end time is before the start time (e.g. 22:00 to 06:00), the calculator automatically adds 24 hours to the end time to give the correct 8-hour result rather than −16 hours. This handles night shifts, bartenders, healthcare workers and other overnight workers correctly.

Glossary

Decimal hours
Time expressed as a decimal fraction, e.g. 7.5 hours instead of 7 hours 30 minutes.
Overtime
Hours worked beyond the standard threshold (typically 8 hrs/day or 40 hrs/week) often paid at a premium rate.

Related reading

Frequently Asked Questions

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Why use Hours Calculator?

  • Handles timezone conversions and DST automatically
  • Supports date arithmetic across years and leap years
  • ISO 8601 and human-readable output formats
  • Works for historical and future dates with full accuracy

Common use cases

  • Calculate how many days until a project deadline
  • Find the day of the week for a date in the past
  • Convert meeting times across different time zones
  • Calculate age from a date of birth
  • Add or subtract business days for contract terms

Related Date & Time

Explore all Date & Time.