# Hours Calculator

Track work hours, calculate break deductions, and total daily or weekly timesheet hours instantly for accurate payroll records.

---

- **Canonical URL:** https://dothecalculation.com/calculators/hours-calculator
- **Category:** Everyday utilities
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology
- **Reviewed by:** Dr. Keith Bradley, PhD, PhD in Cryptography & Cybersecurity, ETH Zurich (https://dothecalculation.com/about/team/keith-bradley)

---

## Track paid hours, breaks, and overtime triggers

Compute shift totals, subtract unpaid breaks, convert minutes into decimal hours, and flag overtime thresholds.

- Daily and weekly hour totals
- Break subtraction logic
- Overtime threshold interpretation

## Paid hours versus elapsed shift time

A payroll hours calculator does more than subtract start time from end time. Paid hours can differ from raw elapsed shift time because unpaid breaks, meal periods, overtime thresholds, and overnight shifts all affect the final compensable result. This is why payroll and scheduling systems usually convert everything into minutes or seconds before computing the final decimal-hour total.

The distinction is essential because wage systems multiply hourly rates by decimal-hour values, not by mixed hour-minute notation. A person working 8 hours and 15 minutes is paid for 8.25 hours, not 8.15 hours.

## Shift duration and decimal-hour conversion

If start and end are represented in minutes from midnight, the basic structure is:

$$\text{Shift Minutes} = \text{End Minutes} - \text{Start Minutes}$$

If the shift crosses midnight, 1,440 minutes are added to the end side before subtraction. After subtracting unpaid break minutes, paid decimal hours are computed as:

$$\text{Paid Hours} = \frac{\text{Paid Minutes}}{60}$$

This decimal output is what payroll systems use for gross pay calculations and threshold comparisons.

## Daily and weekly overtime context

Some workplaces care only about total paid hours. Others need to identify when those hours cross daily or weekly overtime thresholds. Even when a simple hours tool does not fully replace a legal overtime engine, separating regular hours from higher-rate hours helps users understand whether a schedule is likely to trigger additional compensation.

## Why decimal-hour literacy prevents payroll errors

A common mistake is to read minutes like decimal digits. For example, 45 minutes is 0.75 hours, not 0.45 hours. Small conversion mistakes repeated across multiple shifts can materially distort wages and records. This is why payroll tools should show both conventional time and decimal-hour forms whenever possible.

## How to Use This Hours Calculator

In the Single Shift tab, enter a start time, end time, unpaid break minutes, hourly rate, and daily overtime threshold. In the Weekly Timesheet tab, toggle which days you worked and enter each day's start and end time to build a full week, then choose daily or weekly overtime rules.

Results update instantly, showing regular hours, overtime hours, and gross pay so you can verify a shift or an entire week before submitting payroll.

## Worked Example: A 9-to-5:30 Shift With a 30-Minute Break

A shift from 9:00 AM to 5:30 PM is 8.5 elapsed hours. Subtracting a 30-minute unpaid break leaves 8.0 paid hours.

With an 8-hour daily overtime threshold and an $18/hour rate, all 8 hours are regular time and none qualify as overtime, giving a gross pay of exactly $144.00 for the shift.

## Related Calculators

This calculator is part of a Date & Time Tools cluster. For shift differentials and weekly overtime rules, see the [Time Card Overtime & Shift Differential Calculator](/calculators/time-card-overtime-calculator). To measure elapsed time between two exact timestamps instead of a work shift, use the [Hours Between Dates Calculator](/calculators/hours-between-dates-calculator).

## Frequently asked questions

### How do I calculate paid hours from a shift?

Subtract start time from end time, adjust for overnight shifts if necessary, and then subtract unpaid break minutes.

### Why is 30 minutes equal to 0.5 hours?

Because 30 divided by 60 equals one half of an hour.

### Is 8 hours 45 minutes equal to 8.45 hours?

No. It equals 8.75 hours because 45 minutes is 45/60 of an hour.

### How do overnight shifts work?

If the end time is earlier than the start time, the calculation treats the shift as crossing midnight by adding 24 hours to the end side.

### What counts as an unpaid break?

Usually meal periods or other non-compensable intervals that are deducted from the elapsed shift duration.

### Why are decimal hours used in payroll?

Because they allow direct multiplication by hourly wage rates without mixed-unit conversion errors.

### Can this calculator help estimate overtime?

Yes. Once total paid hours are known, they can be compared to overtime thresholds.

### What is the most common conversion mistake?

Treating minutes like decimal digits instead of dividing by 60.

### Should paid rest breaks be deducted?

No. Only unpaid breaks should be deducted unless employer policy states otherwise.

### Why should I audit my hours before payroll?

Because errors in breaks, overnight handling, and decimal conversion can change wages materially.

## Related concepts

- **Decimal payroll hours** — The payroll-ready form of worked time after minutes are converted into fractions of an hour.
- **Unpaid break** — A non-compensable interval removed from total elapsed shift duration.
- **Overnight shift** — A work period that crosses midnight and requires a 24-hour adjustment.

## Related guides

- [Time Calculation Guide: Adding, Subtracting, and Converting Durations Correctly](https://dothecalculation.com/blog/math/time-calculation-methods) — Learn how to add and subtract time durations, convert total minutes into hours and decimal hours, and understand what the current DTC time calculator does well and where you should switch to hours or date-based tools.
- [Hourly to Salary Conversion: Formula and Job Comparison](https://dothecalculation.com/blog/business/hourly-to-salary-conversion) — Convert an hourly wage into weekly, biweekly, monthly, and annual gross pay, then compare paid weeks, overtime, benefits, deductions, and total compensation.
- [How to Build a Weekly Class Schedule That Does Not Fall Apart by Week 3](https://dothecalculation.com/blog/templates/how-to-build-a-weekly-class-schedule) — Most class schedules look great on day one and collapse by week three. Here's how to build a weekly schedule that actually holds up, with the study-hour math to back it.

## Related calculators

- [Hours Between Dates Calculator](https://dothecalculation.com/calculators/hours-between-dates-calculator) — Calculate the exact number of hours, minutes, and days elapsed between two dates and times instantly with this free online tool.
- [Time Calculator](https://dothecalculation.com/calculators/time-calculator) — Add, subtract, and convert time durations in hours, minutes, and seconds instantly with this free and easy online calculator.
- [Time Duration & Elapsed Hour Solver](https://dothecalculation.com/calculators/time-duration-calculator) — Calculate the exact duration between two timestamps in days, hours, minutes, and seconds, with a visual timeline bar and decimal hours output.
- [Timesheet Calculator](https://dothecalculation.com/calculators/timesheet-calculator) — Track weekly employee hours, customize daily and weekly overtime thresholds, and export logs to CSV for fast and accurate payroll runs.
- [World Clock & Time Zone Offset Solver](https://dothecalculation.com/calculators/timezone-converter) — Convert a specific date and time across any two IANA time zones and visualize the UTC offset difference on a world clock dial.
- [Time Card Overtime & Shift Differential Calculator](https://dothecalculation.com/calculators/time-card-overtime-calculator) — Calculate daily and weekly overtime hours, double time, and night or weekend shift differential pay instantly and for free.

---

_This calculator is for educational and planning purposes only. Calendar rules, payroll conventions, grading systems, and timekeeping policies vary by institution, employer, and jurisdiction. Verify critical dates, hours, and academic calculations with official records._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/hours-calculator). Quote freely with attribution and a link to this page._
