Hours Calculator
Calculate the duration between two times, add or subtract hours, or track work hours with detailed breakdowns.
| Unit | Value |
|---|
Time Breakdown
Summary
Time Details
Earnings Estimate
Time Schedule
Hours Calculator - Free Online Tool Updated Mar 2026
Calculate Your Hours in Seconds
Find hours between two times, add or subtract time, track work shifts, remove break time, and see simple totals with no signup.
Use Hours Calculator NowKey Takeaways
- One tool, four jobs: This calculator can find hours between times, add time, subtract time, and track work hours in one place.
- Overnight shifts matter: A shift like 10 PM to 6 AM should cross into the next day, or your result may look wrong.
- Break time changes pay: A 30- or 60-minute lunch can change daily paid time, weekly totals, and overtime checks.
- Weekends can be skipped: If you are planning project time or business time, the weekend exclusion option can save manual counting.
- Work laws vary: Hours, breaks, overtime, and record rules depend on your country, state, province, award, or contract.
What Is an Hours Calculator?
An hours calculator is a simple tool that finds the time between two points, or adds and subtracts time, so you can see hours, minutes, and seconds without doing the math by hand. It is useful for work shifts, payroll checks, school schedules, projects, travel plans, and everyday time questions.
Simple definition
An hours calculator takes a start time and an end time, then shows the gap between them. Good tools also handle breaks, overnight shifts, date changes, workday filters, and hourly pay estimates.
Many people search for quick answers like "how many hours is 8 to 5" or "hours between two times." That is the main job of this page. But a better tool should also help with the harder cases people often miss: shifts that pass midnight, lunch breaks, weekend exclusion, and turning work time into a weekly total.
Our calculator does more than a basic time gap. It lets you work in four common modes: hours between two dates and times, add time to a starting moment, subtract time from a starting moment, and track work hours with break time and optional hourly pay. That makes it useful for employees, freelancers, students, managers, and anyone who needs clean time math.
It also helps with search questions competitors often answer only halfway. For example, a simple clock gap is not enough if you need to know paid hours after lunch, or if the shift starts on one day and ends on the next. This guide explains those edge cases in plain words so you can trust the result and spot mistakes before they affect pay, schedules, or billing.
If you need wider date math, use our Date Calculator. If you need broader time and date math in one place, try our Time Calculator. If you need to turn hours into pay, our Salary Calculator can help with the money side.
How to Use This Calculator
This hours calculator is built to be fast and simple. Start with the mode that matches your goal, then enter only the values you really need.
- Step 1: Pick the right mode - Choose Hours Between, Add Time, Subtract Time, or Work Hours before you enter numbers.
- Step 2: Enter your start time - Add the date and time you want the count to start from.
- Step 3: Enter your end time - Add the finish date and time, even if the shift ends the next day.
- Step 4: Add break time if needed - In Work Hours mode, subtract lunch or rest breaks so you see paid time.
- Step 5: Turn on extra options - Use weekend exclusion or hourly rate only when those options fit your situation.
- Step 6: Review the full result - Check total hours, minutes, seconds, weekly totals, and earnings estimate together.
- Step 7: Export or compare - Save the result as PDF or CSV, print it, or run a second scenario for comparison.
Best setup for work shifts
For a normal shift, use Work Hours mode, enter start time, end time, break minutes, and work days per week. If you are checking a night shift like 11 PM to 7 AM, keep the end as the next day in your thinking before you compare the result.
A good habit is to run two versions of the same shift: one with no break and one with the real break. That quick side-by-side check can show how much paid time changes. If you bill clients by the hour, you can also add your hourly rate and compare expected earnings before you send an invoice.
Hours Formula Explained
The core hours formula is simple: take the end time, subtract the start time, then subtract any unpaid break. If the shift crosses midnight, add 24 hours to the end side before you subtract.
If End Time is earlier than Start Time, treat End Time as next day.
Decimal Hours = Total Minutes / 60
This looks easy, but small details matter. Start and end times should be on the right date. Break time should only be removed if it is unpaid. Weekend filters should only be used when you are counting time across many days and you truly want to skip full weekend days.
Worked example
Shift: 9:00 AM to 5:30 PM
Total clock time: 8 hours 30 minutes
Lunch break: 30 minutes
Paid time: 8 hours
Decimal hours: 8.0
If that same shift runs 5 days a week, the weekly total is 40 hours. If lunch were 60 minutes instead, the weekly total would drop to 37.5 hours.
For an overnight case, imagine 10:00 PM to 6:00 AM with a 30-minute break. The full shift is 8 hours, and the paid time is 7.5 hours. Without the next-day rule, the result would look negative, which is a common mistake in manual math.
If you prefer decimal hours for payroll or billing, convert minutes into part of an hour. For example, 15 minutes is 0.25 hours, 30 minutes is 0.5 hours, and 45 minutes is 0.75 hours. That makes timesheets cleaner when you need totals for pay, invoices, or job costing.
Types of Hours Calculations
People do not all use an hours calculator for the same reason. These are the main types of time problems this tool helps solve.
- Hours between two times
- Best when you need the gap between a start and end point, such as class times, event times, or shift times.
- Add time
- Useful when you want to know what time it will be after adding days, hours, minutes, or seconds.
- Subtract time
- Useful when you need to count backward from a deadline, appointment, or travel start time.
- Work hours
- Best for job shifts, timesheets, lunch breaks, weekly totals, and quick pay estimates from an hourly rate.
- Overnight shifts
- Important for healthcare, security, transport, and hospitality jobs where the shift ends on the next day.
- Weekend-aware duration
- Useful for project planning or office timelines when you want to remove full weekend days from a longer range.
| Type | Best for | Main inputs | Main result |
|---|---|---|---|
| Hours Between | Shift length, event time, class time | Start date and time, end date and time | Total hours, minutes, seconds |
| Add Time | Deadlines, reminders, planning | Base date and time, days, hours, minutes, seconds | New date and time |
| Subtract Time | Countback planning, prep windows | Base date and time, days, hours, minutes, seconds | Earlier date and time |
| Work Hours | Payroll, timesheets, freelance tracking | Start, end, break minutes, days per week, pay rate | Paid hours and earnings estimate |
| Overnight | Night shift checks | Start before midnight, end after midnight | Correct next-day shift total |
| Weekend Exclusion | Business timelines, office planning | Date range plus weekend filter | Duration without full weekend days |
Hours Calculator vs Time Calculator
An hours calculator and a time calculator sound similar, but they solve slightly different problems. The hours calculator is usually better when you want clear shift totals, break removal, and simple work-hour tracking. A time calculator is often better when you need wider date and time changes together.
| Tool | Best use | What it does well | When to switch |
|---|---|---|---|
| Hours Calculator | Work shifts and daily time totals | Break time, overnight shifts, weekly work-hour view, quick pay estimate | Switch if you need business-day or date-heavy planning |
| Time Calculator | Broader time and date math | Add and subtract time across dates with more flexible setups | Switch if you mainly need paid shift time or lunch deductions |
| Date Calculator | Days, weeks, months, and business days | Long date ranges, weekday counts, and date offsets | Switch if your question is mostly about hours and minutes |
If your question starts with "how many hours," use this page first. If your question starts with "how many days" or "what date is 90 days from now," use our Date Calculator. If you need an all-around tool for time plus dates, go with the Time Calculator.
Best quick rule
Use Hours Calculator for shift time, lunch breaks, and paid hours. Use Time Calculator for broader time math. Use Date Calculator when the job is really about calendar days, weekdays, or future dates.
Quick Hours Chart
These common shift examples answer many fast search questions. They also show why break time changes the result more than people expect.
| Shift | Break | Paid Hours | 5-Day Week | Common use |
|---|---|---|---|---|
| 8:00 AM to 4:00 PM | 0 min | 8.0 | 40.0 | Simple office or school day |
| 8:00 AM to 5:00 PM | 60 min | 8.0 | 40.0 | Classic full-time shift |
| 9:00 AM to 5:00 PM | 30 min | 7.5 | 37.5 | Office role with short lunch |
| 9:00 AM to 6:00 PM | 60 min | 8.0 | 40.0 | Retail or client-facing day |
| 10:00 PM to 6:00 AM | 30 min | 7.5 | 37.5 | Night shift |
| 7:00 AM to 7:00 PM | 60 min | 11.0 | 55.0 | Long clinical or site shift |
Use this table as a quick check, not a final legal answer. Overtime rules, paid break rules, and shift premiums can change the money side even if the clock math stays the same.
Work-Hour Rules by Country
Work-hour rules are not the same everywhere. The tool can show time totals, but pay rules, rest breaks, overtime, and record duties still depend on the law and contract that apply to you.
| Country | Common weekly baseline | Key rule | What to double-check |
|---|---|---|---|
| USA | Often 40 hours | Many covered nonexempt workers get overtime after 40 hours in a workweek | State overtime, break, and travel-time rules |
| UK | 48-hour average cap | Average weekly limit is usually measured over 17 weeks and can sometimes be opted out of | Night work, rest breaks, and young worker rules |
| Canada | Often 8 hours a day, 40 a week in federal rules | Federal standard hours and 48-hour weekly maximum apply in many federally regulated jobs | Province rules, overtime trigger, break and notice rules |
| Australia | 38 hours | Employees can work 38 hours a week unless asked to do reasonable extra hours | Award rules, spread of hours, overtime rates |
| India | Often around 48 hours in many setups | Limits and overtime terms can vary by law, sector, and state | State rules, factory or shop law, contract terms |
United States
In the United States, many people use 40 hours as the key weekly line because the U.S. Department of Labor says many covered nonexempt workers under the Fair Labor Standards Act may get overtime after 40 hours in a workweek. That means your hours calculator result is often the first step in checking whether overtime may apply.
But the math is not the whole rule. Breaks, meal periods, travel time, and on-call time can be treated differently. The DOL also notes that some states have their own overtime laws, and the worker may be entitled to the higher standard when state and federal rules differ.
Data from the U.S. Bureau of Labor Statistics shows that full-time workers averaged about 8.4 hours on weekdays worked in 2024. That does not create a legal limit, but it does show why tools like this are useful for everyday shift checks, schedule planning, and timesheet review.
United Kingdom
In the UK, GOV.UK says workers generally cannot work more than 48 hours a week on average, usually averaged over 17 weeks, unless they choose to opt out. Acas also explains that working time usually includes time when the employer can tell you what to do, required training, and some travel for the job.
The UK rules also cover rest and recordkeeping. Acas says workers can raise concerns if employers fail to follow the law around working time, rest, and records. So if you use an hours calculator for a UK role, the next step is to match your result with the right rule set, especially for night work and long weeks.
Canada
For federally regulated workplaces in Canada, the Government of Canada says standard hours are often 8 hours in a day and 40 hours in a week. The same source explains that overtime is generally time over the standard hours, and many employees are entitled to at least 1.5 times the regular hourly wage or time off in lieu under the right conditions.
Canada also has clear rules on breaks and rest in federal guidance. The site says many employees are entitled to an unpaid 30-minute break during every 5 consecutive hours of work and at least 8 consecutive hours of rest between work periods. That makes break tracking a big part of accurate hours math.
Australia
Australia's Fair Work Ombudsman says an employee can work a maximum of 38 hours in a week unless an employer asks for reasonable extra hours. Awards and registered agreements may also set ordinary hours, minimum hours, and the spread of hours during the day.
Fair Work also points out that daylight saving time can affect overnight pay and shift counting. That is another reason a good hours calculator should be used with the correct date, not just the clock time.
India
In India, many people still plan around 48-hour weeks in practice, but exact limits, rest periods, and overtime rules may depend on the law that covers the sector, the state, and the employer's setup. The Ministry of Labour and Employment is the main official source to check for labor code updates and worker guidance.
If you use this calculator for payroll or compliance in India, treat it as the math layer first. Then match the result with the rule that applies to your workplace, industry, and state before you make a pay decision.
Common Mistakes to Avoid
Most wrong hour totals come from a small number of repeat mistakes. Fix these first before you assume the tool is wrong.
| Mistake | What goes wrong | Possible cost | Simple fix |
|---|---|---|---|
| Skipping break time | Shift looks longer than paid time | At $20/hour, a missed 30-minute lunch can add $10 per day | Enter unpaid break minutes every time |
| Forgetting the next day | Overnight shift may look negative | Night shift totals can be off by 8 hours or more | Treat end time as next day when it crosses midnight |
| Mixing 12-hour and 24-hour time | AM and PM get flipped | A 12-hour error can ruin a full schedule | Double-check AM, PM, or use 24-hour time |
| Using decimal hours wrong | 7:30 gets written as 7.30 instead of 7.5 | Weekly totals can drift lower or higher | Convert minutes by dividing by 60 |
| Ignoring local overtime rules | Time total is right, pay total is wrong | Missed overtime can grow across a full pay period | Match the hours with the law or contract that applies |
| Counting commute as work by default | Totals may be too high | Invoices or payroll checks may need rework | Only count time that qualifies as working time |
| Wrong work days per week | Weekly total is inflated or too low | Monthly planning can be off by many hours | Enter your real schedule, not a default number |
Fast accuracy check
After you calculate, ask three questions: Did the shift cross midnight? Was the break paid or unpaid? Does the weekly total match the real number of workdays? These three checks catch a lot of bad totals.
Pay, Tax, and Legal Notes
An hours calculator gives you the math. It does not replace payroll rules, tax records, labor law, or a written contract. That matters most when you use time totals for wages, invoices, overtime, or compliance checks.
For employees, hours often feed into payroll and overtime. In the United States, many covered nonexempt workers may get overtime after 40 hours in a workweek. In Canada, federal guidance says overtime often starts once standard hours are exceeded. In Australia, awards and agreements may define ordinary hours and overtime. In the UK and India, the way working time is counted can change based on sector rules and contracts.
For freelancers and contractors, clean hour records can support invoices, project pricing, and tax records. But billable time still depends on the contract. Some clients pay for meeting time, travel time, or revisions, while others only pay for direct production time.
Safe rule of thumb
Use the calculator to get the time math right first. Then check your contract, employer handbook, union agreement, or local labor source before you treat the result as final pay or legal proof.
If your hours affect tax filings, payroll reporting, or formal disputes, keep copies of timesheets, schedules, and export files. Clear records can help if you need to explain a weekly total later. For country-specific guidance, use the official sources listed below instead of relying on general internet advice.
Time Tracking by Life Stage
People use hours tools differently as work and life change. These simple ideas can help you use the calculator in a way that fits your stage.
20s
Track class time, side jobs, shift swaps, and early career hours. If you are paid hourly, make a habit of checking break time and weekly totals so you learn what a real timesheet should look like.
30s
Use the work-hours mode to balance job time, commute time, and family routines. Small errors in daily totals can add up fast when you are juggling school pickup, remote work, or multiple roles.
40s
Use the calculator to compare long meetings, travel-heavy weeks, and project time. This is often the stage where people begin to value clean records for leadership roles, team planning, or side consulting.
50s
Track schedule changes, reduced hours, overtime checks, or phased transitions. If you bill for expert work, pair your hour totals with your rate before you send an invoice.
60s and beyond
Use simple shift checks for part-time work, volunteer schedules, caregiving blocks, or consulting projects. If work-hour rules, overtime, or retirement income planning matter, consider checking with a payroll specialist, tax pro, or labor adviser.
Real-World Examples
These examples show how the same tool solves very different time questions.
Example 1: Standard office day
Shift: 8:30 AM to 5:30 PM
Break: 60 minutes
Paid time: 8 hours per day
5-day week: 40 hours
This is the common full-time setup many people search for when they ask how many hours 8:30 to 5:30 is with lunch.
Example 2: Night shift
Shift: 10:00 PM to 6:00 AM
Break: 30 minutes
Paid time: 7.5 hours
4 shifts per week: 30 hours
The key move is treating 6:00 AM as the next day. Without that step, the result can look backward.
Example 3: Freelancer billing a client
Work block: 1:15 PM to 6:45 PM
Break: 15 minutes
Billable time: 5 hours 15 minutes, or 5.25 hours
Hourly rate: $60
Invoice value: $315
This is why decimal hour conversion matters. Writing 5:15 as 5.15 would understate the bill.
Example 4: Weekend-free project planning
Start: Monday 9:00 AM
End: Next Monday 9:00 AM
Full duration: 168 hours
Weekend-free view: 120 hours after removing Saturday and Sunday
This can help office teams estimate business-time windows, but it is not the same as legal work hours.
Example 5: Long clinical shift
Shift: 7:00 AM to 7:00 PM
Break: 60 minutes
Paid time: 11 hours
3 shifts per week: 33 hours
Long shifts can still stay below common full-time weekly totals, so both daily and weekly views matter.
Frequently Asked Questions
These answers cover the most common search questions people ask before and after using an hours calculator.
Enter the start time and the end time, then subtract the start from the end. If the shift crosses midnight, add one day to the end time before you subtract. This calculator does that step for you.
From 8:00 AM to 5:00 PM is 9 total hours. If you take a 30-minute lunch, paid time is 8.5 hours. If you take a 60-minute lunch, paid time is 8 hours.
A 9:00 AM to 5:00 PM shift is 8 total hours. With a 30-minute lunch, it becomes 7.5 paid hours. With a 60-minute lunch, it becomes 7 paid hours.
Yes. If your end time is earlier than your start time, the tool treats the shift as ending on the next day. That helps with schedules like 10 PM to 6 AM.
Yes. In Work Hours mode, enter your total break minutes. The calculator subtracts that from the full shift length so you can see paid time more clearly.
An hours calculator is usually focused on shift length, work hours, and simple add or subtract tasks. A time calculator often goes wider and can include date math, seconds, or more advanced time changes.
Divide the minutes by 60, then add that number to the hour value. For example, 7 hours 30 minutes becomes 7.5 hours, and 8 hours 15 minutes becomes 8.25 hours.
You can use it as a quick check for payroll hours, timesheets, and shift totals. Final payroll rules may still depend on local law, union terms, overtime rules, and employer policy.
Sometimes. In many places, normal home-to-work travel does not count, but job travel during the day may count. Check your local labor rules or ask your employer for guidance.
Working time often includes time when you are doing job duties, required training, or staying at the employer's disposal. Breaks, commute time, and on-call time may be treated differently based on local rules.
There are 168 hours in a 7-day week because 24 multiplied by 7 equals 168. A standard 40-hour workweek uses only part of that total.
A month can have 672, 696, 720, or 744 hours depending on whether it has 28, 29, 30, or 31 days. The average month is about 730.5 hours.
First total all eligible work hours in the workweek, then compare that number with the overtime rule that applies to you. In the United States, many covered nonexempt workers get overtime after 40 hours in a workweek, but state rules may differ.
A negative result usually means the end date or end time comes before the start date or start time. Check the dates, and for overnight shifts make sure the end date moves to the next day if needed.
Yes. It can help you track billable hours, compare project time, and turn hours and minutes into cleaner totals before you send an invoice. You should still check your contract and tax records before billing a client.
About This Calculator
Calculator name: Hours Calculator
Category: Time tool
Built for: Work shifts, break deduction, time gaps, add/subtract time, and quick earnings checks
Core modes: Hours Between, Add Time, Subtract Time, and Work Hours
Method: The tool compares date-time values, handles next-day shifts, subtracts break minutes, and shows totals in several time units.
Extra outputs: Weekly and monthly views, export options, charts, and share/print support
Content review: This page was updated Mar 2026 using official labor sources and real calculator features from the plugin.
The article and the tool are built to work together. The calculator itself supports work-hour tracking, time breakdowns, exports, and optional earnings estimates. This guide explains how to use those features in real situations without overclaiming what the tool can do.
Trusted Resources
Official sources
- U.S. Department of Labor - Work Hours - Federal work-hour topics, overtime links, recordkeeping, and break guidance.
- U.S. Bureau of Labor Statistics - American Time Use Survey - Recent data on average hours worked on days worked.
- GOV.UK - Maximum weekly working hours - United Kingdom rules for the 48-hour weekly average and opt-out.
- Government of Canada - Hours of work - Federal hours, overtime, breaks, rest periods, and notice rules in Canada.
- Fair Work Ombudsman - Hours of work - Australia guidance on ordinary hours, 38-hour weeks, and reasonable extra hours.
- Ministry of Labour and Employment - India - India labor ministry home for labor codes, worker protections, and policy updates.
Related calculators
- Time Calculator - Use it for wider time math with dates, times, and longer duration checks.
- Date Calculator - Use it when you need days, weeks, months, business days, or date ranges.
- Age Calculator - See full time breakdowns in years, months, days, hours, minutes, and seconds.
- Salary Calculator - Turn hourly pay into weekly, monthly, and yearly earnings with easy comparisons.
- Tip Calculator - Helpful when you split a bill by time worked or compare service-based pay.
- Pace Calculator - Good for time-per-mile or time-per-kilometer planning in sports and training.
Disclaimer
Educational use only: This hours calculator and article are for general education and planning. They do not replace payroll software, legal advice, labor-law guidance, tax advice, or a review by your employer or client.
Rules can vary: Breaks, overtime, travel time, night work, and recordkeeping can vary by country, state, province, award, union agreement, industry, or contract.
Final check: If your result affects pay, billing, taxes, or a workplace dispute, confirm the rule with an official source or a qualified professional.
Results may vary: The time math is only one part of the answer. How the result is used can change based on your real work setup.
Ready to Calculate?
Check your shift, remove breaks, compare weekly totals, and get a clean result in a few clicks.
Calculate Now - It's Free