Skip to content
ToolPaxaAll Tools for Everyone, in One Place.All calculators

Time Calculator

Add or subtract durations, evaluate a time expression, or shift a date and time by a duration.

Formula reference

((d × 24 + h) × 60 + m) × 60 + s

Calculation mode
First duration
Second duration

Your result

Enter values and select Calculate.

Your dates and holiday settings are processed in your browser.

How to add and subtract time

How it works

Enter the two durations in days, hours, minutes and seconds and choose Add or Subtract. The formula converts them to one unit before performing the operation. Use Shift a date and time to apply the same offset to a date, or Expression to combine multiple durations with + and −.

Worked example

1 hour 45 minutes plus 30 minutes gives 2 hours 15 minutes. At 23:30 on February 28, 2024, adding 45 minutes gives 00:15 on February 29.

Counting rules and limits

Blank duration fields count as zero. Use up to three decimal places for seconds. A day is 24 hours in this tool. The date and time mode uses wall-clock arithmetic without a time zone or daylight-saving adjustment.

Calendar and date format references BIPM SI Brochure and time units · ISO 8601-1:2019

To add calendar months or count dates, use the Date Calculator.