Methodology

This page collects every formula used on Courtwise. Each calculator links back here; the box-score analyzer uses exactly the same code.

Conventions

True Shooting % (TS%)

TS% = PTS ÷ (2 × (FGA + 0.44 × FTA))

The denominator, FGA + 0.44 × FTA, is “true shooting attempts.” Not every free throw ends a possession: and-ones, technicals and three-shot fouls mean roughly 0.44 of a free-throw attempt equals one shooting possession. Doubling it turns the result into a percentage on the same scale as field-goal percentage, where 2 points per attempt equals 100%.

Open the TS% calculator

Effective Field Goal % (eFG%)

eFG% = (FGM + 0.5 × 3PM) ÷ FGA

Each made three counts as 1.5 makes. Free throws are left out entirely, which is the key difference from true shooting: eFG% describes shot-making from the field only.

Open the eFG% calculator

Usage Rate (USG%)

USG% = 100 × ((FGA + 0.44 × FTA + TOV) × (TmMP ÷ 5)) ÷ (MP × (TmFGA + 0.44 × TmFTA + TmTOV))

The top half counts the plays the player used and scales them to a full game; the bottom half counts every team play, scaled to the minutes he was on court. TmMP ÷ 5 converts total team minutes into game minutes (240 ÷ 5 = 48).

Open the USG% calculator

Assist Percentage (AST%)

AST% = 100 × AST ÷ (((MP ÷ (TmMP ÷ 5)) × TmFGM) − FGM)

MP ÷ (TmMP ÷ 5) is the fraction of the game he played. Multiplying by team field goals estimates how many baskets were scored with him on court; subtracting his own makes leaves only teammates’ baskets — the ones he could have assisted.

Open the AST% calculator

Rebound Percentage (TRB% / ORB% / DRB%)

ORB% = 100 × (ORB × (TmMP ÷ 5)) ÷ (MP × (TmORB + OppDRB))

DRB% = 100 × (DRB × (TmMP ÷ 5)) ÷ (MP × (TmDRB + OppORB))

TRB% = 100 × (TRB × (TmMP ÷ 5)) ÷ (MP × (TmTRB + OppTRB))

An offensive rebound opportunity is any missed shot by your team; it ends either as your offensive board or the opponent’s defensive board, which is why those two are added.

Open the REB% calculator

Turnover Percentage (TOV%)

TOV% = 100 × TOV ÷ (FGA + 0.44 × FTA + TOV)

The denominator is every play the player (or team) ended: a shot, a free-throw trip, or a turnover. The same formula is the second of the Four Factors when applied to team totals.

Open the TOV% calculator

Player Efficiency Rating (PER)

Three league constants come first:

  • factor = 2/3 − (0.5 × lgAST/lgFG) ÷ (2 × lgFG/lgFT)
  • VOP = lgPTS ÷ (lgFGA − lgORB + lgTOV + 0.44 × lgFTA) — value of a possession
  • DRB% = (lgTRB − lgORB) ÷ lgTRB

Then unadjusted PER:

uPER = (1/MP) × [3P + (2/3)·AST + (2 − factor·tmAST/tmFG)·FG + FT·0.5·(1 + (1 − tmAST/tmFG) + (2/3)·tmAST/tmFG) − VOP·TOV − VOP·DRB%·(FGA − FG) − VOP·0.44·(0.44 + 0.56·DRB%)·(FTA − FT) + VOP·(1 − DRB%)·(TRB − ORB) + VOP·DRB%·ORB + VOP·STL + VOP·DRB%·BLK − PF·(lgFT/lgPF − 0.44·(lgFTA/lgPF)·VOP)]

Pace adjustment and normalisation: aPER = (lgPace ÷ tmPace) × uPER, then PER = aPER × 15 ÷ lg_aPER, where lg_aPER is the minutes-weighted league average aPER.

League totals can be per team-game or season sums — only their ratios matter — but use one basis consistently.

Open the PER calculator

Offensive & Defensive Rating (simplified)

Poss ≈ FGA + 0.44 × FTA − ORB + TOV for each team, then average the two estimates (both teams have nearly the same number of possessions in a game).

ORtg = 100 × PTS ÷ Poss   DRtg = 100 × Opp PTS ÷ Poss

Labelled “simplified” because it is a team-level measure using one possession estimate. Individual ratings require splitting credit for every scoring possession between scorer, passer and offensive rebounder.

Open the ORtg/DRtg calculator

Pace (possessions per 48)

Pace = 48 × ((TmPoss + OppPoss) ÷ 2) ÷ (TmMP ÷ 5)

with each side’s Poss = FGA + 0.44 × FTA − ORB + TOV. Dividing team minutes by five gives game length; a regulation game is 48 minutes, a single overtime makes it 53, and pace rescales to a 48-minute basis so overtime games compare fairly.

Open the Pace calculator

Four Factors (team)

  1. Shooting: eFG% = (FGM + 0.5·3PM) ÷ FGA
  2. Turnovers: TOV% = TOV ÷ (FGA + 0.44·FTA + TOV)
  3. Offensive rebounding: ORB% = ORB ÷ (ORB + Opp DRB)
  4. Free throws: FT rate = FTM ÷ FGA

Oliver’s approximate importance weights are 40% / 25% / 20% / 15%. A team’s defense is simply the opponent’s four factors. Some sources use FTA ÷ FGA for the fourth factor; Oliver preferred made free throws because they reward both drawing fouls and converting.

Open the 4 Factors calculator

Net Rating

Net = ORtg − DRtg = 100 × (PTS − Opp PTS) ÷ Poss

Use one possession count for both sides (the average of team and opponent estimates). If you already have offensive and defensive ratings, simply subtract.

Open the Net Rtg calculator

Pythagorean Wins

Win% = PFk ÷ (PFk + PAk),   Expected wins = Win% × Games

Daryl Morey, while at STATS Inc., fitted k = 13.91 for pro basketball; Oliver’s book uses an exponent of 14, and others fit 16.5 for some eras. Basketball needs a much larger exponent than baseball (≈2) because high scoring makes each game’s outcome less random relative to the margin.

Open the Pythag calculator

Game Score (GmSc)

GmSc = PTS + 0.4·FGM − 0.7·FGA − 0.4·(FTA − FTM) + 0.7·ORB + 0.3·DRB + STL + 0.7·AST + 0.7·BLK − 0.4·PF − TOV

Missed shots cost (each FGA is −0.7, each make gives back 0.4), missed free throws cost 0.4, turnovers cost a full point. Offensive boards are worth more than defensive ones because the defense collects most misses anyway.

Open the GmSc calculator

Per-36 & Per-100 Converter

Per 36 = Stat × 36 ÷ MP

Per 100 = 100 × Stat ÷ (MP × Pace ÷ 48)

MP × Pace ÷ 48 estimates how many team possessions the player was on the floor for. Use season totals for both stat and minutes, and the team’s season pace.

Open the Per-36/100 calculator

Box-score analyzer

Team totals are the sums of the player rows entered. Player TS%, eFG%, usage, AST%, TRB%, TOV%, Game Score and per-36 values use the formulas above with those totals; per-36 divides by the player’s minutes. Rows labelled Team or Totals are ignored so totals are not double-counted.

Sources