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.
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.
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.
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”.
First, each time is converted into a total number of minutes from midnight:
If the end time is later on the same day, the duration is simply:
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:
Once the calculator has the total minutes, it splits them into hours and minutes:
For planning and invoices, many people prefer decimal hours. The calculator shows:
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.
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.
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.
“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.
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.
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.
Other calculators in the Everyday category:
MaximCalculator provides simple, user-friendly tools. Always double-check any important numbers before making big financial, legal, or medical decisions.
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.