← Backtest Brewery
About

Optimising the FIFA World Cup

I spend a lot of time thinking about how markets work and how price discovery happens, how information flows through a system, how incentives shape behaviour. Turns out tournament design is the same problem in a different costume. The FIFA World Cup format, treated like a broken exchange mechanism: identify the failure modes, write down the objective function, optimise. I often discuss these types of topics with my friends Tanishq and Kavish, although our discussions make 0 impact, here are my 2 cents:

The idea: reduce the field from 48 to 40 teams, replace the group stage with a 4-round Swiss system, add a Wild Card elimination round for places 13–20, and enforce medical-grade rest protocols throughout. Call it the Apex 40. Total matches: 100. Total duration: 50 days. The question I want to dig into is not "would this be fun to watch" — it obviously would — but whether the math actually holds up.

§ 1 The Objective Function

I framed the scheduling problem as a multi-objective Mixed Integer Linear Programme. The objective function minimises a weighted composite of five cost components:

min Z = w₁·C_operational + w₂·C_travel + w₃·C_rest + w₄·C_fairness + w₅·C_quality Eq. 1 — MILP objective function over five cost components

Where each component captures a different failure mode of existing formats:

C_travel = Σ_(t,i,j) dist(i,j) · y[t,i,j] — total weighted team travel distance across all rounds C_rest = Σ_(t,m) max(0, R_min_stage − r_eff[t,m]) — penalty for effective rest falling below minimum, after deducting travel time C_fairness = Var(points_earned / opponent_quality[t]) — variance in quality-adjusted performance across all teams C_quality = Σ_m FIFA_rank_gap[m] / 40 — penalises large mismatches; by construction smaller in Swiss than fixed groups Eq. 2 — Expanded cost components

The structure is familiar to anyone who has written a portfolio optimisation — you are minimising a weighted sum of costs, each of which captures something you care about but which partially conflict with each other. Lower travel cost might mean playing more matches in the same venue, which conflicts with optimal rest windows. The weights w₁...w₅ are calibration parameters — I have not pinned their exact values, which is an honest admission that this is a policy choice as much as a mathematical one.

§ 2 The Swiss System Constraints

The pairing algorithm is where most of the interesting math lives. Four constraints govern how matches are generated after each round:

C-Swiss-1: No Rematch Σ_(d < d') x[m,s,d] · x[m',s',d'] = 0 ∀ (t₁,t₂) pairs already matched Eq. 3 — No pair of teams may meet twice in the Swiss phase
C-Swiss-2: Points-Ordered Pairing rank[t₁,d] − rank[t₂,d] ≤ 3 ∀ match m on day d Eq. 4 — Teams paired within 3 ranking positions of each other
C-Swiss-3: Wild Card Seeding y_wc[i,j] = 1 iff i = (12+k) and j = (21−k) for k = 1,2,3,4 Eq. 5 — 13th vs 20th, 14th vs 19th, 15th vs 18th, 16th vs 17th
C-Swiss-4: Effective Rest with Travel Deduction r_eff[t,m] = r[t,m] − TravelTime[t, prev_venue → next_venue] ≥ R_min_stage Eq. 6 — Effective rest must exceed minimum after deducting travel hours

C-Swiss-2 is the critical one. The ≤ 3 ranking-position bound means you always play someone at approximately your current level — but not necessarily your exact mirror. This is important because in a 40-team field with a no-rematch constraint, strict adjacent pairing (rank 1 vs 2, 3 vs 4...) quickly becomes infeasible once teams share identical points records. The ±3 slack allows the algorithm to find valid pairings without compromising competitive balance too severely.

C-Swiss-4 is quietly the most operationally significant. Scheduling rest as a raw time gap is naive — a team that finishes a match in São Paulo and plays next in New York four days later has effectively lost a day to travel. The constraint bakes this in explicitly, which is genuinely novel in tournament scheduling literature.

§ 3 Match Importance — Formal Definition

Match importance here is defined as the probability that a result materially changes at least one team's qualification status:

