Time Difference Calculator (With Time Zones)

Enter two clock times and optional IANA time zones to get the real elapsed time plus the clock difference and the time-zone offset separately.

Time & Date 13 time zones Clock + real elapsed
Rate this calculator · 4.0 (1)

Time Difference (Clock + Zone)

IANA time zone database · standard-time offsets

Instructions — Time Difference Calculator (With Time Zones)

1

Pick a start time and end time

Enter the two clock times in HH:MM:SS form. The default settings give the same-day clock difference. If the end clock time is earlier than the start, the calculator assumes an overnight rollover and adds 24 hours.

2

Add time zones (optional)

Pick a time zone for each time to compute the real elapsed time across regions. The calculator subtracts the time-zone offset from the clock difference, so a 9 AM NYC start and 5 PM London end give 3 hours of real elapsed time, not 8.

3

Read clock vs real elapsed

The result panel separates the clock difference (raw subtraction) from the real elapsed time (corrected for zones). Use the clock difference for a same-zone span and the real elapsed time for any cross-zone calculation.

Quick rule: real elapsed = clock difference minus time-zone offset. NYC 9 AM → London 5 PM (clock diff 8 h) minus 5 h offset = 3 h of real elapsed time.
DST caution: the calculator uses standard-time offsets. For spans crossing a DST transition, convert both times to UTC first.

Formulas

The time difference between two clock times is the end clock time minus the start clock time, expressed in seconds. When the two times sit in different zones, the time-zone offset becomes a second variable that must be subtracted from the clock difference. The IANA time zone database is the canonical source of standard-time offsets for every region on earth.

Clock Difference
$$ \Delta t_{clock} = t_{end} - t_{start} $$
End clock time in seconds minus start clock time in seconds. If negative, add 86,400 to handle the next-day rollover.
Time Zone Offset
$$ \Delta o = o_{end} - o_{start} $$
End zone UTC offset minus start zone UTC offset, in hours. London is UTC+0 and New York is UTC-5, so London minus NYC equals +5 hours.
Real Elapsed Time
$$ \Delta t_{real} = \Delta t_{clock} - \Delta o \times 3600 $$
Subtract the offset (in seconds) from the clock difference. This is the actual amount of time that passed in the real world between the two events.
Overnight Rollover
$$ \text{if } \Delta t < 0 \text{ then } \Delta t = \Delta t + 86400 $$
When the end time comes before the start on the same date, the calculator assumes the end is on the following day and adds 86,400 seconds (24 hours).
Decimal Hours
$$ h_{dec} = \frac{\Delta t}{3600} $$
Divide total seconds by 3,600 to convert to decimal hours. 4 hours 30 minutes equals 4.5 decimal hours, the form used by payroll systems and spreadsheets.
Total Minutes
$$ m = \frac{\Delta t}{60} $$
Total seconds divided by 60. Useful for billing and timesheets that round to the nearest minute. 4 hours 30 minutes equals 270 minutes.

Reference

Quick Reference — Time Zone Differences (Standard Time)
FromToOffset9 AM From →?
New York (UTC-5)London (UTC+0)+5 h2 PM London
New York (UTC-5)Berlin (UTC+1)+6 h3 PM Berlin
London (UTC+0)Tokyo (UTC+9)+9 h6 PM Tokyo
Los Angeles (UTC-8)Tokyo (UTC+9)+17 h2 AM next day Tokyo
Warsaw (UTC+1)Chicago (UTC-6)-7 h2 AM Chicago
UTCKolkata (UTC+5:30)+5.5 h2:30 PM Kolkata
Sydney (UTC+10)Los Angeles (UTC-8)-18 h3 PM prev day LA
Dubai (UTC+4)New York (UTC-5)-9 hMidnight NYC

Real elapsed examples (cross-zone)

When two events happen in different zones, the clock difference and the real elapsed time diverge. The table below shows both for common business spans.

