CalculatorHub
EMI CalculatorBMI CalculatorAge CalculatorDate CalculatorTime CalculatorBMR CalculatorCalorie CalculatorIdeal Weight Calculator
Basic CalculatorScientific CalculatorDifference CalculatorUnit ConverterPercentage CalculatorFraction Calculator
P&L PlannerFundamental Growth CalculatorRisk : Reward RatioAverage Price CalculatorTarget / Stop-Loss %EMA Distance & SafetyMutual Fund CalculatorFibonacci Retracement CalculatorPivot Point Calculator
GST Number ValidatorNormal GST CalculatorReverse GST CalculatorLate Fee CalculatorGST Interest CalculatorITC Calculator
CalculatorHub
EMI CalculatorBMI CalculatorAge CalculatorDate CalculatorTime CalculatorBMR CalculatorCalorie CalculatorIdeal Weight Calculator
Basic CalculatorScientific CalculatorDifference CalculatorUnit ConverterPercentage CalculatorFraction Calculator
P&L PlannerFundamental Growth CalculatorRisk : Reward RatioAverage Price CalculatorTarget / Stop-Loss %EMA Distance & SafetyMutual Fund CalculatorFibonacci Retracement CalculatorPivot Point Calculator
GST Number ValidatorNormal GST CalculatorReverse GST CalculatorLate Fee CalculatorGST Interest CalculatorITC Calculator
CalculatorHub
DailyMathTradingGST
← Back to daily calculators

Time Calculator

Add or subtract durations, or measure the gap between two times

Use Duration maths to add two lengths of time together or take one away from the other — handy for totalling work sessions or travel legs. Use Between two times to find how long passes from a start clock time to an end clock time, including shifts that run past midnight.

Mode

First duration

Operation

Second duration

Result

0h 0m 0s

Total in hours0.0000
Total in minutes0.00
Total in seconds0
As a clock time00:00:00

How this calculator works

The Time Calculator has two modes, chosen by the toggle at the top of the inputs panel.

Add or subtract durations — Enter up to four time values (hours, minutes, seconds each) and choose whether to add them together or find the running difference. Useful for totalling work hours across multiple sessions or adjusting a time by a known offset.

Time between two clock readings — Enter a start time and an end time (24-hour or 12-hour, whichever your device uses). The calculator returns the elapsed hours, minutes and seconds. If the end time is earlier than the start time, it automatically treats this as an overnight shift (crossing midnight).

The formula

Total seconds = sum of (H × 3600 + M × 60 + S) for each entry

Hours = ⌊Total seconds ÷ 3600⌋

Minutes = ⌊(Total seconds mod 3600) ÷ 60⌋

Seconds = Total seconds mod 60

For the "between two times" mode, the difference in seconds is computed from the two time strings and then decomposed the same way. If the result is negative (end before start), 86,400 seconds (one day) is added to represent an overnight crossing.

Worked example

A freelancer works three sessions in a day and needs to total hours for an invoice.

  • Session 1: 2h 30m
  • Session 2: 1h 45m
  • Session 3: 0h 50m
  • Total seconds = (9000 + 6300 + 3000) = 18,300 s
  • 18,300 ÷ 3600 = 5 hours, remainder 300 s = 5 minutes
  • Total: 5 hours 5 minutes

At ₹1,000 per hour, this session is billable for approximately ₹5,083 (5.083 × ₹1,000), a figure the calculator produces directly so there is no need to convert hours and minutes to a decimal manually.

Practical tips

  • Night-shift end times before start times are handled automatically. If a shift starts at 22:00 and ends at 06:30, just enter those two times in the "between two clock readings" mode — the calculator recognises the overnight gap and returns 8 hours 30 minutes. You do not need to split the shift at midnight.
  • The decimal hours output is ready for billing software. The result panel shows the total duration as a decimal (e.g. 5.083 h), which you can paste directly into a rate-based invoice without further conversion.
  • Use the add mode for running countdown timers on paper. If a meeting started at some known elapsed time and you add another session, you always know the cumulative running time — useful for time-boxed workshops, sports timing and exam-session tracking. Pair with the Date Calculator when you also need to track across calendar days.
Calculator Hub — free calculators, no sign-up needed.
HomeDailyMathTradingGSTAboutPrivacyFAQFeedbackSitemap