Hours Calculator
Hours worked between two times, plus weekly total & pay
๐ Time entries
โฑ๏ธ Total hours worked
๐ Daily breakdown
| Day | Hours (hh:mm) | Decimal | Pay |
|---|---|---|---|
| Mon | 7h 30m | 7.50 | $150.00 |
| Tue | 7h 30m | 7.50 | $150.00 |
| Wed | 7h 30m | 7.50 | $150.00 |
| Thu | 7h 30m | 7.50 | $150.00 |
| Total | 30h 00m | 30.00 | $600.00 |
Estimate only โ not payroll, tax or legal advice. Gross pay is before taxes and deductions. The overtime split applies a federal 40-hour weekly threshold at 1.5ร for illustration; your state rules, daily overtime laws, and employer policy may differ.
Last updated June 2026
Method: Hours worked = end time โ start time โ unpaid break, computed in whole minutes and shown as decimal hours and hh:mm. Overnight shifts (end before start) roll over midnight. The optional overtime split applies the federal Fair Labor Standards Act (FLSA) 40-hour weekly threshold at 1.5ร.
Included: Per-day hours, a weekly total, decimal and hours-minutes formats, gross pay from an hourly rate, and a regular/overtime breakdown over 40 hours.
Not included: Taxes and withholdings, state-specific daily overtime or double-time rules, employer time rounding, and shift differentials. Results are estimates, not payroll.
Hours calculator: everything you need to know
You clocked in at 9:00 AM, clocked out at 5:30 PM, and took a 30-minute unpaid lunch. How many hours did you actually work? The answer is 8 hours โ but doing that subtraction across five days, with breaks and the occasional late night, is exactly where timesheets go wrong. This hours calculator takes your start time, end time, and break for each day and returns the hours worked in two formats โ decimal hours (8.00) for payroll and hours-and-minutes (8h 00m) for a quick clock-style check โ then adds up your week and, if you enter an hourly rate, estimates your gross pay.
How hours worked are calculated
The core formula is simple subtraction, in this order:
Hours worked = (End time โ Start time) โ Unpaid break The calculator converts each time to minutes since midnight, subtracts to get the shift length, removes the unpaid break, and divides by 60 for decimal hours. When the end time is earlier than the start time, it adds 24 hours so an overnight shift comes out positive instead of negative.
Converting between decimal hours and minutes
Payroll runs on decimal hours because you can multiply them straight by a pay rate. To convert minutes to a decimal, divide by 60. The most common values are worth memorizing:
| Minutes | Decimal hour | Minutes | Decimal hour |
|---|---|---|---|
| 5 min | 0.08 | 35 min | 0.58 |
| 10 min | 0.17 | 40 min | 0.67 |
| 15 min | 0.25 | 45 min | 0.75 |
| 20 min | 0.33 | 50 min | 0.83 |
| 25 min | 0.42 | 55 min | 0.92 |
| 30 min | 0.50 | 60 min | 1.00 |
So 7 hours and 45 minutes is 7.75 decimal hours, and 6 hours 20 minutes is 6.33 hours. Going the other way, multiply the fractional part by 60: 0.25 decimal hours is 0.25 ร 60 = 15 minutes.
How to use this hours calculator
You only need three numbers per day. Work down the rows:
- Start time: enter when your shift began in 24-hour HH:MM (for example 09:00, or 14:30 for 2:30 PM).
- End time: enter when you clocked out. If it is the next morning, just type the morning time โ the calculator detects the overnight roll-over.
- Break (min): enter your unpaid break in minutes. Leave it at 0 if your breaks are paid.
- Add another day: use the button to add a row for each day of the week. The weekly total updates as you go.
- Hourly rate: tick "Calculate gross pay" and enter your rate to estimate earnings. Any hours over 40 are split out at 1.5ร.
The big number at the top is your total in decimal hours, with the hh:mm equivalent underneath. The daily breakdown table shows each day's hours and pay so you can reconcile against a paper timesheet.
Who this calculator is for
- Hourly employees checking that a paycheck matches the hours they actually worked.
- Freelancers and contractors totaling billable time across a week before invoicing a client.
- Small-business owners and managers tallying staff timesheets without a payroll system โ the Timesheet Calculator adds a fuller multi-day layout.
- Shift and overnight workers who need a tool that handles times that cross midnight.
- Students and part-timers estimating gross pay before taxes for budgeting.
Worked example 1: a standard day
You start at 08:00, finish at 16:30, and take a 30-minute unpaid lunch. The raw shift is 8 hours 30 minutes (510 minutes); subtract the 30-minute break and you worked 8 hours 0 minutes, or 8.00 decimal hours. At $20/hour that is $160 gross for the day.
Worked example 2: an overnight shift
A night-shift worker clocks in at 22:00 and out at 06:30 with a 45-minute unpaid meal break. Because the end time is earlier than the start, the calculator rolls over midnight: 22:00 to 06:30 spans 8 hours 30 minutes (510 minutes). Subtract the 45-minute break and the net is 7 hours 45 minutes, or 7.75 decimal hours. Without the overnight handling, naive subtraction would have produced a meaningless negative result.
Worked example 3: a full week with overtime
Suppose you work 9:00โ17:30 with a 30-minute lunch (8.00 h) Monday through Friday, plus a 9:00โ14:00 Saturday shift with no break (5.00 h). That is 45.00 hours for the week. At $22/hour, the first 40 hours are regular pay (40 ร $22 = $880) and the 5 overtime hours are paid at time-and-a-half (5 ร $22 ร 1.5 = $165), for $1,045 gross. The calculator separates the regular and overtime pay so you can see exactly where the extra comes from.
Paid vs. unpaid breaks
Whether a break counts as work time changes your total. Under U.S. Department of Labor rules, short rest breaks (commonly 5 to 20 minutes) are generally paid and counted as hours worked, while a bona fide meal period (usually 30 minutes or more, during which you are completely relieved of duty) is unpaid and excluded. Only enter unpaid time in the break field โ if you keep working through lunch, that time is compensable and should not be deducted.
Overtime: the 40-hour rule
The federal Fair Labor Standards Act requires that nonexempt employees be paid at least 1.5 times their regular rate for hours over 40 in a workweek. There is no federal daily overtime rule, but several states impose one (for example overtime after 8 hours in a day, and double-time after 12). This calculator applies the federal weekly threshold; if your state has stricter rules, your real pay may be higher. For a deeper breakdown of premium pay โ including daily rules and double-time โ the dedicated Overtime Calculator is the better fit.
Time rounding and the seven-minute rule
Many employers round clock punches, often to the nearest quarter hour. The common "seven-minute rule" rounds down for the first 7 minutes past a quarter-hour mark and up from minute 8. Rounding is legal only if it is neutral over time and does not systematically reduce pay. This calculator works to the exact minute, so if your employer rounds, your paystub can differ slightly from the figure here.
Key time and payroll terms
- Decimal hours: hours expressed as a decimal (7.50) rather than hours and minutes (7h 30m); used to multiply by a pay rate.
- Gross pay: earnings before any taxes or deductions โ hours ร rate (plus overtime).
- Net pay: take-home pay after withholdings; always lower than gross.
- Workweek: a fixed, recurring 168-hour period (seven consecutive 24-hour days) used to figure weekly overtime.
- Nonexempt employee: a worker entitled to minimum wage and overtime under the FLSA.
- Shift differential: extra pay for less desirable hours (nights, weekends); not included in this calculator.
Common questions about the math
People often ask why a "9 to 5" is not always 8 hours of pay โ the answer is the unpaid lunch, which turns it into 7.5. Others wonder why their decimal total has trailing digits like 38.33; that comes from minutes that do not divide evenly into 60 (20 minutes is one-third of an hour). And the most frequent surprise is that gross pay looks high relative to the deposit in the bank: that gap is taxes and withholdings, which this tool does not subtract. To estimate take-home pay after federal and state withholding, move the gross figure into the Paycheck Calculator.
Reading a time card and 12-hour vs 24-hour time
The single most common entry mistake is mixing 12-hour clock readings with 24-hour input. A paper time card might say "1:30 โ 5:00," but if you type 1:30 and 5:00 the calculator reads a 3.5-hour gap when you actually meant 1:30 PM to 5:00 PM. Convert PM times by adding 12 to the hour: 1 PM is 13:00, 5 PM is 17:00, and 11:30 PM is 23:30. Noon is 12:00 and midnight is 00:00. The one exception people trip on is 12 AM through 12:59 AM, which becomes 00:00 through 00:59 in 24-hour time, and 12 PM through 12:59 PM, which stays 12:00 through 12:59. When in doubt, picture the shift on a clock face: a finish before the start almost always means a PM time was typed as AM, not a genuine overnight shift.
If your time card already shows punches in and out for the day, enter the first punch as the start and the last punch as the end, and put the combined unpaid break minutes (lunch plus any unpaid rest periods) into the break field. For days with split shifts โ say a morning block and an evening block with a long unpaid gap between them โ treat each block as its own row so the gap is never counted as worked time.
Tracking billable hours as a freelancer or contractor
For hourly freelancers, the hours total is the invoice. A few habits keep it accurate. Record start and stop times the moment you switch tasks rather than reconstructing the day from memory, which almost always inflates or deflates the total. Decide upfront whether short interruptions count as billable โ a five-minute email is usually fine to include, but a two-hour personal errand is not โ and apply that rule consistently. When you bill, copy the decimal weekly total into your invoice, because most invoicing software multiplies decimal hours by your rate; entering "38h 45m" literally would be read as a strange number. If you bill several clients, total each client's hours in its own session so a single weekly figure does not blur the split. Once you know your typical weekly hours, the Hourly to Salary Calculator turns your rate into an annualized figure you can compare against salaried roles.
Why payroll prefers decimal hours
It is tempting to keep time in the hours-and-minutes form you read off a clock, but payroll and accounting systems run on decimal hours for one reason: arithmetic. You cannot directly multiply "7h 45m" by a $20 rate, because minutes are base-60 and dollars are base-10 โ you would have to convert first anyway. Decimal hours (7.75) skip that step, so total pay is simply hours ร rate, and weekly totals add up cleanly without carrying minutes over into the next hour. The trade-off is that decimals can hide a rounding gap: a recurring 20-minute value shows as 0.33, and across many days those clipped thirds can drift a minute or two from a to-the-minute tally. This calculator keeps the underlying math in whole minutes and only rounds the displayed decimal, so the weekly total stays faithful to the actual minutes worked even though each row shows a tidy two-decimal figure.
How it compares to related calculators
This page answers "how many hours did I work, and what is that worth?" If your question is slightly different, a sister tool fits better:
- To log a fuller week with more days and a printable layout, use the Timesheet Calculator.
- To break out premium pay, daily overtime, and double-time, use the Overtime Calculator.
- To turn gross hours into take-home pay after taxes, use the Paycheck Calculator or the Salary Calculator.
- To convert an hourly wage into an annual salary (or back), use the Hourly to Salary Calculator.
- To add or subtract raw durations (hours, minutes, seconds) without a clock, use the Time Calculator; to count days between two dates, use the Date Calculator.
โ ๏ธ Common mistakes & edge cases
Forgetting to subtract the unpaid lunch
A 9:00โ17:00 shift looks like 8 hours, but with a 30-minute unpaid lunch you worked 7.5. Always enter the unpaid break, or your total โ and your invoice โ will be overstated.
Mixing up AM and PM (or 12-hour and 24-hour)
Entering 5:00 instead of 17:00 turns an afternoon finish into an early-morning one. Use 24-hour time (13:00 = 1 PM, 17:30 = 5:30 PM) to avoid an overnight roll-over you did not intend.
Deducting a break you actually worked through
If you keep working during lunch, that time is compensable and should not be subtracted. Only deduct breaks where you are fully relieved of duty.
Treating gross pay as take-home
The pay figure here is gross โ before income tax, Social Security, and Medicare. Your deposited amount will be lower, so budget from net, not gross.
❓ Frequently asked questions
How do I calculate hours worked between two times?
Subtract the start time from the end time, then subtract any unpaid break. For example, 9:00 AM to 5:00 PM is 8 hours; take away a 30-minute lunch and you worked 7.5 hours. This calculator does the math for you and shows the answer in both decimal hours (7.50) and hours-and-minutes (7h 30m).
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add them to the whole hours. So 7 hours 30 minutes is 7 + 30/60 = 7.50 decimal hours, and 8 hours 15 minutes is 8 + 15/60 = 8.25 hours. Payroll systems use decimal hours because you can multiply them directly by an hourly rate to get pay.
Does the hours calculator handle overnight shifts?
Yes. If your end time is earlier than your start time, the calculator assumes the shift crossed midnight. For example, a shift from 10:00 PM (22:00) to 6:00 AM (06:00) is counted as 8 hours, not a negative number. Subtract your break to get the net worked time.
Should I subtract my lunch break from hours worked?
If the break is unpaid, yes - subtract it. Under federal rules, short rest breaks of about 5 to 20 minutes are usually paid and counted as work time, while bona fide meal periods (typically 30 minutes or more) where you are fully relieved of duty are unpaid and not counted. Enter only your unpaid break minutes in the break field.
How is gross pay calculated from hours worked?
Gross pay is total hours worked multiplied by your hourly rate, before any taxes or deductions. For example, 38.5 hours at $20/hour is $770 gross. If you work more than 40 hours in a week, the calculator can apply time-and-a-half (1.5x) to the overtime hours, which is the federal minimum for nonexempt employees.
When do overtime hours start?
Under the federal Fair Labor Standards Act (FLSA), nonexempt employees earn overtime at 1.5 times their regular rate for hours worked beyond 40 in a single workweek. Some states add daily overtime (for example over 8 hours in a day) or double-time rules. This calculator uses the 40-hour weekly threshold; check your state's law for daily rules.
Why does this calculator show both decimal hours and hh:mm?
Different uses need different formats. Decimal hours (like 7.75) are what you multiply by a pay rate, so they suit payroll and invoicing. Hours-and-minutes (7h 45m) is how the time actually reads on a clock, which is easier to sanity-check against a paper timesheet. Showing both lets you copy whichever your system expects.
Is rounding used in the result?
The calculator works in whole minutes and displays decimal hours rounded to two places. Employers may round clock-in and clock-out times (commonly to the nearest 15 minutes, the 'seven-minute rule'), but rounding must be neutral over time and cannot systematically shortchange workers. If your employer rounds, your paystub may differ slightly from a to-the-minute calculation.
Can I use this as a weekly timesheet?
Yes. Add a row for each day you worked, enter the start time, end time, and unpaid break for each, and the calculator sums them into a weekly total. With an hourly rate entered, it also estimates your gross weekly pay and splits any hours over 40 into regular and overtime pay.
Does the calculator account for taxes?
No. It shows gross pay - your earnings before federal and state income tax, Social Security, Medicare, and any other withholdings. Your take-home (net) pay will be lower. For an estimate after taxes, use a dedicated paycheck or take-home pay calculator.
๐ก Good to know
Decimal hours are what payroll multiplies
Pay systems use decimal hours, not hours-and-minutes. Always copy the decimal total (like 38.75) when entering time for pay or invoicing โ 38h 45m typed literally would be wrong.
Your state may have daily overtime
This tool uses the federal 40-hour weekly rule. States like California also pay overtime after 8 hours in a single day (and double-time after 12), so your actual overtime could be higher.
Keep your own time records
The Department of Labor advises keeping personal records of hours worked. A quick weekly tally here gives you an independent number to compare against your employer's paystub.
Sources
- U.S. Department of Labor, Wage and Hour Division โ Fair Labor Standards Act (FLSA): minimum wage and overtime.
- U.S. Department of Labor โ Breaks and Meal Periods (paid vs. unpaid rest and meal time).
- U.S. Department of Labor โ Fact Sheet #22: Hours Worked Under the FLSA.
- U.S. Department of Labor โ Overtime Pay (1.5ร over 40 hours per workweek).
Related Calculators
Timesheet Calculator
Total weekly work hours and pay from a timesheet
Overtime Calculator
Calculate overtime pay at time-and-a-half
Paycheck Calculator
Calculate your take-home pay after federal tax and FICA
Salary Calculator
Convert between hourly, monthly and annual pay
Hourly to Salary Calculator
Convert an hourly wage to annual salary and back
Time Calculator
Add, subtract and convert hours, minutes and seconds