Business spans
SpanClockReal
NYC 9 AM to LON 5 PM8 h3 h
LON 9 AM to NYC 5 PM8 h13 h
LA 9 AM to NYC 5 PM8 h5 h
LON 9 AM to TYO 5 PM8 h-1 h*
NYC 9 AM to SYD 5 PM next day32 h17 h

* The Tokyo event happens before the London event in real time.

Clock difference only
StartEndDiff
09:0017:308:30
22:0006:008:00
10:1511:451:30
06:0014:008:00
14:0022:308:30

Note: offsets above are standard-time values from the IANA database. Daylight saving in spring and autumn shifts these by one hour for affected regions. The IANA database tracks every historical and current DST rule globally.

Article — Time Difference Calculator (With Time Zones)

Time difference calculator (with time zones)

The time difference between two clock times is the end clock time minus the start clock time. When the two times are in different zones, subtract the time-zone offset on top. New York 9 AM to London 5 PM has an 8-hour clock difference and a 5-hour zone offset, which leaves 3 hours of real elapsed time. The calculator separates the two so you can see both at once.

Time difference is the question behind every flight schedule, video call invitation, and timesheet entry that crosses a region boundary. The math is simple once the clock difference and the zone offset are tracked separately.

What time difference means

Time difference is the gap between two specific moments expressed in hours, minutes, and seconds. In a single zone, it equals the clock difference: end time minus start time. Across zones, it splits into two parts that need to be combined: the clock difference and the time-zone offset.

The IANA time zone database, maintained as a community project under the IANA name since 2011, is the canonical list of time-zone offsets and daylight saving rules for every region of the planet. Operating systems and time libraries read it for accurate cross-zone time math.

The time difference formula

Convert both clock times to seconds since midnight in their respective local zones. Subtract start from end. If the result is negative, add 86,400 to account for an overnight rollover. That is the clock difference. To get real elapsed time across zones, subtract the difference of UTC offsets (in hours times 3,600) from the clock difference.

Time difference formulas
clock_diff = t_end − t_start zone_diff = offset_end − offset_start
real_elapsed = clock_diff − zone_diff × 3600 if < 0, add 86,400

The two outputs answer different questions. The clock difference answers "how many hours of the day passed". The real elapsed time answers "how long did it actually take in the real world". For same-zone spans they are equal. For cross-zone spans they diverge by the zone offset.

Did you know

The IANA time zone database tracks 38 distinct standard-time offsets in use today, plus every historical change since 1970. India uses UTC+5:30 and Nepal uses UTC+5:45, two of the few non-hour offsets in the world. Kiribati moved its date line in 1995 to put the entire country on UTC+12 to +14.

Time difference across time zones

The time-zone offset is the gap between two cities measured from UTC. London is UTC+0 in winter and UTC+1 in summer. New York is UTC-5 in winter and UTC-4 in summer. The constant relationship is "London is 5 hours ahead of New York" most of the year. The week or two of mismatched DST transitions in March and October makes the gap briefly 4 or 6 hours.

NYC 9 AM
+5 h offset
to London
LON 5 PM
3 h real
elapsed time

Time difference across midnight

An overnight span is the most common edge case in time difference calculations. A night-shift worker clocks in at 22:00 and clocks out at 06:00. Subtracting 06:00 from 22:00 gives minus 16 hours, which is obviously wrong. The convention used by virtually every time library is to add 24 hours when the end is earlier than the start, producing a corrected 8-hour shift.

This convention assumes the span is less than 24 hours. For longer spans, the calculator's date-aware mode adds the explicit day difference. A start of 22:00 on day 1 and an end of 22:00 on day 3 totals 48 hours, computed as 2 days times 86,400 seconds with no within-day clock difference.

Time difference and UTC

Coordinated Universal Time, or UTC, is the global reference time scale maintained by international agreement among national metrology labs including NIST and the US Naval Observatory. Every time zone is defined as plus or minus a number of hours from UTC. UTC does not observe daylight saving.

