Time duration calculator: hours, minutes, seconds and breaks

Choose the duration you want to measure

A time duration calculator finds the interval between a starting time and an ending time. You can use it to plan a study session, measure a workshop, compare travel schedules or check a personal time record. This page separates the full interval from the duration left after a break. It also distinguishes ordinary clock arithmetic from a calculation that uses explicit UTC offsets. Those choices matter because an overnight interval, a daylight-saving transition and an afternoon appointment do not all follow the same assumptions.

Begin by choosing Two clock times for a same-day or next-day comparison. Choose Dates and times when the interval spans several dates or when you need to supply different UTC offsets for the endpoints. Enter the break separately. The main result reports the duration after that break in days, hours, minutes and seconds, with decimal hours and total minutes alongside it. The calculation remains visible below the answer so that you can check which values produced the result instead of relying on an unexplained number.

Enter clock times accurately

Use the time fields for the starting and ending clock readings. Depending on your browser and regional settings, the field may display a 12-hour time with AM or PM, or a 24-hour time. The calculator receives a complete hour and minute value, with seconds where supplied. In 24-hour notation, 00:00 is midnight and 12:00 is noon. A reading of 17:00 corresponds to 5:00 PM. Check these distinctions before interpreting an unexpectedly long or short duration.

Seconds matter when you are measuring a precise interval rather than estimating a schedule. For example, 09:00:30 to 09:01:00 is thirty seconds, not one full minute. The calculator retains whole-second precision in its underlying arithmetic. Decimal hours and decimal minutes are display conversions, so their final digits may be rounded for readability. If you need to preserve the exact result in another record, copy the total seconds or the hours, minutes and seconds instead of rounding a decimal value several times.

Calculate a same-day interval

For two times on the same day, subtract the start from the end. A session beginning at 09:00 and ending at 17:00 has a full duration of eight hours. If you enter a thirty-minute break, the remaining duration is seven hours and thirty minutes. The calculator shows both the before-break figure and the after-break result. This avoids a common ambiguity when someone reports “eight hours” without saying whether a lunch break or another interruption has already been removed.

Equal start and end times produce a zero-length interval when Next day is off. They do not automatically mean an entire day. A break must also be zero for that interval, since you cannot subtract more break time than the interval contains. If the end is earlier than the start, the calculator asks you to clarify the dates or enable Next day. It does not guess that every reversed pair of clock times represents an overnight event. That explicit choice helps catch accidental AM and PM mistakes.

Handle a crossing of midnight

Turn on End time is on the next day when the ending clock reading belongs to the following date. A start of 22:00 and an end of 06:00 then give eight hours before breaks. The formula adds one twenty-four-hour day before subtracting the clock readings. An identical start and end with Next day selected gives twenty-four hours. This differs from the zero result for identical readings on the same day, and the checkbox is the information that resolves the difference.

The next-day choice is literal. Starting at 09:00 and ending at 17:00 on the following day means thirty-two hours, rather than eight. If that is not what you intended, turn the checkbox off. For longer intervals, use Dates and times and specify both dates rather than trying to represent several days with a single overnight setting. The date-based mode also makes a record easier to review because someone else can see exactly which midnight boundaries are included in your calculation.

Use dates for multi-day events

In Dates and times mode, enter both a start date and an end date in addition to the clock readings. The supported dates run from 1600 through 2400 in the Gregorian calendar. The difference between the dates supplies the day component; the difference between clock readings supplies the remainder. For example, a start at 10:00 on Monday and an end at 13:30 on Wednesday gives fifty-one hours and thirty minutes before any break. The main result can display this as two days, three hours and thirty minutes.

The days in that result are groups of twenty-four hours. They are not calendar months, attendance days or the number of dates touched by the event. If you need to count dates inclusively, use the Date Difference calculator instead. An event from late Monday to early Tuesday touches two dates but may last only a few hours. Keeping date counts and time durations separate prevents an itinerary, study plan or booking estimate from mixing two different meanings of the word “day.”

Understand wall-clock arithmetic

With explicit offsets turned off, the calculator treats the entered dates and times as a continuous calendar with twenty-four-hour days. This is useful for comparing schedule labels or performing ordinary time subtraction. It does not identify a city or look up daylight-saving rules. A local clock can move forward or backward during a transition, so subtraction of the displayed local times may not equal the actual elapsed time between those moments. The page states this limitation beside the form.

Consider a clock that advances from 01:59:59 to 03:00:00. A pair of local readings from 01:30 to 03:30 appears two hours apart by simple clock arithmetic, although the elapsed interval is one hour if the offset advances by one hour between them. To represent that change, choose Dates and times and supply the correct offset at each endpoint. Do not compensate by also manually removing an hour as a break. The offset calculation already accounts for the difference between the two clock frames.

Supply UTC offsets when needed

An offset tells the calculator how far a local clock is ahead of or behind UTC. Enter it as a signed number of minutes. UTC minus five hours is minus 300; UTC minus four hours is minus 240; UTC plus five hours and thirty minutes is 330. The input accepts whole-minute offsets from minus 720 through plus 840. Each endpoint has its own offset because a time-zone transition or a journey can place the two clock readings under different offsets.

