Subtract Time Calculator
Subtract hours, minutes, and seconds from any time. The parser accepts both 12-hour and 24-hour formats for time, and various duration formats (e.g., "2h 30m", "150 minutes", "1.5 hours"). The format toggle controls output display only.
← All time calculatorsInput
Accepts 12h or 24h format, e.g., 17:00 or 5:00 PM
e.g., 2h 30m, 150 minutes, 1.5 hours
Controls output format only
Show seconds in results
Result
Result Time
14:30
Day Offset
Same day
Breakdown
- Start time
- 17:00
- Duration subtracted
- 2h 30m
- Result time
- 14:30
- Day offset
- Same day
Formula: Time format: 24-hour
Timeline
Formula
Time − Duration = Result Time
Subtract the specified duration from the starting time. If the result crosses midnight backwards, the day offset is shown.
Example: What Time Was It 2 Hours 30 Minutes Ago?
Tips
- The time parser accepts both 12-hour and 24-hour formats regardless of the output setting.
- Duration can be entered as '2h 30m', '150 minutes', '1.5 hours', or '2:30'.
- Enable 'Include seconds' for precise timing.
- Results update automatically as you type.
- If the result crosses midnight backwards, the day offset is shown (e.g., 'Previous day').
Frequently Asked Questions
What duration formats are accepted?
The parser accepts multiple formats: '2h 30m', '150 minutes', '1.5 hours', '2:30', '90m', and more. It automatically normalizes the input.
What if the result is on the previous day?
The calculator automatically detects when the result crosses midnight backwards and shows a day offset (e.g., 'Previous day' or '-1 days').
Can I use AM/PM format?
Yes. The parser accepts both 12-hour (AM/PM) and 24-hour formats regardless of the output format setting. The format toggle only controls how results are displayed.
How do I subtract 90 minutes?
Enter '90m', '1h 30m', '1.5 hours', or '1:30' in the duration field. All formats are accepted.
Can I share my calculation?
Yes. Click 'Share Link' to copy a URL that includes your inputs. Anyone with the link will see the same calculation.
Related Tools
Last reviewed: July 17, 2026