Skip to main content
Everyday

Time Calculator

A time calculator answers three everyday questions: how much time elapsed between two clock readings, what time it will be after adding a duration, and what time it was before subtracting a duration. This version focuses on local wall-clock arithmetic, overnight rollover, decimal hours, and total minutes without pretending to solve time-zone or daylight saving edge cases automatically.

Inputs

Adjust your numbers

Results update as you type.

Elapsed compares start/end. Add/subtract uses the start time and duration fields.
Use local 24-hour input, such as 09:15 for 9:15 AM.
Used for elapsed-time mode. Leave as-is when adding or subtracting a duration.
For elapsed time only: decide how to handle an end time that is earlier than the start time.
Used when adding or subtracting a duration.
Minutes can exceed 59; the calculator normalizes the total.
Optional whole seconds for precise duration arithmetic.

Assumptions

  • Clock inputs are local wall times in the same time zone.
  • When elapsed-time end time is earlier than start time, the default assumes the end is on the next day.
  • Durations use whole hours, minutes, and seconds with 60 seconds per minute and 60 minutes per hour.
  • No daylight saving, time-zone, calendar-date, or leap-second correction is applied.
Results

Live answer

Answer
Duration
Decimal hours
Total minutes
Clock result
How it works

Assumptions and detail

Supports three high-intent time tasks in one focused form: elapsed time, adding a duration, and subtracting a duration. Results include a human-readable answer plus decimal hours and total minutes for payroll or planning.

How the math works

The formula and what each part means

Elapsed seconds = Adjusted end seconds − Start seconds
Duration seconds = hours × 3600 + minutes × 60 + seconds
Result clock = (start seconds ± duration seconds) mod 86,400
SymbolNameUnitDescription
S Start time seconds after midnight The local clock time converted to seconds.
E End time seconds after midnight The end clock time; add 86,400 seconds when the span crosses midnight.
D Duration seconds Whole hours, minutes, and seconds converted to one total.
R Result clock time of day The normalized clock time after adding or subtracting a duration.
Methodology

How the answer is computed

The implementation converts each clock input to seconds after midnight, performs arithmetic on seconds, then formats the result back into hours, minutes, decimal hours, and total minutes. Elapsed-time mode can add one 24-hour day to the end time for overnight spans. Add/subtract mode reports whether the result lands on the same day, next day, previous day, or farther away.

Worked examples

See the math step by step

Elapsed shift: 9:15 AM to 5:45 PM

Calculator Campus verified test vector

  1. Convert 9:15 AM to 09:15 and 5:45 PM to 17:45.
  2. Subtract start from end: 17:45 − 09:15.
  3. The difference is 8 hours 30 minutes, or 8.50 decimal hours.
Result — duration: 8 hr 30 min · decimal hours: 8.50 · total minutes: 510

Overnight span: 11:00 PM to 7:00 AM

Calculator Campus verified test vector

  1. The end clock time is earlier than the start, so auto-next-day adds 24 hours to the end.
  2. Treat 7:00 AM as 31:00 for subtraction.
  3. 31:00 − 23:00 = 8 hours.
Result — duration: 8 hr · day offset: next day

Add a duration: 11:30 PM plus 1 hour 30 minutes

Calculator Campus verified test vector

  1. Convert 1 hour 30 minutes to 5,400 seconds.
  2. Add it to 23:30.
  3. The normalized clock result is 1:00 AM on the next day.
Result — clock result: 1:00 AM · day offset: next day

When to use this calculator

Use this calculator for work shifts, classroom elapsed-time practice, billing blocks, event schedules, cooking timers, travel planning, or any case where you need hours and minutes quickly. It pairs well with the [Percentage Change Calculator](/calculators/percentage-change-calculator) when comparing time spent across periods, and the [calculator directory](/calculators) as more planning tools are added.

What this calculator solves

This page intentionally covers the generic time calculator intent shown in the latest research bundle: elapsed time, adding time, subtracting time, and decimal-hour conversion. It does not try to become a full date calculator or timecard payroll system. Keeping the first version focused makes the form fast while still answering the high-volume queries competitors handle.

