Calculate Pay from Hours and Hourly Rate in Excel
Question details
Calculate pay in Excel from a duration in hours and minutes and an hourly wage.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to multiply a duration such as 117 hours and 36 minutes by an hourly rate.
- Observed behavior
- The desired result is a pay amount that accounts for Excel storing time as a fraction of a day.
Make sure the duration is an Excel time value, not text, and format its cell as [h]:mm to display totals over 24 hours. Identify the hourly rate you want to use.
Convert the time value to hours and calculate pay
Use this formula when the duration is stored as an Excel time value.
Select A1, open Format Cells, and choose Custom under Number. Enter [h]:mm, then enter the duration as 117:36.
Select B1 and enter =A1*24*9. Multiplying by 24 converts the time value to decimal hours; 9 is the hourly rate.
Select B1 and choose Currency or General from the number format options on the Home tab. The example returns $1,058.40.

Calculate hourly pay in WPS Spreadsheet
Use WPS Spreadsheet to convert a time duration to decimal hours and multiply it by an hourly rate.
- 1. Enter the duration: Open WPS Spreadsheet, select A1, and use Format Cells to apply the custom format [h]:mm. Enter 117:36 in A1.
- 2. Enter the rate: Select B1 and enter 9 as the hourly rate.
- 3. Calculate pay: Select C1 and enter =A1*24*B1.
- 4. Format the result: Select C1 and choose Currency from the number format options. The example displays $1,058.40.

Frequently Asked Questions
Why do I need to multiply the time by 24?
Excel stores time as a fraction of a day. Multiplying the time value by 24 converts it to decimal hours before you apply the hourly rate.
How do I display more than 24 hours in Excel?
Select the duration cell, open Format Cells, and choose Custom. Enter [h]:mm to display accumulated hours rather than a time of day.
Can I put the hourly rate in a separate cell?
Yes. If A1 contains the duration and C1 contains the hourly rate, enter =A1*24*C1 in the pay cell.
Should I multiply by 24 if my hours are already a decimal number?
No. If A1 contains decimal hours such as 117.6 rather than an Excel time value, multiply it directly by the hourly rate, for example =A1*9.




