ToolNimbus

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.

Time 1
Time 2

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-Hour12-Hour
00:0012:00 AM (midnight)
01:001:00 AM
02:002:00 AM
06:006:00 AM
12:0012:00 PM (noon)
13:001:00 PM
15:003:00 PM
18:006:00 PM
21:009:00 PM
23:0011:00 PM

Frequently Asked Questions

How do I convert military (24-hour) time to standard 12-hour time?

Use this rule: hours from 0000 to 1159 are AM (with 0000 written as 12:00 AM midnight), 1200 is 12:00 PM noon, and for any hour from 1300 to 2300 you subtract 12 and add PM. The minutes never change. The military time conversion chart above lists the most common times so you can look them up directly.

What is 1800 in regular time?

1800 in military time is 6:00 PM in standard 12-hour time. Because 18 is greater than 12, you subtract 12 (18 - 12 = 6) and add PM. You can see this and other examples in the 24-hour to 12-hour conversion chart on this page.

How do I convert seconds to hours and minutes?

Switch to Convert Time Units mode, enter your number, set From to Seconds, and set To to Hours or Minutes. For a combined hours-minutes-seconds breakdown instead of a single decimal, use Add/Subtract mode: type your seconds into the Seconds box of Time 1, leave Time 2 blank, and the result line shows the equivalent in h/m/s. As a quick reference, 3,600 seconds equals 1 hour and 60 seconds equals 1 minute.

How do I add hours and minutes together?

Pick Add / Subtract Time mode, enter the first span in the Hours and Minutes boxes of Time 1, make sure the + Add button is selected, then enter the second span in Time 2. The calculator instantly shows the combined total in hours, minutes, and seconds, plus the total number of seconds. It handles the carrying automatically, so 50 minutes plus 45 minutes correctly becomes 1h 35m 0s.

How do I calculate a duration that crosses midnight?

Split the span at midnight: measure the time from the start to midnight, then add the time from midnight to the end. For a 22:00 to 06:00 shift, that is 2 hours plus 6 hours, which you can add here to get 8 hours. For durations that span multiple calendar days, use the Date Calculator instead.

How many seconds are in an hour or a day?

There are 3,600 seconds in an hour (60 minutes times 60 seconds) and 86,400 seconds in a day (24 hours times 3,600). A full week contains 604,800 seconds. You can verify any of these in Convert Time Units mode by converting 1 hour, 1 day, or 1 week to seconds.

Does this tool have a clock-time mode to convert a specific time like 3:45 PM to 24-hour?

No. The Time Calculator works with durations and unit conversions, not clock times, so it does not have a built-in 12-hour to 24-hour clock converter mode. Use the military time conversion chart on this page for clock-time conversions, and use the calculator itself for adding, subtracting, and converting durations.

Why does subtraction never give me a negative result?

In Add/Subtract mode, subtraction returns the absolute difference between the two durations, so the answer is always shown as a positive amount of time. This means the order you enter Time 1 and Time 2 does not change the size of the gap, which is what you usually want when measuring elapsed time.

What time units can I convert between?

Convert Time Units mode supports seconds, minutes, hours, days, and weeks in any combination. Whole-number answers display as clean integers with thousands separators, and fractional answers are rounded to four decimal places for precision.

What if I want to work with someone's age or a span between two dates?

For a duration measured between two calendar dates, use the Date Calculator, and to find an exact age in years, months, and days, use the Age Calculator. This Time Calculator is best for durations expressed in hours, minutes, and seconds or for converting between time units.

Related Tools