Excel Formula: Convert Time to Decimal Hours
Here provides a formula that converts time to decimal hours in Excel and explains how the formula works.
If you want to follow along with this tutorial, please download the example spreadsheet.
Generic formula:
Time*24 |
Arguments
Time: the excel time that is used to convert to decimal hours.. |
Return Value
The formula returns a value in time format, please format the result as general or number as you need to get the decimal hours.
How this formula work
To convert the time in cell B3 to decimal hours in cell C3, please use below formula:
=B3*24 |
Press Enter key to get a value in time format.
Click Home tab, and go to the Number Format drop-down list to choose General or Number to display the result as a number.
Explanation
There are 24 hours a day, in other words, one hour is 1/24 day. To convert the time to decimal hours, it should multiply the value 24. For example, converting time 10:00 to decimal hours:
=10:00*24
=(10/24)*24
=10
Relative Formulas
- Convert Decimal Minutes to Time Format
This tutorial provides a formula to convert decimal minutes to Excel time. - Convert Decimal Seconds To Time
To convert decimal seconds to Excel time in Excel, a formula can help you. - Convert date to year month
In some cases, you want to convert the date to only month, year, day or monthyear, daymonth, or year day in text format. - Convert date to text
This tutorial provides the TEXT function to convert a date to text.
Relative Functions
- Excel IF Function
Test for specified conditions, then returns the corresponding values - Excel VALUE Function
Convert text to number. - Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date. - Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date - Excel YEAR Function
The YEAR function returns the year based on the given date in a 4-digit serial number format.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Full-featured 30-day free trial.

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
