Time Calculator – Add & Subtract Time, Time Difference
Time Calculator — Add & Subtract Time, Time Difference, Work Hours
Need to know what time it will be 8 hours and 45 minutes from now? How many days are between two dates? Or how many hours you worked this week? This free online time calculator covers every scenario — add time, subtract time, calculate time differences, and compute work hours, all with full timezone and daylight saving time (DST) support.
Three modes handle the most common use cases: add or subtract any duration from a start time, find the difference between two timestamps in seconds, minutes, hours and days, and compute work hours with break deduction for timesheets.
Add Time / Subtract Time Calculator
The Add / Subtract mode lets you start from any date and time, then stack multiple operations using hours, minutes, seconds, days, weeks, months, or years. You can mix additions and subtractions in a single calculation.
How to Add Time Online
- Click the Add / Subtract tab (selected by default)
- Enter your start date and time, or click Now to use the current time
- Set the operation to + and enter a value and unit (e.g. 8 Hours)
- Click Add Row to stack additional operations (e.g. +30 Minutes)
- Copy the result or the Unix timestamp with a single click
How to Subtract Time Online
Change the + selector to − on any operation row. The calculator subtracts that duration from the base time. Combine add and subtract rows freely — for example, +2 Days −3 Hours to find a time 2 days and 3 hours earlier.
Example — add time to a date:
Start: 2025-06-01 09:00 | Operation: +14 Days +8 Hours
Result: Monday, June 15, 2025 at 17:00:00 UTC
Example — subtract time:
Start: 2025-03-15 12:00 | Operation: −3 Hours −30 Minutes
Result: Saturday, March 15, 2025 at 08:30:00 UTC
Quick Presets & Reverse Calculation
Save frequently used offsets as Quick Presets (e.g. +8hr for a workday, +7day for a sprint). The Reverse button flips the calculation — it sets the result as the new start time and inverts all operations, so you can work backwards from a deadline.
Time Difference Calculator
The Time Difference mode calculates the exact gap between two points in time and breaks it down into weeks, days, hours, minutes, and seconds simultaneously.
How to Calculate Time Difference Online
- Switch to the Time Difference tab
- Enter a start time and end time (click Now for either)
- Optionally set different timezones for start and end (cross-timezone difference)
- The result shows the full breakdown and individual unit totals (total days, total hours, total minutes, total seconds) as copyable cards
Time difference example:
Start: 2025-01-01 00:00 | End: 2025-06-15 14:30
Result: 23w 3d 14h 30m 0s
Total hours: 3902 | Total minutes: 234,150 | Total seconds: 14,049,000
The Swap button reverses start and end times instantly. Negative differences (end before start) are shown with a − sign.
Work Hours Calculator — Time In / Time Out
The Work Hours mode calculates how long you worked between a clock-in and clock-out time, with optional break deduction. Results are shown in HH:MM format, decimal hours (for timesheet systems like Harvest, Toggl, or Excel), and total minutes.
How to Use the Work Hours Calculator
- Switch to the Work Hours tab
- Enter your Time In (e.g. 09:00) and Time Out (e.g. 18:00)
- Enter break duration in minutes (e.g. 60 for a 1-hour lunch break)
- The result shows 8h 00m, decimal 8.00, and total 480 minutes
Work hours examples:
09:00 → 18:00, break 60 min = 8h 00m (8.00 decimal)
08:30 → 17:45, break 45 min = 8h 30m (8.50 decimal)
22:00 → 06:00, break 30 min = 7h 30m overnight shift
Overnight shifts crossing midnight (e.g. 22:00 → 06:00) are detected and handled automatically — no need to manually adjust dates.
DST Calculator — Daylight Saving Time Support
Daylight saving time causes clocks to jump forward or fall back by one hour, making naive time arithmetic unreliable. This calculator detects DST boundary crossings in over 400 timezones and shows an automatic warning.
DST example — US Eastern Time spring forward:
Adding exactly 24 hours to 1:00 AM on the day clocks spring forward lands you at 2:00 AM the next day — not 1:00 AM — because that day was only 23 wall-clock hours long. The calculator warns: ⚠ DST: clocks moved forward 1 hour(s).
The arithmetic always uses exact elapsed seconds (86400 seconds per 24 hours), which is the standard approach in programming and server environments. You decide whether the DST shift affects your intent.
Timezone-Aware Time Addition
Set the Base Timezone for your input and the Result Timezone for output. The calculator converts between them automatically, including DST offsets. This is useful for cross-timezone scheduling: set your timezone as base, set a colleague's timezone as result, and see exactly what time your proposed slot translates to for them.
Output Formats
Choose from four output formats for the Add / Subtract result:
- Human Readable — Monday, June 15, 2025 at 14:30:00 UTC
- ISO-8601 — 2025-06-15T14:30:00Z
- Unix Timestamp — 1718455800 (seconds since 1970-01-01)
- RFC 2822 — Mon, 15 Jun 2025 14:30:00 +0000
The Unix timestamp is always shown as a secondary badge below the main result regardless of format, so you can copy it with one click whenever needed.
Common Use Cases
Deadline & Sprint Scheduling
Add 2 weeks and 3 days to a sprint start date to find the exact end datetime — including the day of week, so you can immediately see if the deadline falls on a weekend. Use the Reverse button to work backwards from a fixed deadline to calculate when work needs to start.
Log & Incident Analysis
Investigating an incident that happened approximately 3 hours before the alert fired? Take the alert Unix timestamp, subtract 3 hours, and copy the resulting timestamp directly into your log query. Timezone conversion is handled automatically for distributed teams.
Cross-Timezone Meeting Planning
Set the input timezone to your location and the result timezone to a colleague's city. The result shows exactly what time your proposed slot translates to for them, including any DST differences that may not be obvious when crossing hemisphere boundaries.
Token & Certificate Expiry
Got an API token valid for 30 days from now? Set today's date, add 30 days, switch the output format to Unix Timestamp, and copy the expiry value directly into your config or database field.
Timesheet & Payroll
The work hours calculator outputs decimal hours (e.g. 8.50) for compatibility with timesheet platforms and payroll software that require fractional hour input. The overnight shift detection handles late shifts without manual date adjustments.
Age & Duration Calculation
Use the time difference calculator to find out exactly how many days, hours, or seconds have passed between any two dates — useful for age calculations, contract durations, SLA tracking, or countdown timers.
Frequently Asked Questions
How do I add hours and minutes to a time?
In Add / Subtract mode, add two rows: one with unit Hours and one with unit Minutes. Both are summed together before being applied to the start time, so you get a precise result combining hours and minutes in a single calculation.
How do I add seconds to a time?
Select Seconds from the unit dropdown in any operation row. You can combine seconds with minutes and hours in multiple rows. All operations are converted to total seconds internally before the result is computed.
How do I calculate time difference in hours only?
In Time Difference mode, after entering the two times the result cards show total hours as one of the breakdown units. Click the hours card to copy the total hour count (e.g. 48 hours) directly to your clipboard.
Can I subtract time from the current time?
Yes. In Add / Subtract mode, click the Now button to set the current time as the start, then add a row with the − operation. For example, −3 Hours shows the time 3 hours ago.
Why can't I add months precisely?
Months have variable lengths (28–31 days), creating ambiguity: January 31 + 1 month could be February 28 or March 3 depending on interpretation. This calculator uses 30 days as the approximation for one month. For a precise day-of-month target, use days instead.
The result shows a different day than I expected
Check the timezone settings. If base timezone and result timezone differ, the displayed date may shift. DST transitions can also cause apparent day changes. The DST warning badge will appear automatically when a boundary is crossed.
How do I calculate business days?
This calculator uses calendar days. For 5 business days, add 7 calendar days as an approximation (assuming a Mon–Fri week with no holidays). For exact business day calculation including holidays, the result will vary by region and calendar.
How does the Reverse button work?
Reverse takes the current result and makes it the new start time, then flips all + operations to − and all − to +. This is useful when you know the desired end time and need to calculate what start time produces it with a given set of durations.
How do I get a Unix timestamp for a future date?
In Add / Subtract mode, set your start time and add the desired duration. Then switch Output Format to Unix Timestamp in the Timezone Settings panel. The result field shows the Unix epoch seconds, which you can click to copy directly.
Does this support time with seconds?
Yes. All three modes operate at full second precision internally. In Add / Subtract mode, select Seconds as the unit. The datetime input supports seconds in YYYY-MM-DDTHH:MM:SS format. Results always display hours, minutes, and seconds.
Related Tools
- Timestamp Log Sorter - Parse, sort, and convert timestamps in log files with auto-detection for ISO-8601, Unix, and RFC 2822 formats
- Unix Timestamp Converter - Convert between Unix timestamps and human-readable dates with timezone support
- Cron Expression Parser - Parse and validate cron expressions with next execution times, timezone support, and human-readable descriptions
- Elapsed Time Calculator - Calculate duration between two dates in seconds, minutes, hours, days, months, and years