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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “convert time to decimal excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. 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 turns a data step that keeps your analysis trustworthy into a method you can reuse, explain, and defend when the workbook leaves your screen.
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. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “convert 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
On the way here you may have searched this as “how to convert time to decimal in excel”, “excel convert time stamp between timezones”, “excel convert hex to decimal” and “excel time to decimal conversion” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to convert time to decimal in excel”, “excel convert time stamp between timezones”, “excel convert hex to decimal” all point at the one operation explained on this page, which is why they all lead here.