Formula: Decimal Hours Conversion & Formula
- decimalHours: Decimal Hours (hours)
- hourlyRate: Hourly Rate (USD/hr)
Rounding: Exact NIST/BIPM conversion factors are used internally; displayed values round to 2–4 decimal places.
Eliminate payroll rounding mistakes between 7:45 (HH:MM) and 7.75 decimal hours.
Rounding: Exact NIST/BIPM conversion factors are used internally; displayed values round to 2–4 decimal places.
It is 45 minutes, because 0.75 times 60 equals 45. That is why the default entry of 7.75 decimal hours splits into 7 whole hours and 45 remaining minutes. The same pattern gives 15 minutes for 0.25 and 30 minutes for 0.5. Quarter hours are the conversions that appear most often on payroll sheets, so they are worth knowing without looking them up.
Only if the sheet records clock time. As a decimal, 8.30 is 8.3 hours, which is 8 hours and 18 minutes, because 0.3 of an hour is 18 minutes. Eight and a half hours in decimal form is 8.5. Ask whoever set up the sheet which format the column uses, then enter the decimal version here to see the split.
The page multiplies the exact decimal you typed by the rate, so the default 7.75 hours at 35 USD bills at 271.25 USD. If you rounded the time to whole minutes or quarter hours first and then multiplied, your figure will differ slightly. Decide which version your contract uses and enter the decimal that matches it before reading the bill line.
The sentence below the result gives the full H:MM:SS form, the leftover seconds and the total seconds, for example 7:45:00 and 27,900 seconds for the default. For 1.33 hours it shows 1:19:48. The breakdown lines list only whole hours and whole minutes, so the leftover seconds appear in the sentence rather than being rounded into the minutes.
Yes. The input is a duration, not a time of day, so a weekly total works the same way as a single shift. Twelve hours gives 720 minutes and 43200 seconds, and larger totals scale the same way. The whole hours component simply keeps counting rather than wrapping round to zero at midnight, which is what you want for a pay period.
Each tenth is 6 minutes. So 0.1 is 6 minutes, 0.2 is 12, 0.5 is 30 and 0.9 is 54. Aviation logbooks and many time clocks record in tenths, which makes a reading like 1.2 an hour and twelve minutes. Type any tenth into the decimal hours box and the remaining minutes component will confirm it.
The minutes component counts only complete minutes, and 7.999 hours is 7 hours 59 minutes 56 seconds, which the sentence shows as 7:59:56. It is four seconds short of eight hours. If the decimal came from a spreadsheet and should really be a whole number, round it before entering it and the split will read 8:00:00.
No. It converts one duration and multiplies it by one rate. Subtract unpaid breaks from the decimal hours before you enter them, and work out overtime separately if your pay rate changes after a threshold. For overtime, convert the regular and premium portions as two entries and add the two bill amounts together.
The page shows an error asking for decimal hours of zero or more, because a duration cannot be negative. To record a correction, convert the positive amount you need to remove, then subtract it from the earlier total yourself. A zero entry is accepted and returns zero minutes, zero seconds and a bill of zero.
Yes. The calculator shows 276 minutes in total, split into 4 whole hours and 36 remaining minutes, because 0.6 times 60 is 36. At 35 USD an hour, the bill comes to 161 USD. This is a good example of a decimal that looks like clock time but is not; 4:60 does not exist.
Multiply only the part after the point by 60. For 7.75 that is 0.75 times 60, giving 45 minutes, and the 7 stays as the hours. If the result has its own decimal, multiply that fraction by 60 again to get seconds. Then compare your answer with the remaining minutes component on the page to make sure you entered the figure you meant.
The default entry is 7.75 decimal hours with a rate of 35 USD an hour. The headline figure is 465 minutes, and below it the page splits that into a whole hours component of 7 and a remaining minutes component of 45. The billable line reads 271.25 USD, and the sentence underneath gives the clock form 7:45:00 along with the total in seconds, 27,900 in all.
Every one of those numbers comes from two multiplications. Total minutes is the decimal figure times 60. Total seconds is the decimal figure times 3600, the number of seconds in an hour. The whole hours are simply the part before the decimal point, and the remaining minutes are the fraction after the point times 60. For the default, 0.75 times 60 is 45, so 7.75 hours is 7 hours and 45 minutes.
That is the whole method. Decimal hours are an ordinary base ten number, while clock time runs in sixties. A fraction of an hour is a fraction of 60 minutes, not of 100, and the calculator exists because that gap trips people up on timesheets every week.
The single most common payroll error this page catches is reading the digits after the point as minutes. A timesheet that says 7.45 looks like a quarter to eight. It is not. Type 7.45 into the calculator and the minutes component comes back as 27, because 0.45 of an hour is 27 minutes. The shift is 7 hours 27 minutes, eighteen minutes shorter than 7:45.
Going the other way causes the mirror image. Someone who worked 7 hours 45 minutes and writes 7.45 on a decimal timesheet has shorted themselves. The correct decimal entry is 7.75, which is the page default for exactly this reason.
A quick sanity rule: in decimal hours, .25 is 15 minutes, .5 is 30 minutes and .75 is 45 minutes. If you ever see a decimal part above .59 on a sheet that was meant to be clock time, something has been mixed up, because clock minutes never go past 59. Decimal parts can, so 7.8 is a perfectly valid 7 hours 48 minutes.
Two other inputs show how the split behaves. At 4.6 decimal hours the page reports 276 minutes, broken into 4 whole hours and 36 remaining minutes, with a total of 16560 seconds and a bill of 161 USD at the default rate. You can check the minutes by hand: 0.6 times 60 is 36.
At 12 decimal hours there is no fraction at all. The minutes component reads 0, the total is 720 minutes and 43200 seconds, and the bill is 420 USD. Whole numbers are the easy case; it is the fractional part that needs converting.
Tenths are worth memorising because many clocks and aviation logs record time that way. Each tenth of an hour is 6 minutes. I ran 0.1 and the page shows 6 minutes; 1.2 shows 1 hour 12 minutes. A pilot logbook entry of 1.2 is therefore an hour and twelve minutes, not an hour and twenty.
The Billable Amount at Rate figure multiplies the decimal hours you typed by the hourly rate. It does not use the hours, minutes and seconds shown above it. For the default, 7.75 times 35 is 271.25 USD, and that is what appears.
This is the right order of operations for an invoice. If you round the clock time first and then convert back, small errors creep in on every line. Multiplying the decimal directly keeps the money exact to the cent, and the page displays it to two decimal places.
The rate field is optional in practice. Set it to zero and the bill line reads 0 USD while every time component stays the same. The currency label says USD, but the arithmetic is the same for any currency; the label is just text. Overtime premiums, breaks that are unpaid, tax and any minimum billing increment are not modelled. If your contract bills in quarter hours, round the decimal hours to the nearest .25 yourself before you enter them.
The breakdown lines give whole hours and whole minutes, and the sentence under the result adds the full clock form, H:MM:SS, along with the leftover seconds and the total seconds count. For the default it reads 7:45:00, which is 7 hours 45 minutes and 0 seconds.
Fractions that do not land on a whole minute are where the seconds matter. Try 1.33 hours. The headline total is 79.8 minutes, the minutes component shows 19, and the sentence gives 1:19:48. That is right: 0.33 of an hour is 19.8 minutes, and 0.8 of a minute is 48 seconds. The minutes component counts only complete minutes, so the leftover part of a minute appears in the seconds rather than being rounded into the minutes.
For most timesheets the seconds do not matter, because payroll systems record to the minute or to the hundredth of an hour. For lap times, flight logs or lab timing they might, so read the H:MM:SS form from the sentence rather than piecing it together from the breakdown lines.
Because the minutes component counts only complete minutes, a decimal very close to the next whole hour gives a sensible split. I entered 7.999 and the page reported 7 hours and 59 minutes, with the sentence showing 7:59:56. A clock would show the same. The bill is worked out from the decimal itself, so it is not affected by how the time is split.
Seconds are rounded to the nearest whole second, so tiny leftovers from spreadsheet formulas disappear. An entry of 7.9999 hours is less than half a second short of eight hours, and the page shows it as 8:00:00. That is usually what you want. If a result lands a few seconds short of a round hour and you expected a whole number, round the decimal to two or three places before entering it.
Negative input is rejected with a message asking for decimal hours of zero or more. That is the right behaviour, since a duration cannot be negative. If you are working out a correction to a previous timesheet entry, convert the positive amount here and treat it as a deduction yourself. Zero is accepted and returns zero on every line.
Many employers do not pay to the exact minute. Some round each punch to the nearest tenth of an hour, others to the nearest quarter. The calculator does not apply either rule, so you need to decide on the increment first and enter a decimal that already respects it.
Take a shift that ran 7 hours 41 minutes. As an exact decimal that is about 7.68 hours. Rounded to the nearest quarter it becomes 7.75, which the page turns into 7 hours 45 minutes and 271.25 USD at the default rate. Rounded to the nearest tenth it becomes 7.7, which the page shows as 7 hours 42 minutes. The two rules give answers a few minutes apart on the same shift, and across a month of shifts the money adds up.
If you are an employee checking a payslip, find out which increment your employer uses and convert your own clock times the same way. If you are the one running payroll, apply the rule consistently in both directions, rounding down as often as up, and keep the unrounded times somewhere in case anyone asks.
Freelancers billing clients face the same choice. A minimum increment of a quarter hour is common in professional services, and a short phone call then bills as 0.25. The calculator will show that as 15 minutes and price it at a quarter of your hourly rate, which is a quick way to confirm the line item before it goes on an invoice.
The description mentions converting minutes into decimal hours, but the calculator only has a decimal hours input. To go the other way, divide the minutes by 60 and add the result to the whole hours. Seven hours and 45 minutes is 7 plus 45 over 60, which is 7.75.
You can then type that decimal back in to confirm the split. If the page returns the same hours and minutes you started with, the conversion is right. This round trip is a cheap check before you submit a timesheet or send an invoice.
For a week of shifts, add the decimal hours first and convert once at the end. Adding clock times directly is where most errors happen, because 45 minutes plus 30 minutes is not 75 minutes of anything useful until you carry the hour. Decimals add like any other number, so a total of 37.5 for the week is simply 37 hours 30 minutes.
Spreadsheets need the same care. A cell formatted as time stores 7:45 as a fraction of a day, not of an hour, so multiplying it by a rate gives nonsense. Multiply the time value by 24 first to turn it into decimal hours, then check one or two rows against this page. If the spreadsheet says 7.75 and the calculator splits it into 7 hours and 45 minutes, your formula is working.