How to calculate NFL passer rating using a formula in Excel or Google Sheets
Passer rating is a common formula used to analyze the effectiveness of a quarterback’s performance.
Historically, the term “quarterback rating” was used interchangeably with passer rating. However, the advent of ESPN’s proprietary QBR metric means passer rating is almost exclusively used today.
The project called for me to calculate passer rating on a row-by-row basis as well as summarized data. While I could use SUM and AVERAGE to calculate the per-game averages for simple stats like passing yards, touchdowns, completions, and attempts, that strategy doesn’t work for passer rating.
When I searched online for a formula I could use to calculate passer rating, I couldn’t find what I was looking for – a simple, easy to use NFL passer rating formula that was ready for me to copy and paste into my spreadsheet.
The NFL calculates passer rating differently than college football, and my purpose is to show you how to calculate the NFL passer rating in Excel or Google Sheets.
Use these columns in Excel or Google Sheets to organize NFL passing stats:
- Completions in Column B
- Attempts in Column C
- Passing Yards in Column D
- Touchdowns in Column E
- Interceptions in Column F
Excel or Google Sheets formula to calculate NFL passer rating
NFL Passer Rating =(((((B2/C2)-0.3)*5)+(((D2/C2)-3)*0.25)+((E2/C2)*20)+(2.375-((F2/C2)*25)))/6)*100
A few notes:
- This formula will work in both Microsoft Excel or Google Sheets.
- This formula assumes your data is in Row 2 with headers in Row 1.
- These steps are designed for data that is in a single horizontal row, though you can adapt the formula if your data is configured vertically.
- In the interest of writing the shortest formula possible, it is possible (but rare!) to have a negative number as a result. My advice would be to replace the formula with a “0” manually, or using your spreadsheet’s find and replace feature. You can also build an IF statement to return a 0 if the formula returns a negative number.
If you need more detailed instructions on how this formula works, see below. Otherwise, #GoPackGo!
For our example, we will use Aaron Rodgers’ stats from his performance against the San Francisco 49ers on Monday, October 15, 2018.
Step 1: Understanding the formula for passer rating
Passer rating is calculated using a quarterback’s passing attempts, completions, yards, touchdowns, and interceptions. The highest possible passer rating possible using the NFL’s formula is 158.3, and you cannot have a passer rating below 0.
The passer rating formula is a combination of the values of four smaller formulas:
- Formula 1: Take the completions/attempts, subtract .3 and multiply the result by 5.
- Formula 2: Take the passing yards/attempts, subtract 3 and multiply the result by .25.
- Formula 3: Take the touchdowns/attempts and multiply the result by 20.
- Formula 4: Take 2.375 minus the result of interceptions/attempts multiplied by 25.
After calculating each of the four formulas, there is one final formula required to generate your passer rating:
- NFL Passer Rating = The sum of the results of Formula 1, Formula 2, Formula 3, and Formula 4 divided by 6. That result is then multiplied by 100.
Step 2: Organize and collect your data
One of the best tools to capture raw stats is Pro Football Reference. Their box scores are formatted like this:
The official box score on the NFL’s website doesn’t give you as detailed of data on Rodgers’ performance, but gives us the necessary ingredients to calculate passer rating:
Regardless of the source you use to capture your data, it is vital to put the completions and attempts in separate columns.
Because Pro Football Reference organizes their completions and attempts in separate columns already, I would recommend using their data if you are working on a large scale project where you need to calculate multiple passer ratings.
Additionally, if you already have a data set where the completions and attempts are combined into one cell, you can use Excel’s Text to Columns tool to separate the values into different columns.
I’ve copied and pasted the values from Pro Football Reference’s box score of the game into a spreadsheet and formatted it for clarity:
Step 3: Verify your data and copy and paste the formula
After your data is in your spreadsheet, double check a few things:
• Do you have completions in a column before attempts?
• Does your data start in Column B?
• If you manually copied over the data, did you make any typos?
• Are there any extra columns between the completions, attempts, passing yards, touchdowns and interceptions columns? If so, you will need to move them in order for the formula to produce a correct result without any modifications.
• Is your data in Row 2? If not, you will need to either modify the formula or move the data so that it is in Row 2.
Now, add a heading in for Passer Rating:
Copy the formula below and paste it into cell G2.
That’s it! Happy calculating.