Hours Calculator: Time Duration, Add, Subtract and Convert

Hours Calculator

Find the duration between two clock times, add or subtract a duration from a time, or convert days, hours, minutes and seconds into decimal hours and total minutes.

Clock-time interval

Select “following day” for an overnight interval such as 10:00 PM to 6:00 AM.


Converting complete UTC dates? The Julian Date Calculator converts timestamps to astronomical JD, MJD, JDN and ordinal YYYY-DDD codes.

Hours and duration formulas

Each time is converted to seconds after midnight:

Total seconds = hours × 3,600 + minutes × 60 + seconds.

For an interval, elapsed seconds equal end seconds minus start seconds. An overnight end receives an additional 86,400 seconds. Decimal hours equal total seconds divided by 3,600, and total minutes equal total seconds divided by 60.

For time addition or subtraction, the signed duration is added to the starting clock time. The result is split into a 24-hour clock value and a day offset.

Checked examples

CalculationResultDecimal hours
09:15 to 17:4508:30:008.5
22:00 to 06:00 next day08:00:008
12:00 to 12:00 same day00:00:000
12:00 to 12:00 next day1 day, 00:00:0024
23:30 + 2 hours01:30:00, day +12-hour duration
1 day, 2 hours, 30 minutes1 day, 02:30:0026.5

How to use the Hours Calculator

  1. Choose a clock-time interval, time addition/subtraction or duration conversion.
  2. Enter times using the 24-hour clock fields.
  3. For an overnight interval, select that the end is on the following day.
  4. Enter whole days, hours, minutes and seconds for a duration.
  5. Select Calculate hours and review the clock, duration and converted totals.

Limits and interpretation

  • This calculator works with elapsed durations and clock times, not dates or time zones.
  • It does not account for daylight-saving clock changes. Use actual dated timestamps when those changes matter.
  • Hours in the duration fields are limited to 0–23; enter larger quantities as days plus hours.
  • The “following day” option adds exactly 24 hours. It does not choose a calendar date.
  • For payroll, unpaid breaks, overtime rules and estimated earnings, use the separate Time Card Calculator.

Frequently asked questions

How do I calculate hours overnight?

Enter the start and end clock times, then select “End time is on the following day.”

How do I convert 7 hours 45 minutes to decimal hours?

Choose “Convert a duration” and enter 7 hours and 45 minutes. The result is 7.75 hours.

Can the calculator subtract time?

Yes. Choose “Add or subtract a duration,” select subtraction and enter the duration components.

Does it calculate overtime or pay?

No. This tool performs general duration arithmetic. Time Card Calculator handles work periods, breaks, overtime thresholds and estimated pay.

Related calculators

Use the Time Card Calculator for shifts and payroll estimates, the Date Calculator for calendar-day differences, or the Pace Calculator for distance, elapsed time, and running speed.

Pay conversion: Convert gross hourly, monthly and annual amounts with the Salary Calculator.

Across time zones: Use the Time Zone Calculator to apply geographic offsets and daylight-saving rules to a date and time.

Several durations: Average a list of times and compare its mean, weighted mean, median, total and range with the Average Time Calculator.

Workday target: Use the Clock Out Time Calculator to add required paid time and unpaid breaks to a clock-in time.

Planning a book, article or study session? Use the Reading Time Calculator to estimate reading duration, breaks, daily targets and a completion date.

Need 12-hour and 24-hour notation? Use the Military Time Converter to convert a clock time, calculate overnight intervals, or add and subtract time across midnight.

Planning a time-lapse shoot? Use the Time Lapse Calculator to solve interval, frame count, playback duration, speed-up and storage.

Downloading or uploading a file? Use the Download Time Calculator to estimate transfer time, required speed or transferable size.