In Excel: multiply the time by 24 and format the result as a plain number — =A2*24 turns 7:30 into 7.5.
On this page7
8.00 decimal hours
What this does
A time in Excel is a fraction of a day, so 7:30 is stored as 0.3125. Multiplying by 24 converts it into hours, by 1440 into minutes, and by 86400 into seconds. The step people forget is the second one: the result cell inherits the source's time format, so 7.5 is displayed back as 12:00 until you set the cell to General or Number. Going the other way — decimal hours into a time — divide by 24 and format as time, or use =TIME(hours, minutes, 0) if the parts are in separate cells. Converting minutes to hours is the same operation viewed differently: if A2 holds a plain NUMBER of minutes rather than a time value, =A2/60 gives decimal hours, and =A2/1440 gives a time value you can format as h:mm. Whether to divide by 60 or by 1440 depends entirely on whether the cell holds a number or a time, which is why checking the alignment first is worth the second it takes. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “converting time to decimal excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
B2 holds the duration 7:30. =B2*24 formatted as Number with one decimal shows 7.5, ready to multiply by an hourly rate: =B2*24*C2 with a rate of 18.50 gives 138.75. In reverse, 7.5 in D2 back to a time: =D2/24 formatted as h:mm shows 7:30. And 135 plain minutes in E2: =E2/60 gives 2.25 hours, =E2/1440 formatted as h:mm gives 2:15. Every hourly-rate calculation needs the decimal form, and the ×24 is only half of it — the number format is what makes the answer readable. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “converting time to decimal excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Forgetting to change the number format, so the correct answer is displayed back as a time.
- Multiplying a text "7:30" by 24 and getting
#VALUE!— convert it to a real time first. - Dividing by 60 when the cell holds a time value rather than a count of minutes.
- Rounding each row to two decimals and then totalling, which drifts from the total of the unrounded values.
- Paying against the raw time value, which is a fraction of a day and roughly 24 times too small.
Frequently asked questions
How do I convert time to a decimal in Excel?
Multiply by 24 and format the result as a number: =A2*24 turns 7:30 into 7.5.
Why does my result still look like a time?
The result cell kept the time format. Set it to General or Number via Ctrl+1.
How do I convert minutes to hours?
If the cell holds a plain number of minutes, =A2/60. If it holds a time value, =A2*24.
How do I convert a decimal back to a time?
Divide by 24 and format the cell as h:mm — =D2/24 turns 7.5 back into 7:30.
Other ways people ask this
People reach this page typing “excel formula for converting time to decimal” and “converting time to decimals in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “excel formula for converting time to decimal”, “converting time to decimals in excel” all point at the one operation explained on this page, which is why they all lead here.