Home/Date & Time/Time Calculator

Time Calculator

Add or subtract time values. Calculate elapsed time between two times, convert decimal hours to clock time, convert to military (24-hour) time, and work out speed, distance and time.

Quick Answer

Use the Add/Subtract Times tool below for HH:MM:SS arithmetic, the Time Difference tool to find elapsed time between two clock times, and the Time Unit Converter for seconds/minutes/hours/days/weeks conversions. For decimal-hours-to-clock-time (like payroll timesheets) and military time, see the reference tables further down the page.

Add / Subtract Times

Enter multiple time values to add or subtract. Format: HH:MM:SS

Result
Total Time
04:15:30
UnitValue
Time Difference (Between Two Clock Times)
Start Time
End Time
Crosses midnight?
Time Unit Converter
Value
From unit

Time Calculation Reference

UnitSecondsMinutes
1 minute601
1 hour3,60060
1 day86,4001,440
1 week604,80010,080
1 year (365d)31,536,000525,600

Decimal Time Calculator: Converting Decimal Hours to Time

Payroll systems, timesheets and invoicing often express hours as a decimal — 7.75 hours rather than 7 hours 45 minutes — because decimals are easier to sum and multiply by an hourly rate. Converting between the two formats is a common point of confusion: the fractional part of a decimal hour is not the same as minutes, since 0.75 hours is 45 minutes, not 75 minutes.

Decimal hours → minutes: minutes = decimal part × 60
Minutes → decimal hours: decimal part = minutes ÷ 60

Worked Example — Decimal to Time

Timesheet shows 7.6 hours worked.
Whole hours: 7. Decimal part: 0.6.
Minutes: 0.6 × 60 = 36 minutes.
Result: 7 hours 36 minutes.

Worked Example — Time to Decimal

Shift worked: 6 hours 20 minutes.
Minutes as a fraction of an hour: 20 ÷ 60 = 0.333.
Result: 6.33 decimal hours (rounded to 2 decimal places) — used to multiply by an hourly pay rate.

Military Time (24-Hour Clock) Reference

Military time — also called the 24-hour clock — avoids the AM/PM ambiguity of standard time by numbering hours 00 to 23 continuously through the day. It's standard in aviation, the armed forces, healthcare, logistics and most of the world outside the US, Canada, Australia's everyday speech and a handful of other English-speaking countries.

Standard (12-hour)Military (24-hour)
12:00 AM (midnight)00:00
9:00 AM09:00
12:00 PM (noon)12:00
1:00 PM13:00
5:30 PM17:30
11:59 PM23:59
Did you know? Converting PM times to military time is simple arithmetic: add 12 to any PM hour except 12 PM itself (which stays 12:00). So 5:30 PM becomes 17:30 (5+12=17), while 12:30 PM stays 12:30.

Speed, Distance and Time Calculator

The classic physics relationship between speed, distance and time rearranges to solve for whichever value is unknown, given the other two.

Speed = Distance ÷ Time
Distance = Speed × Time
Time = Distance ÷ Speed

Worked Example

A car travels 210 km in 3 hours. What was its average speed?
Speed = 210 ÷ 3 = 70 km/h.
Result: 70 km/h average speed.

Biweekly Time and Payroll Conversion

Biweekly pay periods (every 2 weeks, 26 pay periods a year) are common in Australian casual and shift-based payroll alongside the more typical weekly and fortnightly cycles. To convert a biweekly hours total into a pay figure: add up all shift hours across the 14-day period (in decimal form using the method above), then multiply by the hourly rate.

⏱️ Last Updated: June 2026 | Reviewed by Mohsin Iqbal

🔑 Key Takeaways

Time Conversion Reference

Decimal HoursHours and Minutes
0.25 hours15 minutes
0.5 hours30 minutes
0.75 hours45 minutes
1.33 hours1 hour 20 minutes
2.5 hours2 hours 30 minutes
7.75 hours7 hours 45 minutes

Estimating Download Time

Download time depends on file size and connection speed, and the two are commonly given in different units (megabytes for file size, megabits per second for connection speed) which trips people up. Since 1 byte = 8 bits, a connection advertised as "100 Mbps" downloads at roughly 12.5 MB/s, not 100 MB/s.

Download time (seconds) = File size (MB) × 8 ÷ Connection speed (Mbps)

Worked Example

File size: 500 MB. Connection: 50 Mbps.
500 × 8 = 4,000 megabits ÷ 50 Mbps = 80 seconds.
Result: approximately 1 minute 20 seconds (real-world speeds are usually somewhat lower than advertised).

Time Calculator Cheat Sheet

Decimal → time: minutes = decimal part × 60 (0.5h = 30min, not 50min)
PM → military time: add 12 to the hour (except 12 PM, which stays 12:00)
Speed = Distance ÷ Time · Distance = Speed × Time · Time = Distance ÷ Speed
Download time (sec) = File size (MB) × 8 ÷ Speed (Mbps)

Practice Questions

Beginner:

  1. Convert 3.5 hours to hours and minutes.
    Show answer

    3 hours 30 minutes (0.5 × 60 = 30).

  2. Convert 4:00 PM to military time.
    Show answer

    16:00 (4 + 12).

Advanced:

  1. A train travels 315 km in 4.5 hours. What is its average speed?
    Show answer

    315 ÷ 4.5 = 70 km/h.

  2. Convert 8 hours 20 minutes worked into decimal hours for payroll.
    Show answer

    20 ÷ 60 = 0.333, so 8.33 decimal hours.

Frequently Asked Questions

How do you add times together?

Convert all times to a common unit (seconds or minutes), sum them, then convert back. Example: 2h 45m + 3h 30m = (2×60+45) + (3×60+30) = 165 + 210 = 375 minutes = 6 hours 15 minutes. Alternatively: add minutes (75 minutes = 1h 15m), add hours (5+1=6), result = 6h 15m.

How do I convert decimal hours to hours and minutes?

Multiply the decimal part by 60. Example: 7.75 hours → 7 hours + 0.75×60 = 7 hours 45 minutes. 8.33 hours → 8 hours + 0.33×60 = 8 hours 20 minutes. Useful for converting payroll decimal hours back to clock time.

How do I calculate the time between two times?

Enter a start time and end time and this time calculator works out the elapsed time between them in hours and minutes. It also adds or subtracts durations, so you can add time to a starting point.

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

For AM times, military time matches standard time except midnight (12:00 AM becomes 00:00). For PM times, add 12 to the hour — 5:30 PM becomes 17:30 — except 12:00 PM (noon), which stays 12:00.

How do I calculate speed, distance or time from the other two?

Speed = Distance ÷ Time. Distance = Speed × Time. Time = Distance ÷ Speed. Keep units consistent — for example, kilometres and hours together give speed in km/h.

How long will a file take to download?

Download time (seconds) = file size in MB × 8 ÷ connection speed in Mbps. The ×8 converts megabytes to megabits, since internet speeds are advertised in bits, not bytes, per second. Real-world download speeds are usually somewhat below the advertised maximum.

⏱️ Last updated: August 2026 · Reviewed by Mohsin Iqbal