MaximCalculator Free, fun & accurate calculators
⏱️ Platinum time & productivity layout
🌙Dark Mode

Time Duration Calculator

This free Time Duration Calculator shows how long something lasts between two clock times – in hours and minutes – with a clear explanation. Perfect for work shifts, study sessions, events, workouts, and daily planning.

Ultra-fast hours & minutes difference
📊Shows duration, total minutes & decimal hours
🧮Handles overnight times automatically
📱Great for screenshots, reels & sharing

Enter your start and end time

Pick the start time and end time of your task, shift, class, or event. The calculator will instantly show the total duration – including overnight cases like 10:00 PM to 6:00 AM.

🟢
🔴
📝
Your time duration will appear here
Enter both times and tap “Calculate Duration” to see how long it lasted.
The calculator assumes the end time can be on the next day if it is earlier than the start time.
Quick visual feel: short burst vs medium session vs long stretch.
ShortMediumLong

This Time Duration Calculator is for everyday use and planning only. For payroll, legal time tracking, or invoices, always follow your official system and policies.

📚 Formula & Examples

How the Time Duration Calculator works

Under the hood, this tool converts your start and end times into minutes since midnight, subtracts them, and then converts the difference back into hours and minutes. It’s simple, fast, and designed to match how humans naturally talk about time: “2 hours 45 minutes”, “a 90-minute session”, “about 6.5 hours”.

Step 1 – Convert both times to minutes

First, each time is converted into a total number of minutes from midnight:

  • Total minutes = hours × 60 + minutes
  • Example: 09:30 → 9 × 60 + 30 = 570 minutes
  • Example: 14:15 → 14 × 60 + 15 = 855 minutes
Step 2 – Calculate the raw difference

If the end time is later on the same day, the duration is simply:

  • Duration (minutes) = End minutes – Start minutes
  • From 09:30 to 14:15 → 855 – 570 = 285 minutes
Overnight rule (crossing midnight)

If the end time is “earlier” than the start time (for example 22:00 to 06:00), the calculator assumes the end time is on the next day and adds 24 hours:

  • Duration = (End minutes + 24 × 60) – Start minutes
  • 22:00 → 1320 minutes, 06:00 → 360 minutes
  • Duration = (360 + 1440) – 1320 = 480 minutes (8 hours)
Step 3 – Convert back to hours & minutes

Once the calculator has the total minutes, it splits them into hours and minutes:

  • Hours = floor(totalMinutes ÷ 60)
  • Minutes = totalMinutes mod 60
  • 285 minutes → 4 hours and 45 minutes
Decimal hours and quick mental checks

For planning and invoices, many people prefer decimal hours. The calculator shows:

  • Decimal hours = totalMinutes ÷ 60
  • 90 minutes → 1.5 hours, 75 minutes → 1.25 hours

You can use the decimal form for things like “1.5 hours × hourly rate” while the friendly description (“1 hour 30 minutes”) is easier to read in chats and notes.

❓ FAQ

Time Duration Calculator – Frequently Asked Questions

  • Does it support overnight times?

    Yes. If your end time is earlier than your start time (for example, 21:30 to 03:00), the calculator assumes you crossed midnight and automatically treats the end time as being on the next day.

  • What format should I use?

    Use a standard 24-hour or 12-hour time via the time picker (for example 09:00, 14:30, 22:15). Your browser’s time input handles the heavy lifting, so you don’t have to worry about formatting mistakes.

  • What’s the difference between hours:minutes and decimal hours?

    “2 hours 30 minutes” is human-friendly; “2.5 hours” is invoice-friendly. Both describe the same duration. The calculator shows you both so you can use whichever fits your context.

  • Can I use this for salary or legal time logs?

    You can use it as a quick helper, but official time tracking should always follow your company’s or country’s rules. Treat this as a convenient check, not a legally binding timekeeping system.

  • How can I make the results more shareable?

    After you calculate, use the copy or share buttons to send the summary to your manager, client, or group chat. Many people also screenshot the colored duration card for stories, reels, or productivity posts.

MaximCalculator’s Time Duration Calculator is built for clarity and speed. Use it to sanity-check your calendar, plan your day, and track sessions – then explore more Everyday tools above to upgrade your entire daily toolkit.