Hours calculator
Calculate how many hours you worked between a start time and an end time, add or subtract durations, or fill in your whole week. You get the total in hours and minutes and in decimal hours.
Enter the start and end times to calculate the hours.
How it is calculated
- Formula
—- With your values
—
How to use it
- Choose what to calculate: one shift (from a start time to an end time), a sum or difference of durations, or your whole week.
- Type times the way you like: 8:30 AM, 5 PM, 14:30, or 0830. A time without AM or PM is read on the 24-hour clock. If the end time is earlier than the start time, the shift ends the next day.
- Add the break and, if you need it, open “Overtime and hourly rate” to see how many hours go over your regular hours and what they add up to.
- Copy the total in hours and minutes or in decimal hours, or download the week as a CSV file.
Frequently asked questions
How do I calculate a shift that crosses midnight?
Enter the start and end times as they appear on the clock, for example 10:00 PM and 6:00 AM. When the end time is earlier than the start time, the calculator treats it as the next day and adds 24 hours. From 10:00 PM to 6:00 AM with a 30-minute break is 7:30 hours. Without AM or PM, times are read on the 24-hour clock, so type 5 PM or 17:00 for the evening.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add the hours: 7:30 is 7.5 hours and 7:45 is 7.75 hours. The calculator always shows both forms, rounded to two decimals, and you can copy either one. Decimal hours are the ones you multiply by an hourly rate.
How is overtime calculated?
Overtime is the time beyond your daily hours and, in the weekly sheet, beyond the weekly limit. If you enter both, the larger of the two results is used so the same time is not counted twice. The premium you enter applies only to those hours; 50% is time and a half. In the United States, 40 hours a week is the usual federal threshold for overtime pay.
Can I enter the break in minutes or in hours?
Yes. A plain number is read as minutes (30), and a colon or a letter means hours (0:30, 1h, 1h30). A decimal is read as hours: 0.5 is 30 minutes.
Can I subtract hours?
Yes. In “Add and subtract”, each row can add or subtract. A negative result is shown with a minus sign. You can also paste a list with one duration per line and a hyphen before the ones to subtract.
Are my schedules saved?
Nothing is sent to a server; all calculations happen in your browser. Only if you turn on “Remember this schedule in this browser” is your week saved in this browser, so you can find it next time.
Hours and minutes, decimal hours
Hours are counted in base 60, but to multiply by an hourly rate you need decimals. A shift of 7 hours and 45 minutes is 7.75 hours; at $20 an hour, that is $155.
Overnight shifts
When the end time is earlier than the start time, the shift ends the next day. From 10:00 PM to 6:00 AM, 8 hours go by, and with a half-hour break you work 7 hours and 30 minutes.
Overtime
The calculator counts the hours above the daily hours and the weekly limit you enter. Rules vary by country, state, and contract. In the United States, the federal Fair Labor Standards Act requires overtime pay of at least one and a half times the regular rate for non-exempt employees after 40 hours in a workweek, and some states, such as California, also count hours over 8 in a day. Check the rules that apply to you before running payroll.
Tips
- Record the break separately so you do not lose minutes at the end of the week.
- For a full week, use the weekly sheet: repeat Monday on the other weekdays and change only what is different.
- Download the CSV to open it in your spreadsheet.
Updated on September 29, 2026