Convert an Hourly Rate to an Annual Salary in Excel
By ExcelReady TeamUpdated 6 min read
The short answer
To convert hourly pay to an annual salary in Excel, multiply the hourly rate by the hours per week and by the weeks paid per year: =B2C252. A $25 rate at 40 hours a week gives $52,000 (2,080 paid hours). Put 52 in its own cell and lock it with $ so the formula copies down correctly.
Key takeaways
- Annual salary = hourly rate × hours per week × weeks per year, for example =B2C2$F$1.
- A full-time year of 40 hours × 52 weeks is 2,080 paid hours.
- Keep weeks per year in one cell and lock it with $ so every row uses it.
- Divide the annual figure by 12 for monthly pay or by 26 for every two weeks.
- To go the other way, divide the salary by hours per week times 52, and round to cents with ROUND.
On this page+
To convert an hourly rate to an annual salary in Excel, multiply the rate by the hours per week and by 52 weeks: =B2*C2*52. At $25 an hour and 40 hours a week, that is $52,000 a year before tax. This guide shows how to set up the sheet so one formula works for every employee, plus monthly pay, overtime and the reverse calculation from salary to hourly.
The hourly to annual salary formula#
Annual salary is the hourly rate times the paid hours in a year. The paid hours are hours per week times weeks per year.
=Hourly rate * Hours per week * Weeks per yearIn Excel, * means multiply. With the rate in B2 and hours in C2:
=B2*C2*52| Rate | Hours/week | Weeks | Annual salary |
|---|---|---|---|
| $25.00 | 40 | 52 | $52,000 |
| $20.00 | 40 | 52 | $41,600 |
| $18.50 | 30 | 52 | $28,860 |
| $25.00 | 40 | 50 | $50,000 |
A full-time year of 40 hours for 52 weeks is 2,080 paid hours. That is why a quick mental check is "hourly rate × 2,000, plus a little". The basics of * and other operators are in the guide on how to multiply in Excel.
Not every full-time job is 40 hours. These are the paid hours in a 52-week year for common weekly schedules:
| Hours per week | Paid hours per year | Salary at $20 an hour |
|---|---|---|
| 40 | 2,080 | $41,600 |
| 37.5 | 1,950 | $39,000 |
| 35 | 1,820 | $36,400 |
| 20 | 1,040 | $20,800 |
If you compare two job offers, one hourly and one salaried, convert both to the same unit first. Then compare the hours too: a higher salary for longer weeks can mean a lower hourly rate.
Set up the sheet for many employees#
Put the number of weeks in its own cell, then point every formula at it. If the weeks change, you edit one cell instead of every formula.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Hourly rate | Hours/week | Annual salary | Weeks per year | 52 |
| 2 | Sam | 21.35 | 35 | |||
| 3 | Maya | 25.00 | 40 | |||
| 4 | Leo | 18.50 | 30 | |||
| 5 | Priya | 32.80 | 37.5 |
In D2, type:
=B2*C2*$F$1Press Enter. Then select D2:D5 and fill down (Windows: Ctrl+D; Mac: ⌘D). The results are:
| Employee | Annual salary |
|---|---|
| Sam | 38,857 |
| Maya | 52,000 |
| Leo | 28,860 |
| Priya | 63,960 |
Why the $ signs matter#
The dollar signs in $F$1 make it an absolute reference: a cell address that doesn't change when you copy the formula. Without them, the formula in D3 would point at F2, which is empty, and Maya's salary would show 0.
B2 and C2 have no $, so they move down one row each time: D3 uses B3 and C3, D4 uses B4 and C4. That mix of moving and fixed references is one of the most tested Excel skills. To add the $ signs quickly, click inside F1 in the formula and press F4 on Windows, or ⌘T on a Mac. The guide to the dollar sign in Excel formulas explains all four reference types.
Monthly, biweekly and weekly pay from an hourly rate#
Divide the annual salary by the number of pay periods in a year. Using Maya's $52,000:
| Pay period | Formula | Result |
|---|---|---|
| Monthly | =D3/12 | $4,333.33 |
| Every two weeks | =D3/26 | $2,000.00 |
| Weekly | =D3/52 | $1,000.00 |
Monthly pay often has many decimals. Wrap it in ROUND to keep two: =ROUND(D3/12,2). The ROUND function guide explains the second argument. For a partial year, such as someone who starts in September, see how to prorate in Excel.
Add overtime to the annual figure#
If someone regularly works overtime, add it as a separate part of the formula. Overtime is often paid at 1.5 times the normal rate, but check your own contract and local rules.
Say Maya works 5 overtime hours a week at 1.5 times her $25 rate. Put the overtime hours in a cell, such as G3:
=B3*C3*$F$1 + B3*1.5*G3*$F$1Excel multiplies before it adds, so no extra brackets are needed. The result is 52,000 + 9,750 = $61,750. To track overtime from real timesheets, see how to calculate overtime hours in Excel.
Convert an annual salary to an hourly rate#
To go the other way, divide the salary by the paid hours in a year. With the salary in B2 and hours per week in C2:
=ROUND(B2/(C2*52),2)For $60,000 at 40 hours a week, that is 60,000 ÷ 2,080 = 28.846…, which ROUND turns into 28.85. The brackets around C2*52 matter: without them, Excel divides by C2 first and then multiplies by 52, which gives a huge wrong number.
Mistakes to check before you share the sheet#
A salary sheet is easy to get slightly wrong. Check these:
- Weeks per year. Use 52 only if every week is paid, including holidays and vacation. Unpaid weeks lower the total.
- Gross, not net. The formula gives pay before tax and deductions.
- Rates stored as text. A rate typed as
$25/hris text, and the formula shows #VALUE!. Keep just the number in the cell and format it as currency. - Hours that vary. For part-time staff with changing hours, use the average weekly hours, or total the real hours from timesheets.
- Missing $ signs. If every row after the first shows 0, the weeks cell isn't locked.
For a full sheet with deductions and pay periods, the guide to building a payroll calculator in Excel takes this further.
Practise it#
This calculation uses two core skills: writing a formula and locking a cell with $. Practise your first formulas in a live spreadsheet, then practise absolute references with the $ sign: you type the formula, fill it down and see instantly if every row is right. Or try the salary exercise on this page.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Find Sam's annual salary. In D2, multiply the hourly rate in B2 by the hours per week in C2 and by the weeks per year in F1. Lock F1 with dollar signs so the formula could be copied down.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | |||||||
| 7 | |||||||
| 8 |
Tip: Multiply the three cells with *. Write F1 as $F$1 so it stays put when you fill down. The answer is 38,857.
Practise this in a lesson
Frequently asked questions
How do you convert an hourly wage to an annual salary?
Multiply the hourly wage by the hours you work each week, then by 52. For example, $20 × 40 × 52 = $41,600 a year before tax.
How many paid hours are in a year?
At 40 hours a week for 52 weeks, there are 2,080 paid hours in a year. At 37.5 hours a week, there are 1,950.
How do I convert an annual salary to an hourly rate in Excel?
Divide the salary by hours per week times 52, and round to cents: =ROUND(B2/(C2*52),2). A $60,000 salary at 40 hours a week is $28.85 an hour.
Should I use 52 weeks or less?
Use 52 if paid holidays and vacation are included in your pay. If some weeks are unpaid, use the weeks you are actually paid for, such as 50.
Is the result before or after tax?
Before tax. The formula gives gross pay. Taxes and deductions depend on where you live, so they need a separate calculation.