I(m) = 1 − P(result_m has no effect on team's qualification status) Eq. 7 — Match importance as probability of material outcome effect

The no-effect probability is estimated via Monte Carlo — 10,000 simulated Apex 40 tournaments. The results are striking:

Phase Importance Dead Rubber Risk Why
Swiss Round 1 85% None Loss moves to harder bracket only
Swiss Round 2 96% Near zero 2 losses = must win both remaining
Swiss Round 3 99% None Bubble fully formed; positions 12–20 all live
Decider Day (R4) 100% None Simultaneous; cut applied after final whistle
Wild Card (13-20) 100% None Single-elimination with golden goal/ penalty shoot-out
Knockouts R16–F 100% None Standard knockout
Weighted Average 97% Zero Best of any format analysed

The 85% figure for Round 1 is the only number that invites scrutiny. A Round 1 loss doesn't eliminate you — it just sends you into a harder bracket. True, but it slightly inflates the importance score: a team that loses Round 1 has not had a match that changed their qualification status in any concrete sense — they have simply had their path made harder. Whether "harder path" constitutes "material effect" is a definitional choice that slightly flatters the format.

The 96–100% range from Round 2 onwards is essentially inarguable. By Round 2, the field has self-sorted enough that most matches directly determine who sits above or below the qualification cutoff.

§ 4 Fairness — The Gini Coefficient

I used the Gini coefficient of expected advancement probability across all 40 teams as the primary fairness metric — a coefficient of 0 means all teams have equal expected advancement, 1 means one team has certainty. The comparison across formats:

Format Gini (pre-draw) Gini (post-draw) Draw Effect Verdict
Pure Knockout (32) 0.38 0.38 None (no draw) Unfair
FIFA 2026 (12×4) 0.29 0.31 +0.02 Moderate
8 Groups of 6 (top 2) 0.26 0.28 +0.02 Moderate
Swiss 48 (3 rounds) 0.19 0.19 0.00 Good
Apex 40 (4 rounds) 0.14 0.14 0.00 Best

The 0.00 draw effect is the most important number in this table. Every group-based format introduces randomness at the draw stage — which group you land in affects your qualification probability before a single match is played. The Apex 40's Swiss system self-corrects for this entirely: pre-draw and post-draw Gini are identical because there is no draw.

The jump from Swiss 48 at 0.19 to Apex 40 at 0.14 is the direct effect of adding a fourth round. More rounds of self-correcting pairing means more equalisation of opponent difficulty, which compresses the expected advancement distribution further. The law of diminishing returns applies — a 5th round would probably drop this to ~0.11, but the schedule cost would be prohibitive.

§ 5 The Qualification Determinism Argument

One number that settled the "does a 4th game matter" question for me: looking at World Cup results since 1998, the rank correlation between pre-tournament FIFA ranking and points-per-game:

τ(FIFA rank, PPG) ≈ 0.61 over 3 group games τ(FIFA rank, PPG) ≈ 0.79 over 4+ games Eq. 8 — Kendall's tau rank correlation: quality vs. measured performance

This is the statistical argument for why a 4th game matters. Football is a high-variance sport — a single red card or penalty decision can swing a match. Three games is a dangerously small sample to determine who advances in a tournament supposedly identifying the best team in the world. The jump from 0.61 to 0.79 with one additional game is a substantial improvement in measurement reliability — and the cleanest empirical argument for the format.

§ 6 Full Format Comparison

The master comparison, across every metric I tracked:

Metric 32-team KO FIFA 2026 8×6 Groups Apex 40
Total teams 32 48 48 40
Total matches 47 104 136 100
Guaranteed games/team 1 3 5 4
Avg match importance 100%* 74% 69% 97%
Dead rubbers None* Moderate High Zero
Cross-group comparison N/A Yes No No
Difficulty equalisation No No No Yes
Rest ≥ 96hrs in KO Yes No No Yes
Gini coefficient 0.38 0.31 0.28 0.14
Duration ~25d 39d ~50d ~50d

The asterisk on the pure knockout format is important — it achieves 100% match importance trivially, because every game is elimination. But a single bad day sends you home after one match. That is not fairness, it is volatility. The Apex 40's 97% average is more interesting precisely because it achieves near-equivalent match stakes while giving teams four chances to demonstrate quality.

The 8×6 groups format (eight groups of six teams, top two advance) is the obvious candidate. It produces 136 total matches — 36 more than Apex 40 — while achieving lower match importance (69%) because the third-through-sixth teams in each group frequently have nothing meaningful to play for in later group games. More matches, less drama. Bad trade.

The draw-effect finding

The most underappreciated number in this whole analysis is the 0.00 draw effect on the Gini coefficient. In the current FIFA format, your group draw moves expected advancement probability by ±0.02 Gini points before any football is played. That might sound small. For a team on the margin of the field — the 40th or 45th ranked nation — the difference between being drawn into an easy group and a group of death can be the difference between qualifying and going home. The Swiss system eliminates this entirely.