An hours calculator and weekly time card
This hours calculator works like a paper time card, but does the maths for you. Enter when you started and finished each day and how long your unpaid break was, and it totals your hours worked for the day and the week, in both hours-and-minutes and decimal hours. Add an hourly rate and it works out regular pay, overtime pay and gross pay, using a daily or weekly overtime rule and the multiplier you choose.
It suits hourly employees checking a payslip, freelancers billing by the hour, managers approving timesheets and anyone working night shifts — a 22:00 to 06:00 shift is counted correctly as eight hours. Your card is remembered in your browser, can be printed with signature lines, and exports to CSV for Excel or Google Sheets. Pay figures are estimates to help you check your numbers, not payroll or legal advice.
How to use the Hours Calculator
- Optionally type a name or project and the date the week starts — they appear on the printout and CSV.
- For each day, enter the start time, end time and unpaid break in minutes. Leave both times empty for a day off.
- Use “Add row” for a second shift on the same day (give it the same day name) and the × button to remove a row.
- Choose an overtime rule — after a number of hours per week or per day — and the multiplier, such as 1.5 for time-and-a-half.
- Enter your hourly rate and currency to see regular, overtime and gross pay, then print the time card, download CSV or copy the summary.
Hours Calculator features
Overnight shifts
If the end time is earlier than the start time, the shift is treated as running past midnight and marked “overnight”.
Daily or weekly overtime
Overtime can start after N hours in a week (as under the US FLSA) or after N hours in a day, with any multiplier.
Split shifts
Rows with the same day name are added together before daily overtime is applied.
Decimal hours
Every daily and weekly total is shown as h:mm and as a decimal, ready for payroll systems.
Print and CSV
Print a clean time card with signature lines — only the card is printed — or export every row and total to CSV.
Saved on your device
Times and settings are stored in your browser so you can fill the card in day by day.
How hours worked are calculated
For each row the calculator subtracts the start time from the end time, adds 24 hours if the shift crosses midnight, and subtracts the unpaid break. A day of 08:45 to 17:15 with a 45-minute lunch is 8 h 30 min minus 45 min = 7 h 45 min, which is 7.75 decimal hours. The weekly total is the sum of all rows.
Times are counted to the exact minute. Some employers round clock-ins to the nearest 5, 6 or 15 minutes; in the US that is only allowed when it averages out fairly over time, so if your payslip differs by a few minutes a day, rounding is the usual reason. Night shifts that span a daylight-saving change will be one hour longer or shorter in reality than on the card.
Overtime rules in different countries
Overtime law varies, so set the rule and multiplier to match your contract. Common reference points:
- United States: the Fair Labor Standards Act requires at least 1.5× the regular rate for hours over 40 in a workweek for non-exempt employees. Some states, such as California, also require daily overtime after 8 hours.
- India: under the Factories Act, 1948, factory workers have long been entitled to twice the ordinary wage for work beyond 9 hours a day or 48 hours a week; check the current labour code and your state rules.
- United Kingdom: there is no legal overtime premium — the rate is set by your contract — but average pay must not fall below the National Minimum Wage, and the Working Time Regulations cap the average week at 48 hours unless you opt out.
- Contracts often go further, with double time for Sundays or public holidays. To model that, add the extra hours at the higher rate separately or adjust the multiplier.
Example: a week with a night shift
Monday to Friday from 09:00 to 17:30 with a 30-minute break is 8 hours a day, 40 hours a week. Add a Saturday night shift from 22:00 to 06:00 and the week reaches 48 hours. With overtime after 40 hours at 1.5× and a rate of $20 an hour, pay is 40 × $20 = $800 regular plus 8 × $30 = $240 overtime, for $1,040 gross. In rupees at ₹250 an hour, the same week comes to ₹13,000.
Related tools
To time a single span, such as one shift or a series of clips, use the Time Duration Calculator. To turn an annual or monthly salary into an hourly rate, try the Salary Calculator, and to bill a client for the hours, the Invoice Generator creates a ready-to-send invoice.
Hours Calculator FAQ
How do I calculate hours worked?
Subtract the start time from the end time and then subtract any unpaid break. In this hours calculator you just enter the three values for each day and the daily and weekly totals appear instantly.
How do I calculate hours for a night shift?
Enter the start and end times as they appear on the clock, for example 22:00 and 06:00. Because the end is earlier than the start, the calculator adds 24 hours and marks the row as overnight.
How do I convert hours and minutes to decimal for payroll?
Divide the minutes by 60. 37 hours 30 minutes is 37.5 hours, and 7 hours 45 minutes is 7.75 hours. The calculator shows the decimal value next to every total.
How is overtime calculated?
With a weekly rule, every hour above the limit (for example 40) is overtime. With a daily rule, hours above the limit on each day are overtime. Overtime hours are paid at the hourly rate multiplied by your overtime multiplier, such as 1.5 or 2.
Is my time card saved?
Yes. It is stored in your browser’s local storage on this device, so you can come back and add days later. Nothing is uploaded. “Clear times” empties the card.
Does the gross pay include tax?
No. Gross pay is before income tax, social security, provident fund, National Insurance or any other deductions, so your take-home pay will be lower.