Time and Hours Calculator
Hours worked calculator
Add two times together
Use this time duration calculator to find how many hours and minutes are between two times.
This free Time and Hours Calculator works out how long a shift or task lasted, and shows the answer in the two formats people actually need. The first tool takes a start time, an end time and any unpaid break, then gives your hours worked as hours and minutes, as a total minute count, and as decimal hours. Decimal hours matter because payroll systems, invoices and timesheets almost always want a number like 7.75 rather than 7 hours 45 minutes, and converting by hand is a classic source of small, annoying mistakes.
Overnight shifts are handled properly: if the end time is earlier than the start time, the tool assumes the shift ran past midnight into the next day, which is exactly what night workers, nurses, drivers and security staff need. The second tool on the page adds two durations together, which is useful for totalling a morning and afternoon session, combining travel legs, or adding up practice or study time. Everything runs in your browser and nothing is saved or uploaded, so your working hours stay private.
How to use
- In the first card, enter the time the shift or task started.
- Enter the time it ended, and any break in minutes.
- Click Calculate hours to see hours and minutes plus decimal hours.
- To add durations, fill the hours and minutes boxes in the second card.
- Click Add times to see the combined total in three formats.
Frequently asked questions
How do I convert minutes into decimal hours?
Divide the minutes by sixty. Thirty minutes is 0.5 hours, fifteen minutes is 0.25 hours and forty five minutes is 0.75 hours. This calculator shows the decimal value automatically so you can copy it straight onto a timesheet.
What if my shift crosses midnight?
Just enter the times as normal. Because the end is earlier than the start, the calculator treats the end as the next morning and still gives the correct length, clearly noting that it did so.
Should I include my break time?
Enter unpaid breaks in the break box so they are subtracted. If your break is paid and counts as working time, leave the break at zero and the full span between start and end is counted.
Can I add more than two times?
Add the first two, note the total, then add that total to the next duration in the same boxes. Each calculation is instant, so chaining a few additions is quick.
What is a time duration calculator?
A time duration calculator finds the exact hours and minutes between a start time and an end time — for shifts, work hours and event planning.