Work Hours Calculator: Why 8 Hours 30 Minutes Is 8.5 Hours

PublishedToolTime Duration Calculator

Contents
  1. The common mistake when converting work hours to decimals
  2. How to calculate it yourself without a tool
  3. Parts people often get confused
  4. The bottom line
  5. Frequently asked questions

This article is for anyone who knows their clock-in and clock-out times and wants to see, all at once, how many hours and minutes they actually worked and what that comes to in decimal hours (for example, 8.5 hours) for payroll. The short answer: 8 hours 30 minutes is 8.5 hours, not 8.3. The "minutes" part of hours:minutes runs on base 60, not base 100, so when you convert it to a decimal you divide 30 by 60, not by 100.

Summary ① To convert the minutes part of hours:minutes into decimal hours, divide by 60. 30 minutes is 30÷60 = 0.5 hours, so 8 hours 30 minutes is 8.5 hours. ② Total minutes is the difference in milliseconds between the two times divided by 60,000 and rounded down; the quotient and remainder of that number divided by 60 are the hours and minutes. ③ If you subtract hours:minutes only for work that runs past midnight into the next day, the result can be off. Enter the start date and end date separately to get it right.

The common mistake when converting work hours to decimals

To put a shift written as "8:30" on a time sheet into an hourly pay calculation or payroll program, you need a decimal number. It's common to carry the 30 over as-is and write 8.3 hours.

That amounts to dividing 30 by 100 to get 0.3, but the "minutes" of time run on base 60, not base 100. Since 60 minutes make an hour, 30 minutes is half of 60 minutes, or 0.5 hours. The difference between 8.3 hours and 8.5 hours turns straight into a difference in pay once it's multiplied by the hourly rate.

This mistake repeats just the same with tidy amounts like 30, 45, and 15 minutes. It's an error that disappears once you're clear that the basis for converting minutes to a decimal is 60.

How to calculate it yourself without a tool

Working out elapsed time takes three steps.

Getting total minutes and splitting them into hours:minutes

Step 1 — Get the total minutes. Convert the start time and end time each into "minutes since midnight," then subtract the start from the end. 9 a.m. is 9×60 = 540 minutes and 5:30 p.m. is 17×60 + 30 = 1,050 minutes, so the difference, 510 minutes, is the total time worked.

Step 2 — Split the total minutes into hours:minutes. Divide 510 minutes by 60 and the quotient is 8 with a remainder of 30. The quotient is hours and the remainder is minutes, so 8 hours 30 minutes.

Decimal hours and the midnight adjustment

Step 3 — Divide the total minutes by 60 to get decimal hours. 510÷60 = 8.5. That value is the decimal hours (decimal hours) used for payroll and so on, and it's written rounded to two decimal places.

If the shift crosses midnight, you need one more step. When the end time looks earlier on the clock than the start time (for example, starting at 22:00 and ending at 6:00 the next day), you have to add 24 hours (1,440 minutes) to the end. Subtract hours:minutes as-is with no adjustment and you'll get a value that doesn't match reality.

Check it with our tool.

Time Duration Calculator

Enter a start date and time and an end date and time, and hours:minutes, decimal hours, and total minutes are calculated at once. Free, no login.

Parts people often get confused

Total minutes is a whole number: the difference in milliseconds between the two times, divided by 60,000 and rounded down. Decimal hours is that total minutes divided by 60 again and rounded to two decimal places. The two are used in different places.

Sometimes 60 doesn't divide evenly by 3. The decimal hours for 8 hours 20 minutes (500 minutes) is 500÷60 = 8.333..., so it shows as 8.33 hours after rounding, not exactly 8.3 or 8.35.

MinutesDecimal hours
15 minutes0.25 hours
20 minutes0.33 hours
30 minutes0.5 hours
45 minutes0.75 hours

When you're calculating a shift that crosses midnight, enter the end date differently from the start date, meaning the next day. If you leave the end date alone and just enter an hours:minutes value earlier than the start, the end time ends up earlier than the start time, and instead of a result you'll see a message asking you to check your input.

The bottom line

  • The "minutes" of hours:minutes run on base 60, so convert them to a decimal by dividing by 60 (not 100).
  • Total minutes is the difference in milliseconds between the two times divided by 60,000 and rounded down.
  • Decimal hours is total minutes divided by 60 and rounded to two decimal places.
  • For shifts that cross midnight, enter the end date separately as the next day to get an accurate calculation.
  • If the end is entered earlier than the start, you'll see a message instead of a calculation.
Time Duration Calculator

Enter a start date and time and an end date and time, and hours:minutes, decimal hours, and total minutes are calculated at once. Free, no login.

Frequently asked questions

Why is 8 hours 30 minutes 8.5 hours instead of 8.3?

Because the "minutes" of time run on base 60. 30 minutes is half of an hour (60 minutes), so 30÷60 = 0.5 hours, and adding that to 8 hours gives 8.5 hours. Calculating 30÷100 = 0.3 uses base 100 and doesn't match the real value.

What's the difference between total minutes and decimal hours?

Total minutes is the entire time between start and end expressed as a single whole number of minutes. Decimal hours is that total minutes divided by 60 and rounded to two decimal places, used for calculations that need a number in hour units, like hourly pay. They're just the same elapsed time shown in different units.

How do I enter work hours that cross midnight?

Enter the start date and end date separately. For example, if you enter a start of July 17 at 22:00 and an end of July 18 at 06:00, the dates are factored in automatically and it calculates 8 hours. If you leave the end date on the same day as the start, the end ends up earlier than the start, and you'll see a message instead of a calculation.

Can I enter seconds too?

This calculator takes a date and hours:minutes for both the start and the end, and there's no separate field for seconds. As soon as you enter the values, the hours:minutes, decimal hours, and total minutes all update and display together.

This article was adapted from our Korean original. Read the Korean original

Related articles

  1. Travel Adapter or Voltage Converter? Check Plug Type and VoltageCheck your device's input voltage and the destination's plug type to see whether you need only a plug adapter or a voltage converter too.
  2. A/B Test Significance: Z-Test, p-Value, and 95% ConfidenceLearn how to check A/B test significance with a two-proportion Z-test: turn visitors and conversions into a p-value and pick a real winner.
  3. APA, MLA & Chicago Citation Generator: Auto-Format ReferencesSee how APA 7th, MLA 9th, and Chicago 17th references differ in author names, dates, italics, and punctuation, and how to format them correctly.
  4. ROAS vs ROI: How to Calculate Your Break-Even ROASSee how ROAS and ROI differ, then work out your break-even ROAS from your margin so you don't scale an ad campaign that loses money.
  5. Running Pace Calculator: Target Pace & Race Splits GuideLearn how to work out your pace per mile or km for a marathon or 10K, read 5 km split tables, and use a negative split to finish strong and set a PR.
  6. How Long to Sober Up: Widmark Formula & Alcohol Clearance TimeLearn how weight, sex, and drink strength affect how long alcohol stays in your system, how the Widmark formula works, and why morning-after driving is risky.

Related tools