How the math works

Clock arithmetic is easiest after converting each value to seconds. For example, 9:15 AM is 9 × 3600 + 15 × 60 = 33,300 seconds after midnight. 5:45 PM is 17 × 3600 + 45 × 60 = 63,900 seconds after midnight. The difference is 30,600 seconds, which formats as 8 hours 30 minutes. Decimal hours are 30,600 ÷ 3,600 = 8.50; total minutes are 30,600 ÷ 60 = 510.

Why the overnight option matters

A same-day subtraction from 11:00 PM to 7:00 AM is negative, but many real shifts and schedules cross midnight. The default end-day handling treats an earlier end time as the next day, so 7:00 AM becomes 31:00 for the calculation and the duration is 8 hours. If you need strict same-day validation, choose the same-day option and the calculator will reject an earlier end time instead.

Time zones and daylight saving

The calculator works with floating local wall times. It does not know whether 1:30 AM happened once or twice during a fall-back transition, or whether 2:30 AM was skipped during a spring-forward transition. For travel, scheduling systems, or legal records where the zone matters, convert to a real timestamp with a time zone first, then compare those timestamps.

Assumptions

What we assume

  • All clock inputs are local wall times in the same time zone.
  • Elapsed-time mode defaults to treating an earlier end time as next day.
  • The calculator uses fixed units: 60 seconds per minute, 60 minutes per hour, and 24 hours per day.
  • Calendar dates, daylight saving changes, time zones, and leap seconds are outside scope.
Limitations

What this skips

  • Does not convert between time zones; both clock readings must already be in the same zone.
  • Does not detect daylight saving skipped or repeated local times.
  • Does not attach calendar dates, so month-end, leap-year date counts, and legal timekeeping rules are outside scope.
  • Does not model leap seconds; every minute is treated as exactly 60 seconds.
  • Does not deduct breaks, overtime, or payroll rounding rules. Enter those adjustments manually before relying on the result.
Common mistakes

What people miss

  • Entering decimal hours in an hours/minutes field. 1.5 hours is 1 hour 30 minutes, not 1 hour 5 minutes.
  • Forgetting overnight rollover when the end clock time is earlier than the start clock time.
  • Mixing time zones before subtracting times.
  • Using a simple wall-clock calculator during daylight saving transitions.
  • Expecting payroll rounding, break deductions, or overtime rules that are outside this generic time calculator.
References

References

  1. SI Units – Time

    National Institute of Standards and Technology · accessed 2026-04-23

  2. NIST Guide to the SI, Chapter 5: Units Outside the SI

    National Institute of Standards and Technology · accessed 2026-04-23

  3. Working with Time and Timezones

    World Wide Web Consortium · accessed 2026-04-23

  4. SI Brochure: The International System of Units

    Bureau International des Poids et Mesures · accessed 2026-04-23

  5. Free Timecard Calculator

    Redcort · accessed 2026-04-23

Frequently asked questions

How do I calculate elapsed time between two times?
Convert both times to the same 24-hour clock format, subtract the start from the end, and borrow or carry at 60 minutes. This calculator does that conversion for you and reports hours, minutes, decimal hours, and total minutes.
What if the end time is after midnight?
Use the default end-day handling. If the end clock time is earlier than the start, the calculator treats it as the next day. For example, 11:00 PM to 7:00 AM returns 8 hours.
How do I add 1 hour 30 minutes to 3:25 PM?
Choose Add duration, enter 3:25 PM as 15:25, then enter 1 hour and 30 minutes. The result is 4:55 PM on the same day.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add the whole hours. For example, 8 hours 30 minutes is 8 + 30 ÷ 60 = 8.50 decimal hours.
Does this calculator handle daylight saving time?
No. It treats inputs as local wall-clock times and does not know time-zone rules. Around daylight saving changes, compare real timestamps with a time zone-aware tool instead.