Hour Calculator
Calculate hours worked between clock-in and clock-out times, deduct breaks, and track a full week with time card mode.
Last updated: March 2026
How to Use the Hour Calculator
- Choose your mode. Select Hours Between Times for a single shift calculation with an optional break deduction, or Time Card (Weekly) to track up to 7 days of hours in one go.
- Enter your clock-in time. Type the start time using 24-hour format (09:00 for 9 AM, 22:00 for 10 PM). The time input accepts HH:MM directly.
- Enter your clock-out time. If the end time is earlier than the start time, the calculator assumes an overnight shift and calculates accordingly.
- Enter break minutes (optional). If you have unpaid break time, type the total minutes in the Break field. This is subtracted from the gross hours to give net worked hours.
- Time Card mode: Enter start and end times for each day you worked. Leave days blank to skip them. The weekly total updates as you type.
- Read your results. The panel shows hours in HH:MM format, decimal hours for payroll, total minutes, and a breakdown of any break deducted.
What You'll Discover with This Calculator
The Hour Calculator gives you the complete picture of your worked time:
- Hours Worked (HH:MM): The net time after any break deduction, in hours and minutes format. This is what most pay stubs display.
- Decimal Hours: The same value as a decimal fraction (e.g., 8h 45m = 8.75). This is required for multiplying by an hourly rate, payroll software, and billing systems.
- Total Minutes: The entire worked duration expressed as a single minute count. Useful for converting to seconds or checking against time-tracking apps.
- Break Deducted: A confirmation of how many minutes were subtracted so you can verify the calculation is correct.
- Weekly Total (Time Card mode): The sum of all days entered, shown in both HH:MM and decimal format. Immediately tells you whether you've hit a 40-hour threshold for overtime.
Understanding Decimal Hours for Payroll
Standard clock time (hours and minutes) looks straightforward, but it can't be used directly in arithmetic. You can't multiply 8:45 by $20/hr in a calculator and get the right answer — because 8:45 in decimal is 8.75, not 8.45.
This confusion causes payroll errors that cost employees money every day. The fix is to always convert to decimal hours before calculating pay. The formula is simple:
- Decimal hours = whole hours + (minutes ÷ 60)
- Example: 8h 15m = 8 + (15 ÷ 60) = 8 + 0.25 = 8.25 decimal hours
- Example: 7h 48m = 7 + (48 ÷ 60) = 7 + 0.80 = 7.80 decimal hours
- Example: 10h 6m = 10 + (6 ÷ 60) = 10 + 0.10 = 10.10 decimal hours
Once you have decimal hours, multiply by your hourly rate to get gross pay. For example, 8.25 hours × $22/hr = $181.50. This is the same calculation your employer runs. Having the decimal hours in advance lets you verify your paycheck is correct before payday.
Most payroll software (QuickBooks, ADP, Gusto, Paychex) and spreadsheet tools use decimal hours internally. If you submit timesheets manually, decimal hours is the format your HR department wants. This calculator saves you the conversion step by showing decimal hours alongside every standard time result.
Tracking Hours for Overtime and Labor Law Compliance
In the United States, the Fair Labor Standards Act (FLSA) requires that non-exempt employees receive overtime pay — 1.5× their regular rate — for all hours worked beyond 40 in a workweek. Some states go further: California requires overtime for any day exceeding 8 hours, and double time for hours beyond 12 in a single day.
Accurate hour tracking is therefore not just convenient — it's legally important. Undercounting hours by even 15 minutes per day adds up to over an hour of unpaid time per week. Over a year, that's 50+ hours of uncompensated work.
Use the Time Card mode to log your exact start and end times each day. Compare the weekly total to 40 hours. If you've worked 43.5 hours, you're owed 3.5 hours at your overtime rate. This calculator makes that comparison instant.
How to Spot Overtime Quickly
With Time Card mode, the weekly decimal hours total makes it easy:
- Under 40 decimal hours: Standard straight-time pay for all hours
- 40.01–60 decimal hours: The excess above 40 is overtime in most US states
- Over 60 decimal hours: Verify applicable double-time thresholds for your state
For salaried exempt employees, overtime rules differ — but tracking hours is still valuable for workload management, project billing, and burnout prevention.
Who Uses the Hour Calculator
Hourly Employees and Shift Workers
If you clock in and out for shifts, this calculator gives you an instant preview of your hours before your employer processes payroll. Enter your times at the end of each shift and track your weekly total in real time. If your paycheck doesn't match your calculated total, you have a documented record to discuss with HR.
Freelancers and Contractors
Freelancers bill by the hour, so accurate time tracking directly impacts income. Use the hour calculator to log each client session. The decimal hours output plugs directly into your invoice: hours worked × hourly rate = amount to bill. No conversion needed.
Managers and Supervisors
Managers approving timesheets can use this tool to verify reported hours before submitting to payroll. Quickly cross-check whether an employee's claimed hours match the clock-in and clock-out times on the schedule.
Students with Part-Time Jobs
Part-time workers often work irregular hours across multiple days. The Time Card mode makes it easy to track a week's worth of shifts and confirm total hours before your paycheck arrives.
Project Managers and Consultants
Project billing often requires tracking time across multiple days against different task codes. Use the Time Card mode to capture each day's hours, then transfer the decimal totals to your project management or billing system.
How Do I Calculate Hours If...
How many hours is 8 AM to 5 PM?
8 AM to 5 PM is 9 hours (9.00 decimal hours). Enter 08:00 as start and 17:00 as end. With no break, the result is 9h 0m. With a 1-hour lunch break, net hours are 8h 0m (8.00 decimal hours).
How many hours is 9 AM to 5:30 PM?
9 AM to 5:30 PM is 8 hours and 30 minutes (8.50 decimal hours). Enter 09:00 and 17:30. Subtract a 30-minute break for a net of 8h 0m (8.00 decimal hours).
How many hours is 7 AM to 3:30 PM?
7 AM to 3:30 PM is 8 hours and 30 minutes (8.50 decimal hours). This is a common 8-hour shift with a 30-minute paid or unpaid break. Enter 07:00 and 15:30, then optionally enter 30 in the break field.
How many hours is 10 PM to 6 AM?
10 PM to 6 AM is 8 hours — an overnight shift. Enter 22:00 as start and 06:00 as end. Since the end is before the start, the calculator automatically adds 24 hours and returns 8h 0m.
How do I calculate 40 hours over 5 days?
Enter 5 days of 8 hours each in Time Card mode. For a standard 8-to-5 schedule with a 1-hour lunch, enter start 08:00, end 17:00, break 60 minutes for each day. The weekly total will show 40h 0m (40.00 decimal hours).
How do I calculate hours with a 45-minute break?
Enter 45 in the Break (minutes) field. The calculator subtracts 45 minutes from the gross time between start and end. For example, 8:30 to 17:15 is 8h 45m gross; after a 45-minute break, net hours are 8h 0m.
How many hours is 11:30 PM to 8 AM?
11:30 PM to 8 AM is 8 hours and 30 minutes. Enter 23:30 as start and 08:00 as end. The calculator detects the overnight span and returns 8h 30m (8.50 decimal hours).
How do I calculate overtime hours in a week?
Use Time Card mode and check the weekly total against 40 hours. Enter start and end times for each day worked. If the weekly total shows 44.5 decimal hours, you have 4.5 hours of overtime. In most US states, overtime is paid at 1.5× your regular rate for those excess hours.
How do I calculate hours for a part-time schedule?
Enter only the days you worked in Time Card mode. Leave blank days empty. The weekly total adds only the days with valid times entered, giving your accurate part-time total.
How many hours is a 12-hour shift?
A 12-hour shift from 07:00 to 19:00 is 12 hours (12.00 decimal hours). After a 30-minute unpaid break, net hours are 11h 30m (11.50 decimal hours). Common in healthcare, manufacturing, and hospitality.
People Also Search For
How to calculate hours worked in a week for payroll
Use Time Card mode and enter start and end times for each day of the workweek. The calculator totals all days and shows weekly hours in both HH:MM and decimal format. For payroll, take the decimal total and multiply by the hourly rate. For example, 38.75 hours × $20/hr = $775.00 gross pay.
How to convert hours and minutes to decimal for payroll
Divide the minutes by 60 and add to the whole hours. For example: 7 hours 36 minutes = 7 + (36 ÷ 60) = 7.60 decimal hours. This calculator does the conversion automatically — every result includes the decimal hours value alongside the HH:MM display.
How to calculate hours between two times in Excel
In Excel, subtract start from end and multiply by 24: =(B2-A2)*24. Format both cells as Time (HH:MM) first. The result is decimal hours. If the shift crosses midnight, use =MOD(B2-A2,1)*24. This online calculator is faster for one-off calculations without opening a spreadsheet.
How many hours is a full-time work week
A full-time work week is typically 40 hours in the United States. This is the standard set by the Fair Labor Standards Act. Hours above 40 are generally paid as overtime at 1.5× the regular rate for non-exempt employees. Some industries and countries define full-time differently — the EU average is 37.5–38 hours per week.
Free timesheet calculator for employees
This hour calculator functions as a free digital timesheet. Use Time Card mode to enter your clock-in and clock-out times for up to 7 days. The calculator acts as a simple weekly timesheet, showing each day's hours and the weekly total. No account, no signup, and no data is stored — 100% private.
How to calculate billable hours for freelancers
Track each client session using the Hours Between Times mode. Enter your session start and end time to get the decimal hours. Multiply by your hourly rate to get the invoice amount. For sessions across multiple days with the same client, use Time Card mode and note the weekly decimal total on your invoice.
Frequently Asked Questions
How do I calculate hours between two times?
Enter your start time and end time in HH:MM format (24-hour). The calculator instantly shows hours worked in HH:MM, decimal hours, and total minutes. No need to click a button — results update as you type.
How do I deduct a lunch break from my hours?
Enter the break duration in the Break (minutes) field. For a 30-minute lunch, type 30. The calculator subtracts the break from the gross hours and shows the net worked hours in both HH:MM and decimal format.
What is the Time Card mode?
Time Card mode displays a row for each day of the week (Monday through Sunday). Enter start and end times for each day you worked. The calculator shows each day's hours and a weekly grand total. Leave days blank to skip them.
Can this calculator handle overnight shifts?
Yes. If the end time is earlier than the start time (e.g., start 22:00, end 06:00), the calculator automatically assumes the end is the next day and returns the correct 8-hour result. This applies in both single-shift and Time Card mode.
What does decimal hours mean?
Decimal hours express time as a fraction: 8h 30m = 8.50, 7h 15m = 7.25. Payroll systems require decimal hours to multiply by hourly rates. Formula: decimal hours = hours + (minutes ÷ 60). This calculator shows decimal hours automatically for every result.
How many hours is 9 AM to 5 PM?
9 AM to 5 PM is 8 hours (8.00 decimal hours). Enter 09:00 as start and 17:00 as end. With no break, the result is 8h 0m. With a 30-minute break, net hours are 7h 30m (7.50 decimal hours).
Is this the same as a timesheet calculator?
Yes, in Time Card mode this functions as a digital timesheet. Enter your daily start and end times and it calculates each day plus the weekly total — the same information a paper timesheet captures. It's free, requires no account, and stores nothing.
How do I calculate overtime?
Use Time Card mode to track all hours worked in a week. If the weekly total exceeds 40 hours in the US (or your local threshold), the excess hours are overtime. Multiply the overtime hours by 1.5× your regular hourly rate to calculate overtime pay.
Is my data stored or shared?
No data is ever sent to a server. All calculations run in your browser using JavaScript. Your schedule, hours, and any other inputs are completely private and never stored or shared with anyone.
What time format does this calculator use?
The calculator uses 24-hour (military) time format via HTML time inputs: 09:00 for 9 AM, 13:30 for 1:30 PM, 22:00 for 10 PM. This avoids AM/PM ambiguity and is the standard format used by payroll and scheduling systems worldwide.
How do I calculate hours for a 10-hour shift?
Enter your start time and end time. A 10-hour shift starting at 06:00 ends at 16:00. Enter 06:00 and 16:00 to confirm 10h 0m. With a 30-minute break, net hours are 9h 30m. 10-hour shifts are common in construction, manufacturing, and healthcare.
Can I use this to invoice clients?
Yes. Enter your session start and end times to get total hours worked and the decimal equivalent. Multiply decimal hours by your hourly rate to get the invoice amount. For multi-day projects, use Time Card mode to sum all hours, then apply your rate to the weekly decimal total.