Time Calculator
The Time Calculator is a free, fast tool for working with durations and time units. Use it to add or subtract two spans of time in hours, minutes, and seconds, or to convert a value between seconds, minutes, hours, days, and weeks. It runs entirely in your browser with instant results, no sign-up, and no limits. This page also includes a complete military time converter chart so you can read 24-hour to 12-hour standard time at a glance.
How to Use
Start by choosing one of the two modes at the top: "Add / Subtract Time" or "Convert Time Units." In Add/Subtract mode, type the Hours, Minutes, and Seconds for Time 1, pick the "+ Add" or "- Subtract" button in the middle, then enter Time 2 the same way; the result appears automatically as h/m/s along with the total number of seconds. In Convert mode, enter a number in the Value field, choose your starting unit in the "From" dropdown and your target unit in the "To" dropdown (seconds, minutes, hours, days, or weeks), and the converted figure updates as you type. Every field accepts plain numbers, blank boxes count as zero, and there is no separate calculate button to press.
Why This Tool Is Useful
Time math is deceptively error-prone because it is not base-10: sixty seconds make a minute and sixty minutes make an hour, so adding 45 minutes to 50 minutes in your head invites mistakes. This calculator handles the carrying for you, instantly normalizing any combination of hours, minutes, and seconds into a clean total. It is ideal for adding up billable hours, totaling workout splits, planning cooking or process timings, or converting a stopwatch reading in seconds into a readable hours-and-minutes figure. Because it shows both the formatted result and the raw total seconds, you can copy whichever form a spreadsheet, payroll system, or script needs.
How to Add and Subtract Hours and Minutes
The Add/Subtract mode treats each entry as a duration rather than a clock time, so you can freely combine large values. Enter Time 1 across the Hours, Minutes, and Seconds boxes, select the add or subtract operation, then fill in Time 2. The tool converts both entries to total seconds, applies the operation, and converts the answer back into a tidy hours, minutes, and seconds result plus a running total in seconds.
Subtraction always returns a positive value: the calculator shows the absolute difference between the two durations, so the order you enter them does not change the size of the gap. That makes it a quick hours and minutes calculator for elapsed-time questions such as how long a task ran or how much time is left. Each box accepts whole numbers, so enter partial units in a smaller field (for example, 90 in the Minutes box) rather than as a decimal.
How to Convert Seconds to Hours and Minutes (and Other Units)
Switch to Convert Time Units mode to translate a single number between seconds, minutes, hours, days, and weeks. Type the value, set the From unit and the To unit, and read the converted result instantly. To convert seconds to hours, for example, choose From = Seconds and To = Hours; 7200 seconds returns 2 hours.
Whole-number answers are shown as clean integers with thousands separators, while fractional answers are rounded to four decimal places so small conversions stay precise. If you want a duration broken into a combined hours, minutes, and seconds display rather than a single decimal unit, use the Add/Subtract mode instead and enter your value in the Seconds box of Time 1 with Time 2 left blank.
- Seconds to minutes: divide by 60 (3,600 seconds = 60 minutes)
- Seconds to hours: divide by 3,600 (7,200 seconds = 2 hours)
- Minutes to hours: divide by 60 (150 minutes = 2.5 hours)
- Hours to days: divide by 24 (36 hours = 1.5 days)
- Days to weeks: divide by 7 (21 days = 3 weeks)
Military Time Converter: Reading 24-Hour to 12-Hour Time
Military time, also called 24-hour time, counts the hours of the day straight through from 00 at midnight to 23 at the last hour, instead of restarting at 12 twice a day. It is written as a four-digit figure such as 0930 or 1800 and is used widely in the military, aviation, healthcare, transport schedules, and most of the world outside the United States. Its big advantage is that it removes AM/PM ambiguity entirely: 1800 can only mean one moment, whereas 6:00 could be morning or evening.
To use this as a military time converter, follow one simple rule when changing 24-hour to standard 12-hour time. For any hour from 0000 to 1159 the time is AM, with 0000 read as 12:00 AM (midnight). For 1200 it is 12:00 PM (noon). For any hour from 1300 to 2300, subtract 12 from the hour and add PM, so 1800 becomes 18 minus 12 equals 6:00 PM. This tool focuses on duration math and unit conversion, so use the 24-hour to 12-hour chart below as your reference for clock-time conversions.
- Hours 0000-1159 are AM (0000 = 12:00 AM midnight)
- 1200 is exactly 12:00 PM (noon)
- For 1300-2300, subtract 12 and add PM
- Minutes stay the same; only the hour changes
Calculating a Duration That Crosses Midnight
A common real-world puzzle is finding how long something lasts when it starts on one day and ends after midnight, such as a night shift from 22:00 to 06:00. The trick is to split the span at midnight. Measure from the start time to 24:00 (midnight), then add the time from midnight to the end time.
For the 22:00 to 06:00 example, that is 2 hours up to midnight plus 6 hours after midnight, for a total of 8 hours. You can confirm it here in Add/Subtract mode: enter 2 hours as Time 1, choose Add, enter 6 hours as Time 2, and the result reads 8h 0m 0s. For start and end dates that span calendar days, the Date Calculator is a better fit.
Common Time Math People Use This For
Because the calculator works in pure durations, it fits a wide range of everyday and professional tasks. It is just as comfortable totaling tiny stopwatch splits as it is summing a full week of logged hours.
Below are some of the most frequent uses people reach for when they open a time calculator.
- Adding up billable or freelance hours across several sessions
- Totaling lap times, run splits, or cooking and process timers
- Converting a raw seconds reading into readable hours and minutes
- Working out remaining time by subtracting elapsed from total
- Translating durations into days or weeks for project planning
How the Time Calculator Works Behind the Scenes
Every duration you enter is converted to a single base unit: seconds. The Add/Subtract mode multiplies your hours by 3,600 and your minutes by 60, sums them with your seconds for each time, then adds or subtracts the two totals. The final number of seconds is split back out by taking whole hours first, then whole minutes from the remainder, then the leftover seconds.
The Convert mode uses the same base-unit approach with fixed conversion factors: 1 minute = 60 seconds, 1 hour = 3,600 seconds, 1 day = 86,400 seconds, and 1 week = 604,800 seconds. Your value is multiplied to seconds and divided into the target unit, which is why the conversions are always exact and reversible.
Military Time to Standard Time Conversion Chart (24-Hour to 12-Hour)
| 24-Hour | 12-Hour |
|---|---|
| 00:00 | 12:00 AM (midnight) |
| 01:00 | 1:00 AM |
| 02:00 | 2:00 AM |
| 06:00 | 6:00 AM |
| 12:00 | 12:00 PM (noon) |
| 13:00 | 1:00 PM |
| 15:00 | 3:00 PM |
| 18:00 | 6:00 PM |
| 21:00 | 9:00 PM |
| 23:00 | 11:00 PM |