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) / 10

Completion %

comp_pct = round(completions / attempts * 1000) / 10

Yards per Attempt

yards_per_att = round(yards / attempts * 10) / 10

TD %

td_pct = round(touchdowns / attempts * 1000) / 10

Variables

VariableDescriptionDefault
completionsCompletions22
attemptsAttempts35
yardsPassing Yards280
touchdownsTouchdowns2
interceptionsInterceptions1
aDerived value= (completions / attempts - 0.3) * 5calculated
bDerived value= (yards / attempts - 3) * 0.25calculated
cDerived value= touchdowns / attempts * 20calculated
dDerived value= 2.375 - interceptions / attempts * 25calculated

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
  1. 01Comp% component: (22/35 - 0.3) * 5 = 1.643
  2. 02Yds/Att component: (280/35 - 3) * 0.25 = 1.250
  3. 03TD component: 2/35 * 20 = 1.143
  4. 04INT component: 2.375 - 1/35 * 25 = 1.661
  5. 05Sum = 1.643 + 1.250 + 1.143 + 1.661 = 5.697
  6. 06Rating = 5.697 / 6 * 100 = 94.9

Ready to run the numbers?

Open QB Passer Rating Calculator