Hours Calculator

Hours Calculator

Calculate the duration between two times, add or subtract hours, or track work hours with detailed breakdowns.

Content by CalculatorZone Time Editors
Editors focused on time tools, work-hour records, and everyday calculator guides. About our team
Sources: DOL, BLS, GOV.UK, Canada.ca

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 Now

Key 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.

  1. Step 1: Pick the right mode - Choose Hours Between, Add Time, Subtract Time, or Work Hours before you enter numbers.
  2. Step 2: Enter your start time - Add the date and time you want the count to start from.
  3. Step 3: Enter your end time - Add the finish date and time, even if the shift ends the next day.
  4. Step 4: Add break time if needed - In Work Hours mode, subtract lunch or rest breaks so you see paid time.
  5. Step 5: Turn on extra options - Use weekend exclusion or hourly rate only when those options fit your situation.
  6. Step 6: Review the full result - Check total hours, minutes, seconds, weekly totals, and earnings estimate together.
  7. 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.

Total Hours = (End Time - Start Time) - Break Time

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.
TypeBest forMain inputsMain result
Hours BetweenShift length, event time, class timeStart date and time, end date and timeTotal hours, minutes, seconds
Add TimeDeadlines, reminders, planningBase date and time, days, hours, minutes, secondsNew date and time
Subtract TimeCountback planning, prep windowsBase date and time, days, hours, minutes, secondsEarlier date and time
Work HoursPayroll, timesheets, freelance trackingStart, end, break minutes, days per week, pay ratePaid hours and earnings estimate
OvernightNight shift checksStart before midnight, end after midnightCorrect next-day shift total
Weekend ExclusionBusiness timelines, office planningDate range plus weekend filterDuration 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.

ToolBest useWhat it does wellWhen to switch
Hours CalculatorWork shifts and daily time totalsBreak time, overnight shifts, weekly work-hour view, quick pay estimateSwitch if you need business-day or date-heavy planning
Time CalculatorBroader time and date mathAdd and subtract time across dates with more flexible setupsSwitch if you mainly need paid shift time or lunch deductions
Date CalculatorDays, weeks, months, and business daysLong date ranges, weekday counts, and date offsetsSwitch 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.

ShiftBreakPaid Hours5-Day WeekCommon use
8:00 AM to 4:00 PM0 min8.040.0Simple office or school day
8:00 AM to 5:00 PM60 min8.040.0Classic full-time shift
9:00 AM to 5:00 PM30 min7.537.5Office role with short lunch
9:00 AM to 6:00 PM60 min8.040.0Retail or client-facing day
10:00 PM to 6:00 AM30 min7.537.5Night shift
7:00 AM to 7:00 PM60 min11.055.0Long 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.

CountryCommon weekly baselineKey ruleWhat to double-check
USAOften 40 hoursMany covered nonexempt workers get overtime after 40 hours in a workweekState overtime, break, and travel-time rules
UK48-hour average capAverage weekly limit is usually measured over 17 weeks and can sometimes be opted out ofNight work, rest breaks, and young worker rules
CanadaOften 8 hours a day, 40 a week in federal rulesFederal standard hours and 48-hour weekly maximum apply in many federally regulated jobsProvince rules, overtime trigger, break and notice rules
Australia38 hoursEmployees can work 38 hours a week unless asked to do reasonable extra hoursAward rules, spread of hours, overtime rates
IndiaOften around 48 hours in many setupsLimits and overtime terms can vary by law, sector, and stateState 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.

MistakeWhat goes wrongPossible costSimple fix
Skipping break timeShift looks longer than paid timeAt $20/hour, a missed 30-minute lunch can add $10 per dayEnter unpaid break minutes every time
Forgetting the next dayOvernight shift may look negativeNight shift totals can be off by 8 hours or moreTreat end time as next day when it crosses midnight
Mixing 12-hour and 24-hour timeAM and PM get flippedA 12-hour error can ruin a full scheduleDouble-check AM, PM, or use 24-hour time
Using decimal hours wrong7:30 gets written as 7.30 instead of 7.5Weekly totals can drift lower or higherConvert minutes by dividing by 60
Ignoring local overtime rulesTime total is right, pay total is wrongMissed overtime can grow across a full pay periodMatch the hours with the law or contract that applies
Counting commute as work by defaultTotals may be too highInvoices or payroll checks may need reworkOnly count time that qualifies as working time
Wrong work days per weekWeekly total is inflated or too lowMonthly planning can be off by many hoursEnter 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.

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.

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

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
Scroll to Top