The cleanest way to compute a time difference across zones is to convert both times to UTC, subtract there, and convert the result back to a clock format. Programming languages and modern operating systems all do this internally. The calculator above shows the result of both methods so you can see how the clock and real elapsed time relate.

Worked time difference examples

A flight from Los Angeles to Tokyo leaves at 10 AM local time and arrives at 2 PM local time the next day. The clock difference (LA to Tokyo) is 28 hours, but the zone offset is 17 hours (LA at UTC-8, Tokyo at UTC+9), so the real elapsed flight time is 11 hours. A working day for a remote employee in Warsaw working with a Chicago team is 7 hours, the zone offset between UTC+1 and UTC-6.

  • NYC to London = +5 hours (London ahead)
  • NYC to Tokyo = +14 hours (Tokyo ahead)
  • UTC to Kolkata = +5.5 hours
  • London to Sydney = +10 hours (standard time)
  • LA to NYC = +3 hours (NYC ahead)
  • Berlin to Warsaw = 0 hours (same zone)
  • UTC = the global reference time scale, no DST

Common time difference mistakes

Confusing clock difference with elapsed time

An 8 AM call from a New York office to a London office at 1 PM looks like a 5-hour difference on the calendar grid, but it represents 0 hours of real elapsed time: both parties picked up the phone at the same moment in UTC. The clock difference is a property of the display; the real elapsed time is a property of the universe.

The second common mistake is forgetting that DST shifts the offset for part of the year. The third is mixing 12-hour and 24-hour notation: 12:30 AM is half past midnight, not half past noon. The fourth is rounding minutes incorrectly when converting to decimal hours; 4 h 30 m is 4.5 hours, not 4.30.

Time difference and daylight saving

Daylight saving time shifts the clock by one hour for part of the year in most of Europe, North America, and parts of Australia and South America. The IANA time zone database publishes the exact rules for every region, including the dates of past and current DST transitions back to 1970. Equator-region countries do not observe DST; many Asian countries dropped it decades ago.

Tip

For any time difference that crosses a DST changeover, convert both times to UTC first using a time-zone-aware library, subtract in UTC, then convert the result back. The standard-time offsets used by this calculator are accurate for the rest of the year but can be off by one hour during the transition weeks.

FAQ

The standard-time offset is 5 hours. New York is UTC-5 and London is UTC+0, so London is 5 hours ahead. When London observes BST (March to October) and NYC observes EDT, the gap is still 5 hours. In the brief weeks when only one is on summer time, the gap shifts to 4 or 6 hours.
Take the clock difference (end time minus start time, both in 24-hour form) and subtract the time-zone offset in hours. NYC 9 AM to London 5 PM: clock diff = 8 hours, offset = +5 hours, real elapsed = 8 minus 5 = 3 hours.
UTC stands for Coordinated Universal Time, the global reference time scale maintained by NIST and the US Naval Observatory. All time-zone offsets are expressed as plus or minus hours from UTC. Using UTC for both ends of a span eliminates ambiguity from time zones and daylight saving.
The calculator detects when the end clock time is earlier than the start and adds 24 hours. 22:00 to 06:00 = 8 hours. The end time is treated as being on the following calendar day.
No. The calculator uses standard-time offsets from the IANA time zone database. For spans that cross a DST transition (typically the second Sunday in March and the first Sunday in November in the US), convert both times to UTC first using a current time-zone library.
Clock time is what the wall clock reads at a moment. Elapsed time is the amount of time that has passed between two moments. Across time zones the two diverge: an 8-hour clock difference between NYC 9 AM and London 5 PM is only 3 hours of real elapsed time.
There are 38 standard offsets from UTC currently in use, ranging from UTC-12 (Baker Island) to UTC+14 (Kiribati). Some regions use 30-minute or 45-minute offsets (India is UTC+5:30, Nepal is UTC+5:45). The IANA time zone database maintains every offset and DST rule globally.
Yes. Both are in Central European Time (UTC+1) and both observe Central European Summer Time (UTC+2) from late March to late October. The time difference between Warsaw and Berlin is zero hours, year round.