Payroll & Time Tracking

Hours Calculator: Calculate Hours Between Two Times

Thu Aug 13 2026
Placeholder Image

An hours calculator works by subtracting your start time from your end time to get the total hours and minutes in between. For example, 8AM to 6PM is 10 hours. Enter a start time, an end time, and the tool returns the duration—then you deduct unpaid breaks and convert the result to decimals for payroll. This guide explains how to do all of that accurately, covers overtime and weekly totals, and shows the point where a manual calculator stops keeping up with a growing team.

How to Calculate Hours Between Two Times

To calculate hours between two times, subtract the start time from the end time. The result is a duration expressed in hours and minutes.

A quick worked example: someone clocks in at 8AM and clocks out at 6PM. That's 10 hours. Clock in at 9AM and out at 5PM, and you get 8 hours. When minutes are involved, carry them the same way you would in normal arithmetic—9:15 to 5:45 is 8 hours and 30 minutes.

Most popular tools, including CalculatorSoup, accept a colon-optional input format to speed things up. You can type 915 for 9:15 or 1225 for 12:25, and the calculator interprets it correctly. On a 12-hour clock, a single number from 1 through 12 is read as that hour on the hour—so entering 5 means 5:00.

The core job of an hours calculator is simple: it computes the duration in hours and minutes between a start time and an end time. Everything else—breaks, decimals, overtime—builds on that one calculation. If you're planning capacity, it also helps to know how many hours are in a week and how to allocate them.

Using the Hours Calculator: Step by Step

Every standalone hours and minutes calculator follows roughly the same flow. Here's how to use one without second-guessing the result.

  1. Enter the start time. Type the hour and minutes. If the tool uses a 12-hour clock, set AM or PM. If it uses a 24-hour clock, enter 17:00 instead of 5:00 PM.
  2. Enter the end time. Use the same format as the start time so the two values match.
  3. Set AM/PM or confirm 24-hour input. This is where most mistakes happen. A shift entered as 8:00 to 5:00 without AM/PM markers can be read as 9 hours or something very different.
  4. Read the result. The calculator returns the total as hours and minutes, and often as a decimal figure too.

Different tools handle input slightly differently. Calculator.net and GigaCalculator let you toggle between 12-hour and 24-hour clocks. CalculatorSoup accepts the colon-free shorthand and reads a lone number as an on-the-hour time. A helpful shared tip: use the Tab key to jump between input boxes rather than clicking each one, which makes entering a full week of times much faster.

If your times cross midnight—say a shift from 10PM to 6AM—make sure the tool supports overnight spans, since a basic time calculator may return a negative or zero value otherwise.

Calculating Work Hours With Breaks and Lunch

Total shift time and paid work time are not the same thing. Once you subtract unpaid breaks, you get the hours you actually pay for.

The math is straightforward. Take the duration between clock-in and clock-out, then subtract any unpaid break. Someone who works 9AM to 5PM logs 8 hours of shift time, but with a 30-minute unpaid lunch, paid time drops to 7 hours and 30 minutes. This is the classic "hours calculator with lunch" use case, and most work hours calculators include a break-deduction field for exactly this reason.

To calculate hours worked across a full day with multiple breaks:

  • Add up the total time from clock-in to clock-out.
  • Subtract every unpaid break (lunch plus any short unpaid rest periods).
  • The remainder is your paid daily total.

For a weekly total, repeat that for each day and add the daily figures together. A time card for Monday through Friday at 7.5 paid hours a day comes to 37.5 hours for the week. Keeping breaks consistent day to day makes this addition faster and easier to audit later.

One caution: track breaks the same way every day. If Monday's lunch is deducted but Tuesday's isn't recorded, your weekly total will overstate paid hours—and that error compounds across a full pay period.

Converting Hours and Minutes to Decimal for Payroll

Payroll systems almost never accept hours and minutes in hh:mm format. They use decimal hours, so you multiply an hourly rate by a clean decimal number instead of wrestling with minutes. Once you have that decimal figure, a paycheck calculator can estimate take-home pay after taxes and deductions.

The conversion rule: divide the minutes by 60. So 8:15 becomes 8.25 hours, because 15 minutes is one quarter of an hour. Likewise, 0.25 in decimal equals 15 minutes. Here's a quick reference for common minute values:

MinutesDecimal
15 minutes0.25
20 minutes0.33
30 minutes0.50
40 minutes0.67
45 minutes0.75

