SolvrTools

Time Duration Calculator

Find the elapsed time between two clock times, including overnight spans.

Inputs

Fields marked with * are required.

Results

Your result updates after a successful calculation.

Hours

3

Whole hours in the duration.

Remaining minutes

30

Minutes left after full hours are removed.

Total minutes

210

Full duration converted into minutes.

How it works

Short formula and logic summary for this tool.

The calculator converts both times to minutes, adjusts for overnight spans, and subtracts start from end.

Worked example

This shows a duration that crosses midnight and still returns the correct elapsed time.

  • startTime: 22:15
  • endTime: 01:45

FAQ

Common questions about this tool.

Can the end time be after midnight?

Yes. If the end time is earlier than the start time, the calculator treats it as the next day.

What is total minutes for?

It helps when converting the duration into payroll or planning workflows.