Skip to content
BestCalculators
Free online calculators and converters

Date & Time

Hours Calculator: Time Between Two Times

Work out hours worked between a start and end time, minus breaks. Handles overnight shifts and shows decimal hours for payroll.

If this is earlier than the start, the shift is treated as running past midnight.

min
$

Leave at 0 if you only want the hours.

Five gives a standard working week.

Time worked

8 h 0 min

Payroll reads that as 8 decimal hours — not 480 minutes written after a point.

Decimal hours
8h

The figure a timesheet wants. 8 h 45 min is 8.75, never 8.45.

Total across all days
40h

Over 5 days.

Pay for one day
$160.00
Total pay
$800.00
Hours past 40
0h

US federal overtime starts after 40 hours in a week. Your state or country may differ.

How to use this calculator

  1. Enter your start time into the Start time field.
  2. Enter your finish time into the End time field, keeping in mind that an earlier time is automatically treated as running past midnight.
  3. Enter any unpaid break minutes into the Unpaid break field if applicable.
  4. Enter your hourly rate into the Hourly rate field if you want to calculate earnings, or leave it at 0 to focus strictly on hours.
  5. Enter the number of days you worked this schedule into the How many days like this field to scale your totals.

How the Math Works Behind Your <strong>hours calculator</strong> Results

When you use a work hours calculator, the software performs a quiet conversion that shifts standard clock time into decimal time. Standard time runs on a base-sixty system, where sixty minutes make an hour, while payroll systems run on a base-hundred system. If you work for four hours and fifteen minutes, a basic digital clock sees 4:15, but payroll software needs to see 4.25 hours to multiply it cleanly against an hourly wage. This tool bridges that gap by dividing your net working minutes by sixty to yield an exact decimal figure.

The arithmetic itself relies on a straightforward sequence. First, the time difference between your start and finish is calculated in minutes. If your finish time is numerically lower than your start time—such as starting at 22:00 and finishing at 06:00—the hours between two times calculation automatically adds 1,440 minutes, which represents a full twenty-four-hour day, to ensure the overnight span is captured accurately. Next, any minutes specified in the unpaid break field are subtracted from that total to determine your net working minutes. Finally, those net minutes are divided by sixty to produce your decimal hours.

When you input multiple days or an hourly rate, the multiplication scales upward. A timesheet calculator takes that single-day decimal value and multiplies it by the number of days entered in the final field. If a wage rate is provided, it multiplies the final decimal hours by that dollar amount to generate your gross pay. For standard full-time schedules, any cumulative total exceeding forty hours across the specified days is also isolated to help track potential overtime thresholds.

Decimal Conversion Reference for Time Cards

Reading a time card calculator output requires understanding how common minute increments translate into decimals. Because payroll departments rarely accept fractions like 1/3 or 3/7, minutes are rounded to the nearest hundredth of an hour. Misinterpreting these fractions on a manual hours worked calculator is one of the most frequent causes of paycheck discrepancies between employers and staff.

Minutes WorkedStandard FractionDecimal Hours
15 minutes1/4 hour0.25 h
30 minutes1/2 hour0.50 h
45 minutes3/4 hour0.75 h
60 minutes1 full hour1.00 h
10 minutes1/6 hour0.17 h
20 minutes1/3 hour0.33 h
40 minutes2/3 hour0.67 h

Common Mistakes in Time Tracking and Their Financial Costs

The single most common error when tracking shifts manually is confusing standard minutes with decimal fractions. If an employee works eight and a half hours and writes down 8.30 on their timesheet, they are effectively docking themselves twenty minutes of pay because thirty minutes is actually 0.50 of an hour, not 0.30. Over the course of a single work week, this minor notation error can make a noticeable dent in a weekly paycheck.

Another frequent oversight involves failing to account for unpaid breaks correctly. Many workers log their total building presence—such as arriving at 08:00 and leaving at 17:00—without subtracting a mandatory uncompensated lunch period. If a daily shift includes an unpaid sixty-minute lunch, failing to deduct it inflates the daily gross pay calculation by a full hour of wages, which can trigger compliance issues during an internal payroll audit.

When to Consult HR or Payroll Instead of Relying on Estimates

While a standard work hours calculator is reliable for straightforward hourly schedules and standard shifts, certain complex employment structures require specialized institutional accounting. If your compensation package involves complex shift differentials, tiered hazard pay, or specialized union rules regarding split shifts, automated web tools will not capture those variables. In those instances, your company internal time-tracking software remains the definitive source of truth.

Similarly, if your jurisdiction enforces complicated daily overtime rules—such as California requiring overtime pay for any hours worked beyond eight in a single calendar day, regardless of the weekly total—a basic weekly threshold calculation may fall short. When discrepancies arise between your personal time logs and your official pay stub, you should bring both records directly to your human resources department or payroll administrator for a manual reconciliation.

The formula

minutes = end − start, plus 1,440 if the shift crosses midnightnet minutes = minutes − unpaid breakdecimal hours = net minutes ÷ 60pay = decimal hours × hourly rate

Frequently asked questions

How do I calculate hours when my shift crosses midnight?

You simply enter your evening start time and your morning end time into the respective fields. The system recognizes that the end time is numerically lower than the start time and automatically adds twenty-four hours to account for the overnight transition. This ensures your total elapsed time and net working hours are computed accurately without requiring manual date math.

Why does the output show decimal hours instead of minutes?

Payroll departments and accounting software require time to be expressed in decimals rather than hours and minutes to multiply it cleanly against hourly wage rates. For example, working thirty minutes past the hour is represented as 0.5 decimal hours. This conversion prevents fractional math errors when processing weekly or bi-weekly paychecks.

Should I include my lunch break in the total hours worked?

Most employment standards do not mandate paid meal breaks if they exceed twenty or thirty minutes in length. You should enter your uncompensated lunch or rest periods into the unpaid break field so they are properly subtracted from your gross elapsed time. Always check your local labor laws or employee handbook to confirm which break durations are legally required to be unpaid.

How does the tool handle multi-day work schedules?

When you enter a number greater than one in the days field, the system multiplies the single-day net decimal hours across your entire specified schedule. This feature allows you to project total weekly hours or earnings for a consistent five-day or six-day work week instantly. It saves you from having to recalculate identical daily shifts individually.

What happens if my calculated hours exceed forty for the week?

The system isolates any cumulative hours that go beyond the standard forty-hour threshold and displays them in a dedicated overtime field. This helps you monitor standard full-time limits across your specified multi-day schedule. However, keep in mind that local labor regulations regarding daily overtime triggers may require a more specialized review from your payroll department.

Can I use this tool if I am paid a fixed annual salary?

This utility is specifically designed for hourly wage earners tracking elapsed time on a time card or timesheet. Salaried employees typically receive a predetermined gross amount per pay period regardless of exact hours worked, rendering hourly rate multiplications unnecessary. If you are salaried and tracking hours, you may still use the tool for time management, but the pay calculations will not reflect your fixed salary structure.

Last reviewed . Results are for general guidance and are not professional advice.