One subtlety trips up a lot of people. As the footnote on timecardcalculator.net explains, decimal totals are calculated by converting the hh:mm total—not by adding up the daily decimal figures. Because of rounding, the sum of daily decimal hours might not exactly equal the calculated total decimal hours for a pay period. People are usually paid on the weekly hh:mm total, and that is the number converted to a decimal.

In practice: convert the weekly total once, at the end. Converting each day and then summing can introduce small rounding gaps that make your paycheck math look off even when the underlying minutes are correct.

Overtime and Weekly Totals

Weekly totals matter for more than record-keeping—they determine overtime. Under U.S. federal rules, non-exempt employees earn overtime for hours worked beyond 40 in a workweek.

So if an employee logs 45 paid hours in a week, 40 are regular hours and 5 are overtime, typically paid at 1.5 times the regular rate. A work hours calculator that supports overtime flags this split automatically once you enter the daily times—no manual threshold checking required.

State rules can add another layer. As timecardcalculator.net notes, California applies daily overtime rules on top of the weekly standard, so an employee can trigger overtime by hours worked in a single day, not just across the week. Employers in California also have to keep track of obligations like the California franchise tax, so state-specific compliance adds up. If you employ people in multiple states, the same weekly hours can produce different overtime results depending on where each person works.

This is where a simple pay calculator for hours and minutes starts to show its limits. It can tell you a week's total and even flag overtime, but it can't remember which employee is subject to which state's rules, or apply them consistently across every pay period without someone re-entering the settings each time.

When a Manual Hours Calculator Stops Scaling for Small Teams

A standalone hours calculator is perfect for a one-off question. It answers "how many hours was that shift?" in seconds. The trouble starts when you have several employees, a recurring payroll cycle, compliance records to keep, and PTO to track alongside everything else.

At that point, the manual workflow quietly eats your week:

  • You re-enter the same times into a calculator every pay period, for every person.
  • Break deductions and overtime rules live in your head instead of in a system.
  • There's no audit trail—if a total is questioned, you're reconstructing it from memory or scattered spreadsheets.
  • Hours tracking sits in one place, PTO in another, and performance data somewhere else entirely.

For small teams, the answer isn't a fancier calculator—it's an HR system that tracks time, hours, and the rest of the employee record together. That same consolidation is why many teams also automate employee onboarding instead of juggling manual steps. That shift eliminates the copy-paste routine and keeps a clean, defensible record without extra effort.

HR HiFi is an AI-native HR OS built for exactly this stage. It automates hour tracking alongside performance reviews and OKRs, so the same platform that logs a team's weekly hours also supports how you manage and grow that team. Instead of stitching together a calculator, a spreadsheet, and a separate review tool, you get one place that scales as you hire. You can compare plans on our pricing page to see what fits your team.

If your manual hours calculator has started to feel like a part-time job, it's worth seeing what a purpose-built HR OS handles for you. Explore HR HiFi and streamline hour tracking, reviews, and OKRs for your small team.

Frequently Asked Questions

How many hours is 9AM to 5PM?

9AM to 5PM is 8 hours. If a 30-minute unpaid lunch is deducted, paid time is 7 hours and 30 minutes (7.5 in decimal).

How do I calculate hours worked in a week?

Calculate each day's paid hours by subtracting unpaid breaks from the clock-in-to-clock-out duration, then add the daily totals together. Five days at 7.5 paid hours equals 37.5 hours for the week.

How do I convert minutes to decimal hours for payroll?

Divide the minutes by 60. 15 minutes is 0.25, 30 minutes is 0.50, and 45 minutes is 0.75. Convert the weekly hh:mm total once, rather than converting each day and adding, to avoid rounding differences.

How do I subtract a lunch break from total hours?

Find the total shift duration, then subtract the unpaid break time. An 8-hour shift with a 1-hour unpaid lunch leaves 7 paid hours. Deduct breaks the same way every day so weekly totals stay accurate.

What's the best way to track work hours for a small team?

A manual hours calculator works for occasional checks, but once you have multiple employees, recurring payroll, and compliance records, an HR system is more reliable. A platform like HR HiFi tracks hours, PTO, and performance together and applies overtime rules consistently without re-entry.

AUTHOR

HR HiFi Team

Enjoy an intuitive platform designed for effortless creativity, perfect for beginners and experts alike.
built with
Pixelesq Logo
pixelesq