Search Calculators

Find a calculator by name, category, or keyword.

Time Calculator

Calculate hours and minutes between two times. Decimal hours for timesheets.

What Is a Time Calculator?

A time calculator is a tool that finds the elapsed time between two clock times and expresses the result as hours and minutes and as decimal hours. Instead of counting on your fingers from a 9:15 AM clock-in to a 5:45 PM clock-out, you enter the two times and the calculator does the arithmetic for you.

The reason this deserves a dedicated tool is that clock time is not a normal decimal system. Minutes roll over at 60, not at 100, and the 12-hour AM/PM convention plus the possibility of crossing midnight make manual subtraction surprisingly error-prone. A single miscounted hour on a timesheet, repeated across a pay period, can add up to real money.

People reach for a time calculator in a few common situations:

  • Payroll and timesheets — converting a work shift into billable, payable hours.
  • Freelance and consulting — turning start/stop times into invoiceable decimal hours.
  • Scheduling — checking how long a meeting, flight, or task actually runs.
  • Everyday questions — "how many hours between times like 10:30 and 18:15?"

The core job of the calculator is simple: take a start time and an end time, and reliably answer "how much time is that?" in the format you actually need.

The Formula: How to Calculate Hours Between Two Times

The underlying method is to convert both times into a single unit (total minutes since midnight), subtract, and convert back. This sidesteps all the messy borrowing that trips people up.

Start (in minutes)  = start_hour × 60 + start_minute
End (in minutes)    = end_hour × 60 + end_minute
Elapsed minutes     = End − Start

Hours    = Elapsed minutes ÷ 60   (whole number)
Minutes  = Elapsed minutes mod 60  (remainder)
Decimal hours = Elapsed minutes ÷ 60

If the end time is earlier than the start time, the shift crossed midnight, so add 24 hours (1440 minutes) to the end before subtracting.

Worked example 1 — a standard shift

Start 9:00 AM, end 5:30 PM (17:30).

Start = 9 × 60 + 0   = 540
End   = 17 × 60 + 30 = 1050
Elapsed = 1050 − 540 = 510 minutes
510 ÷ 60 = 8 hours, remainder 30 → 8h 30m
Decimal hours = 510 ÷ 60 = 8.5

Worked example 2 — awkward minutes

Start 8:15 AM, end 4:50 PM (16:50).

Start = 8 × 60 + 15  = 495
End   = 16 × 60 + 50 = 1010
Elapsed = 1010 − 495 = 515 minutes
515 ÷ 60 = 8 hours, remainder 35 → 8h 35m
Decimal hours = 515 ÷ 60 ≈ 8.58

Worked example 3 — an overnight shift

Start 10:00 PM (22:00), end 6:30 AM (06:30).

Start = 22 × 60 + 0 = 1320
End   = 6 × 60 + 30 = 390  → add 1440 = 1830
Elapsed = 1830 − 1320 = 510 minutes → 8h 30m (8.5 decimal)

Hours and Minutes vs. Decimal Hours

The single most useful thing a time calculator does for payroll is convert between hours-and-minutes format and decimal hours. Payroll systems multiply pay rate by decimal hours, so you cannot simply multiply by "8.30" when you mean 8 hours 30 minutes.

The conversion is straightforward: decimal hours = whole hours + (minutes ÷ 60).

To see why the distinction matters, imagine an hourly rate of $20:

  • 8h 30m is 8.5 decimal hours → 8.5 × $20 = $170.00 (correct).
  • Typing 8.30 by mistake → 8.30 × $20 = $166.00, shorting the worker $4.

That error compounds every day. A worker recorded as "8.30" instead of "8.5" five days a week loses about $20 per week, or over $1,000 a year. The reverse mistake overpays the employer. This is exactly the kind of silent rounding drift a calculator eliminates.

Minutes-to-Decimal Conversion Table

Because the 0–59 minute range does not map cleanly onto decimals, a reference table is the fastest way to sanity-check payroll entries. Each decimal value below is minutes ÷ 60, rounded to two places.

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

A few anchor points are worth memorizing because they come up constantly:

  • 15 minutes = 0.25 (a quarter hour)
  • 30 minutes = 0.50 (a half hour)
  • 45 minutes = 0.75 (three-quarters)

Many employers round clock punches to the nearest 15 minutes (the "quarter-hour rounding" rule). If your workplace does this, the 0.25 / 0.50 / 0.75 values will be the only decimals you ever see.