The formula converts each endpoint to a common basis: UTC instant equals local date and time minus the local UTC offset. It then subtracts the converted start from the converted end. You must provide the correct offsets for the actual dates and locations. This tool does not infer an offset from a country name, validate a local time against a regional time-zone database, or resolve an ambiguous repeated clock hour. If your source itinerary already gives UTC times, use a zero offset for both readings.

Work through an offset example

Suppose the start reading is 01:30 with an offset of minus 300 minutes, and the end reading is 03:30 on the same date with an offset of minus 240 minutes. The converted UTC readings are 06:30 and 07:30. The actual interval is one hour. With offsets disabled, the same clock labels produce two hours. Both outputs follow their selected assumptions, which is why the form makes the offset option visible instead of silently applying the computer's current time zone.

A backward change works in the opposite direction. A local 01:30 at minus 240 followed by a local 01:30 at minus 300 can represent one elapsed hour even though the displayed clock readings match. For travel between regions, use the dates printed for each local endpoint, including a date change if one occurs. After conversion, the end must still follow the start. If it does not, inspect the dates, offset signs and AM or PM values before changing anything else.

Subtract a break once

Enter the total break in minutes. The starting example uses thirty minutes, and the paired slider lets you explore another amount quickly. You can type an exact value if it is not convenient to select with the slider. Half a minute is thirty seconds. The calculator accepts a break that resolves to a whole number of seconds, rejects negative breaks, and rejects a break longer than the full interval. A break equal to the interval produces zero remaining time.

Combine multiple separate breaks into one total before entering them. For a fifteen-minute pause and a thirty-minute meal, enter forty-five minutes. This tool does not track where those breaks occurred, detect overlapping breaks or decide whether a break is paid. It subtracts the amount you supply exactly once. If your source time record already excludes interruptions, use a break of zero to avoid double subtraction. When sharing the result, state the gross interval and break separately so that the after-break figure is reproducible.

Read decimal hours correctly

Decimal hours express the same duration using base-ten fractions of an hour. Divide total seconds by 3,600 to obtain them. Seven hours and thirty minutes is 7.5 hours because thirty minutes is half an hour. Seven hours and fifteen minutes is 7.25 hours. A displayed number such as 7.30 decimal hours means seven hours and eighteen minutes, not seven hours and thirty minutes. This is a common source of mistakes when transferring time into a spreadsheet or reporting form.

The calculator also gives total minutes and total seconds. These are alternative units for the same after-break interval, not additional amounts to add together. Choose the unit required by your destination. If a system expects hours and minutes, use the component result. If it explicitly expects decimal hours, use that field and follow the system's rounding instructions. This page does not apply payroll increments, billing minimums, overtime thresholds or organizational rounding rules. Those rules need to be checked separately before using a duration as a payment quantity.

Explore the end time with a slider

The end-time slider represents seconds after midnight, from zero to 86,399. The paired numeric input allows an exact second value, while the normal time field remains available for familiar clock entry. Moving the slider updates the end time and recalculates the result. Entering a time directly updates the seconds-after-midnight value as well. This gives you two ways to explore a schedule without forcing you to convert every desired time manually.

The slider does not change the selected date or toggle the next-day checkbox. If you drag the ending clock before the starting clock in same-day mode, the form reports an invalid interval. Choose Next day or change the end date if that is the scenario you mean. This separation is intentional: a slider should not quietly add an entire day when you only intended to move a meeting by a few minutes. The result and chart clear when inputs are invalid, so an earlier answer is not mistaken for the new one.

Interpret the duration chart

The horizontal bar compares after-break seconds with break seconds within the full interval. A large orange share means a larger proportion was subtracted; a larger blue share means more of the interval remains. Exact values appear in the accompanying legend, which makes the result understandable without relying only on color. A zero-duration interval has no filled bar. The chart does not invent a minimum visible duration merely to keep a colored shape on the screen.

The two segments summarize quantities, not a chronological schedule. A break shown at the right side of the bar does not mean your break happened at the end of the session. Its position is just a convenient way to compare the totals. This distinction matters if you are planning several activities with required spacing. Use the chart to assess the overall balance between scheduled time and interruptions, then use an actual timetable to place individual breaks, lessons, appointments or travel segments where they belong.

Check the calculation before saving it

Use a small known example to confirm your settings. From 09:00 to 17:00 on the same day, with a thirty-minute break, the answer is seven hours and thirty minutes, or 7.5 decimal hours. Next try 23:30 to 00:15 with Next day enabled and no break: the result is forty-five minutes. A seconds example, 10:00:45 to 10:01:15, gives thirty seconds. These checks help identify an unintended overnight option, forgotten example break or mistaken clock format.

When saving a result, include the endpoint dates if applicable, the clock readings, the next-day choice, the offset settings and the break. A number without those assumptions is difficult to audit later. Calculations run in your browser, but this page does not create a durable timesheet or synchronize records to an account. Copy the information you need before leaving. For a formal attendance, travel or work record, retain the original schedule or timestamps as well, since the calculator evaluates your inputs and cannot independently confirm when an event actually happened.