Excel: Convert Time to Decimal Hours

The fastest Excel formula to convert any time value to decimal hours.

If cell A1 contains a time value (e.g., 7:45):

=A1 * 24

Result: 7.75 (decimal hours)

Why Multiply by 24?

Excel stores time as a fraction of a 24-hour day. When you enter 7:45, Excel internally stores it as 0.322917 (which is 7.75/24). Multiplying by 24 reverses this, giving you the total hours as a decimal number.

7:45 AM internally = 0.322917

0.322917 × 24 = 7.75 hours

Three Methods in Excel

Method 1: Multiply by 24 (Recommended)

=A1 * 24

Simplest and fastest. Works in Excel, Google Sheets, and LibreOffice Calc.

Method 2: HOUR + MINUTE functions

=HOUR(A1) + MINUTE(A1)/60

More verbose but self-documenting. Good when you want to see the formula logic clearly.

Method 3: TEXT function + value conversion

=VALUE(TEXT(A1,"h"))+VALUE(TEXT(A1,"mm"))/60

Useful when time is stored as text rather than a true time value.

Google Sheets

The same =A1*24 formula works in Google Sheets. Format the result cell as a Number (not Time) to see the decimal value properly.

Common Pitfalls

Result still shows as time

Format the result cell as "Number" with 2 decimal places, not "Time."

Time stored as text

If your time is text (e.g., imported from CSV), use TIMEVALUE() first: =TIMEVALUE(A1)*24

Negative values for overnight

If end time < start time (overnight shift), use: =MOD(B1-A1,1)*24

Frequently Asked Questions

How do I convert time to decimal hours in Excel?\u25BE
Multiply the time cell by 24. If A1 contains 7:45, use =A1*24 to get 7.75.
Why does my Excel formula show a time instead of a number?\u25BE
The result cell is formatted as Time. Right-click the cell, choose Format Cells, and select Number with 2 decimal places.
Does this work in Google Sheets?\u25BE
Yes, =A1*24 works identically in Google Sheets. Just format the result cell as a Number.
How do I handle time stored as text in Excel?\u25BE
Wrap it with TIMEVALUE: =TIMEVALUE(A1)*24. This converts text like "7:45" to a time value first.