Step-by-Step: Calculating a Full Workday

Real timesheets almost always include an unpaid break, so a complete calculation has an extra step. Here is the full procedure a timesheet calculation follows.

  1. Find gross elapsed time. Subtract start from end using the minutes method above.
  2. Subtract unpaid breaks. A 30- or 60-minute lunch is not paid time in most hourly jobs.
  3. Convert to decimal hours. Divide the remaining minutes by 60.
  4. Multiply by pay rate (if calculating wages).

Example: a shift with a lunch break

Suppose someone works 7:45 AM to 4:15 PM with a 45-minute unpaid lunch, at $18/hour.

Start = 7×60 + 45 = 465
End   = 16×60 + 15 = 975
Gross = 975 − 465 = 510 minutes  (8h 30m)
Less lunch = 510 − 45 = 465 minutes
Worked = 465 ÷ 60 = 7.75 decimal hours (7h 45m)
Pay = 7.75 × $18 = $139.50

Doing this by eye is where mistakes creep in — it is easy to forget the break or to treat 7h 45m as "7.45" instead of 7.75.

How to Use This Time Calculator

The calculator is built around two inputs and several outputs.

Inputs

  • Start time — when the period begins (your clock-in, meeting start, or departure). Enter it in either 12-hour (with AM/PM) or 24-hour format.
  • End time — when the period ends (your clock-out, meeting end, or arrival).

Outputs

  • Hours and minutes — the elapsed time in the natural Xh Ym format, e.g. 8h 30m.
  • Decimal hours — the same duration as a single number for payroll and invoicing, e.g. 8.5.
  • Total minutes — useful for very short intervals or for further math.

Tips for accurate entry

  • Watch AM vs. PM. 5:00 without a meridiem is ambiguous; the calculator assumes what you select, so double-check.
  • Overnight shifts are handled automatically. If the end time is earlier than the start time, the tool assumes the period crossed midnight and adds 24 hours.
  • Breaks are separate. If your version of the tool has a break field, enter unpaid time there; otherwise subtract it from the result yourself.

The calculator answers the everyday question — hours between times — instantly, and gives you both formats so you never have to convert by hand.

Practical Tips and When to Use Each Format

Knowing which output to use is half the value of a time calculator.

  • Use hours-and-minutes for human-facing schedules, calendars, and "how long will this take?" conversations. 1h 45m reads more naturally than 1.75.
  • Use decimal hours whenever you multiply by a rate — payroll, freelance invoices, billable client hours, or project cost estimates.
  • Use total minutes for short tasks (a 25-minute stand-up) or when logging into systems that expect minutes.

For freelancers and consultants

If you bill $75/hour and work three sessions of 1h 20m, 2h 10m, and 0h 50m, add the minutes first:

80 + 130 + 50 = 260 minutes = 4h 20m = 4.33 decimal hours
4.33 × $75 ≈ $325

Adding times in hours-and-minutes directly is a classic trap (1:20 + 2:10 is not 3:30 in decimal terms until you convert). Convert to minutes, sum, then convert once at the end.

For managers approving timesheets

Spot-check that decimals fall on sensible values. A logged 7.4 should raise an eyebrow — did they mean 7h 24m (7.4) or 7h 40m (7.67)? The table above makes these checks a two-second glance.

Common Mistakes to Avoid

Most time-calculation errors come from a handful of predictable traps.

  1. Treating minutes as decimals. 8h 30m is 8.5, not 8.30. This is the number-one payroll error. Always divide minutes by 60.

  2. Forgetting the AM/PM flip. Subtracting 8:00 AM from 5:00 PM means the PM time is 17:00, giving 9 hours — not 3. Convert to 24-hour time first if you are doing it by hand.

  3. Mishandling overnight shifts. For a 10 PM–6 AM shift, naïve subtraction gives a negative or wrong result. Add 24 hours to the end time when it falls before the start.

  4. Forgetting unpaid breaks. Gross shift length is not paid hours. A 9-hour shift with a 1-hour lunch is 8 paid hours.

  5. Rounding too early. Round only the final decimal, and to two places. Rounding each entry to one decimal and then summing introduces drift across a pay period.

  6. Ignoring your employer's rounding rule. Some companies round punches to the nearest 6, 10, or 15 minutes. Know which rule applies before you dispute a number.

Quick self-check: if your decimal hours end in something other than a value from the conversion table, you have probably mixed up minutes and decimals somewhere.

Related Calculators

Loading calculator...