Table of Contents
The process of converting time to decimal in Google Sheets can be done quickly and efficiently by utilizing the built-in TIMEVALUE function. This function converts a time value in the standard “hh:mm:ss” format to a decimal representation, where 1 represents a full day. To use this function, simply enter the time value in a cell and then use the TIMEVALUE function to convert it to decimal. This allows for easy and accurate calculations of time in decimal format, making it a convenient tool for various time-related tasks in Google Sheets.
Google Sheets: Quickly Convert Time to Decimal
You can use the following formula to convert a time to a decimal in Google Sheets:
=HOUR(B2)+(MINUTE(B2)/60)+(SECOND(B2)/3600)This particular formula converts the time in cell B2 to a decimal.
For example, if the time is 4:19:34 then the formula will convert this to 4.3261 so that the time is represented as 4.3261 hours.
The following example shows how to use this formula in practice.
Example: Convert Time to Decimal in Google Sheets
Suppose we have the following dataset in Google Sheets that shows the number of hours, minutes, and seconds it took various athletes to finish a competition:

We can use the following formula to convert the durations into a decimal format:
=HOUR(B2)+(MINUTE(B2)/60)+(SECOND(B2)/3600)We will type this formula into cell C2 and then click and drag the formula down to each remaining cell in column C:

The new Decimal column displays the time in the Duration column as a decimal.
For example:
- A duration of 4 hours, 13 minutes, and 0 seconds is converted to 4.2167 hours.
- A duration of 13 hours, 30 minutes, and 15 seconds is converted to 13.5041 hours.
- A duration of 2 hours, 15 minutes, and 0 seconds is converted to 2.25 hours.
And so on.
If you would instead like to display the durations in terms of number of days, you can divide the entire formula by 24:
=(HOUR(B2)+(MINUTE(B2)/60)+(SECOND(B2)/3600)) / 24The following screenshot shows how to use this formula in practice:

The new Decimal column displays the time in the Duration column as a number of days.
For example:
- A duration of 4 hours, 13 minutes, and 0 seconds is converted to .1756 days.
- A duration of 13 hours, 30 minutes, and 15 seconds is converted to .5626 days.
- A duration of 2 hours, 15 minutes, and 0 seconds is converted to .09375 days.
And so on.
Cite this article
stats writer (2024). How can I quickly convert time to decimal in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-quickly-convert-time-to-decimal-in-google-sheets/
stats writer. "How can I quickly convert time to decimal in Google Sheets?." PSYCHOLOGICAL SCALES, 26 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-quickly-convert-time-to-decimal-in-google-sheets/.
stats writer. "How can I quickly convert time to decimal in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-quickly-convert-time-to-decimal-in-google-sheets/.
stats writer (2024) 'How can I quickly convert time to decimal in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-quickly-convert-time-to-decimal-in-google-sheets/.
[1] stats writer, "How can I quickly convert time to decimal in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I quickly convert time to decimal in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
