Methodology
This page collects every formula used on Courtwise. Each calculator links back here; the box-score analyzer uses exactly the same code.
Conventions
- Free-throw possessions. 0.44 × FTA approximates the possessions ended by free throws (Oliver; Kubatko et al. 2007).
- Possessions.
FGA + 0.44·FTA − ORB + TOVper team. Ratings divide by the average of both teams’ estimates. - Team minutes. 240 for a 48-minute game (5 players × 48); add 25 per overtime. The analyzer sums the minutes you enter.
- Free-throw factor. The fourth of the Four Factors is FTM ÷ FGA.
- Rounding. We compute at full precision and round only for display (one decimal for percentages).
- Data. We publish no league or player statistics. Defaults are hypothetical; PER league constants must be supplied by you.
- Testing. Each formula is unit-tested against reference values computed by hand from the worked examples.
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%.
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.
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).
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.
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.
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.
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 possessionDRB% = (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.
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.
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.
Four Factors (team)
- Shooting:
eFG% = (FGM + 0.5·3PM) ÷ FGA - Turnovers:
TOV% = TOV ÷ (FGA + 0.44·FTA + TOV) - Offensive rebounding:
ORB% = ORB ÷ (ORB + Opp DRB) - 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.
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.
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.
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.
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.
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
- Dean Oliver, Basketball on Paper: Rules and Tools for Performance Analysis (Potomac Books, 2004)
- Kubatko, Oliver, Pelton & Rosenbaum, “A Starting Point for Analyzing Basketball Statistics,” Journal of Quantitative Analysis in Sports 3(3), 2007
- John Hollinger, Pro Basketball Prospectus / Pro Basketball Forecast annuals (2002–2005)