This tool runs entirely on your device. Your files and the text you enter are processed by your browser and are never sent to a server.
Hours Calculator
Calculate hours worked: enter a start time, end time and break for each day, and get daily and weekly totals as hours and minutes (7:45) and decimal hours (7.75). Add an hourly rate to see overtime and gross pay, or download the time card as CSV. Overnight shifts and 12- or 24-hour times just work.
Time card
Type times like 9, 9:30am, 0930 or 21:30. An end time earlier than the start counts as an overnight shift. Break is in minutes.
- 8:008.00 h
- 8:008.00 h
- 8:008.00 h
- 8:008.00 h
- 8:008.00 h
- —
- —
Pay and overtime (optional)
Weekly total
40:00
40.00 decimal hours
- Regular
- 40:00 · 40.00 h
- Overtime
- 0:00 · 0.00 h
Time between two times
8:30 = 8.50 hours
Add or subtract time
1:15 AM +1 day
How to calculate hours worked
- Enter your shifts. For each day, type the start and end time, such as 9am and 5:30pm or 09:00 and 17:30, and the unpaid break in minutes. Leave days you didn't work empty.
- Read the totals. Each row shows the hours worked as h:mm and as decimal hours. The weekly total adds up all rows. An end time earlier than the start is treated as an overnight shift.
- Add pay and overtime (optional). Enter your hourly rate and choose weekly overtime (after 40 hours) or daily overtime (after 8 hours) with a multiplier such as 1.5. The calculator splits regular and overtime hours and shows gross pay.
- Copy or download. Click Copy result for a text summary or Download CSV to open the time card in Excel or Google Sheets. Your rows are kept in this browser for next time.
Features
- Weekly time card with Mon–Sun rows; add or remove rows
- 12-hour (9:30 PM) and 24-hour (21:30) input, plus shortcuts like 9a or 0930
- Overnight shifts that end after midnight
- Daily and weekly totals in h:mm and decimal hours
- Overtime after 40 hours a week or 8 hours a day, adjustable, with a 1.5× default multiplier
- Gross pay with regular and overtime pay
- Time between two times, and add or subtract a duration
- Copy result and CSV download
- Rows saved in your browser; nothing is uploaded
Frequently Asked Questions
How do I calculate hours worked?↓
Subtract the start time from the end time, then subtract unpaid breaks. For example, 9:00 AM to 5:30 PM is 8 hours 30 minutes; minus a 30-minute lunch gives 8:00 hours. If the shift ends after midnight, add 24 hours to the end time first: 10:00 PM to 6:00 AM is 8 hours.
How do I convert hours and minutes to decimal hours?↓
Divide the minutes by 60 and add them to the hours. 7 hours 45 minutes is 7 + 45/60 = 7.75 hours, and 8:20 is 8.33 hours. Payroll uses decimal hours because you can multiply them by the hourly rate: 7.75 × $20 = $155.
How is overtime calculated?↓
With weekly overtime, hours above 40 in the week are overtime. With daily overtime, hours above 8 in a single day are overtime. Overtime hours are paid at the rate times the multiplier, usually 1.5 (time and a half). For 45 hours at $20, that is 40 × $20 + 5 × $30 = $950. Overtime rules differ by country, state and contract, so check the ones that apply to you.
Does the calculator handle night shifts?↓
Yes. If the end time is earlier than the start time, the shift is counted as running past midnight. 10 PM to 6 AM with a 30-minute break gives 7:30 hours. A start and end at the same time counts as 0 hours, not 24.
Are my time card entries saved?↓
The rows and settings are saved in your browser's local storage, so they are still there when you come back on the same device. Nothing is sent to a server. Use Clear times or Reset to Mon–Sun to start over.
You might also need
All Calculators →Date Calculator
Days between dates, add or subtract days.
Timer & Stopwatch
Countdown timer and stopwatch with laps.
Invoice Generator
Make invoices and quotes, then save as PDF.
Time Zone Converter
Compare times across world time zones.
Percentage Calculator
Percent of, change and difference.
Age Calculator
Exact age in years, months and days.
Last updated: