QB Passer Rating Calculator Formula
Understand the math behind the qb passer rating calculator. Each variable explained with a worked example.
Formulas Used
Passer Rating
passer_rating = round(((a > 2.375) * 2.375 + (a <= 2.375) * (a > 0) * a + (b > 2.375) * 2.375 + (b <= 2.375) * (b > 0) * b + (c > 2.375) * 2.375 + (c <= 2.375) * (c > 0) * c + (d > 2.375) * 2.375 + (d <= 2.375) * (d > 0) * d) / 6 * 100 * 10) / 10Completion %
comp_pct = round(completions / attempts * 1000) / 10Yards per Attempt
yards_per_att = round(yards / attempts * 10) / 10TD %
td_pct = round(touchdowns / attempts * 1000) / 10Variables
| Variable | Description | Default |
|---|---|---|
completions | Completions | 22 |
attempts | Attempts | 35 |
yards | Passing Yards | 280 |
touchdowns | Touchdowns | 2 |
interceptions | Interceptions | 1 |
a | Derived value= (completions / attempts - 0.3) * 5 | calculated |
b | Derived value= (yards / attempts - 3) * 0.25 | calculated |
c | Derived value= touchdowns / attempts * 20 | calculated |
d | Derived value= 2.375 - interceptions / attempts * 25 | calculated |
How It Works
How NFL Passer Rating Is Calculated
The NFL passer rating formula uses four components, each clamped between 0 and 2.375:
Components
1. Completion %: (COMP/ATT - 0.3) x 5 2. Yards/Attempt: (YDS/ATT - 3) x 0.25 3. TD %: TD/ATT x 20 4. INT %: 2.375 - (INT/ATT x 25)
Final Rating
Rating = (a + b + c + d) / 6 x 100
Perfect rating is 158.3. The scale ranges from 0 to 158.3.
Worked Example
A QB goes 22/35 for 280 yards, 2 TDs, and 1 INT.
completions = 22attempts = 35yards = 280touchdowns = 2interceptions = 1
- 01Comp% component: (22/35 - 0.3) * 5 = 1.643
- 02Yds/Att component: (280/35 - 3) * 0.25 = 1.250
- 03TD component: 2/35 * 20 = 1.143
- 04INT component: 2.375 - 1/35 * 25 = 1.661
- 05Sum = 1.643 + 1.250 + 1.143 + 1.661 = 5.697
- 06Rating = 5.697 / 6 * 100 = 94.9
Ready to run the numbers?
Open QB Passer Rating Calculator