Home / Date & Time / Time Expression Calculator
Date & Time

Time Expression Calculator

Type an expression such as 1d 2h 30m + 45m - 20s and get one normalized duration plus totals in hours, minutes, and seconds.

Supported operators are + and −. Duration terms accept d, h, m, s or HH:MM[:SS]. The parser does not use JavaScript eval.

Expression result
HH:MM:SS
Total hours
Total minutes
Total seconds
Ready

How to use this Time Expression Calculator

Type multiple duration terms separated by plus or minus signs. Use d, h, m, and s notation or HH:MM[:SS] for each term.

What the result means

Type an expression such as 1d 2h 30m + 45m - 20s and get one normalized duration plus totals in hours, minutes, and seconds.

Practical tips and limits

The expression parser intentionally supports only duration addition and subtraction. It does not execute arbitrary code or mathematical expressions.

Search by task, tool name, or category. Press Esc to close.
Start typing to find a tool.