Hours Calculator

Find the duration between two times in hours and minutes and as decimal hours. Handles times past midnight. Free, instant, no sign-up.

Enter Two Times

If the end time is earlier than the start, it's treated as the next day.

Results

Enter your details to see results
Duration
0
Decimal Hours
0
Total Minutes
0
How We Calculated

Hours Calculator Guide

Find the time between two clock times — the duration in hours and minutes and as decimal hours. It handles times that run past midnight, so it works for shifts, study sessions, and travel.

How It Works

Duration = end time − start time. If the end time is earlier than the start, 24 hours is added so the period crosses midnight.

How Do I Calculate Hours Between Two Times?

Convert both times to minutes, subtract, and convert back. From 9:00 to 17:00 is 8 hours (8.0 decimal hours, or 480 minutes).

Minutes to Decimal Hours

MinutesDecimal Hours
20 min0.33
30 min0.50
45 min0.75

Need to subtract unpaid breaks for payroll? Use the Time Card Calculator. Counting whole days? See the Date Difference Calculator.

Frequently Asked Questions

How do I calculate hours between two times?
Convert both times to minutes, subtract the start from the end, then divide by 60 for hours.

How does it handle times past midnight?
If the end time is earlier than the start time, the calculator adds 24 hours so the duration spans midnight.

What are decimal hours?
Decimal hours express minutes as a fraction of an hour — 30 minutes is 0.5 hours — which is useful for payroll and billing.

What's the difference between this and a time card calculator?
This gives the plain duration between two times, while a time card calculator also subtracts unpaid breaks.

Need a Calculator We Don't Have Yet?

Can't find the calculator you need? We'll build it. Submit your request and we'll evaluate it for our growing collection.

Request Calculator

Explore Other Categories

🧬Biology ⚗️Chemistry 🔨Construction 📈Digital Marketing 🏡Home & Garden 🐾Pets & Animals 🍳Cooking & Food 💰Finance 💪Health & Fitness 🚗Automotive 🧮Math & Everyday 🔄Conversions