Gabriel Weinberg's Blog podcast

Simulating likely 2026 World Cup matchups (for all matches)

0:00
2:44
Rewind 15 seconds
Fast Forward 15 seconds

I’ve been using Cursor for coding for some time, but I finally gave Claude Code a try for this short side project: simulating the 2026 World Cup bracket to predict likely matchups for all matches, which is useful when considering which matches to potentially go to. Methodology:

* Start with the official World Cup tournament schedule (including yet-to-be played playoff matches)

* Blend Elo rankings with FIFA rankings (50/50)

* Use the Elo formulas to probabilistically predict winners (assuming no draws, even in group stage)

* Run one million individual simulations of the full tournament (it reaches diminishing returns around 50K, but hey, why not!)

* Run again with a home field advantage boost (+180 Elo) for the U.S., Canada, and Mexico based on prior World Cup outcomes

* Count up who participated in each match

Some interesting findings (at least to me as a U.S. fan) are below, followed by a rundown for every match (in reverse order).

Big Disclaimer 1: The above is of course a gross simplification of the actual tournament. For example, it doesn’t take into account team matchup histories, game models, etc. etc. I do think, however, it is useful enough for the designed purpose of generally predicting likely match participants.

Big Disclaimer 2: I did a lot of output validation so I think the results are largely accurate (to the extent they can be given Big Disclaimer 1). However, I didn’t write or review every line of code, so it is likely there are still some bugs in there. If you think you see anything that seems off, let me know and I’ll try to track it down (and update anything if necessary).

Aside on Claude code: Like many others, I found this process both productive and frustrating. It was definitely faster than I could have done it alone, but Claude kept forgetting basic context, and was way overconfident in the accuracy of the results. That is, many rounds of validation at every stage of output was absolutely necessary despite Claude saying things were good. I couldn’t trust its word at all.

HA+ = with home field advantage (anytime this comes into play there is a + next to the team name)

HA- = without home field advantage

Most Likely Finals

# HA+ HA- Matchup

1 12.4% 13.3% Argentina v Spain

2 5.4% 5.6% Argentina v France

3 4.8% 6.4% England v Spain

4 3.3% 3.4% Brazil v Spain

5 2.8% 3.2% Portugal v Spain

6 2.5% 2.7% France v Spain

7 2.4% 0.2% Argentina v United States

8 2.3% 3.0% England v France

9 1.9% 0.7% Mexico v Spain

10 1.8% 1.9% Argentina v Netherlands

11 1.7% 1.7% Brazil v France

12 1.6% 0.2% Spain v United States

13 1.4% 1.7% Colombia v Spain

14 1.3% 1.5% France v Portugal

15 1.2% 1.4% Argentina v England

16 1.1% 1.2% Netherlands v Spain

17 1.1% 1.2% Spain v Uruguay

18 1.0% 0.1% England v United States

19 1.0% 0.4% France v Mexico

20 0.9% 1.0% Argentina v Germany

Championship Probabilities

# HA+ HA- FIFA ELO Blend Team

1 29.2% 30.6% 1 1 1 Spain

2 19.0% 19.2% 2 2 2 Argentina

3 11.9% 12.2% 3 3 3 France

4 7.4% 9.1% 4 4 4 England

5 4.7% 4.6% 5 6 5 Brazil

6 4.7% 0.3% 15 31 23 United States+

7 3.7% 4.1% 6 7 6 Portugal

8 3.4% 3.4% 7 8 7 Netherlands

9 2.2% 2.5% 13 5 8 Colombia

10 1.7% 1.8% 10 12 10 Germany

11 1.5% 1.8% 11 10 9 Croatia

12 1.5% 0.7% 16 20 19 Mexico

13 1.1% 1.3% 9 21 11 Belgium

14 0.9% 0.9% 8 24 13 Morocco

15 0.9% 1.0% 18 13 14 Switzerland

16 0.9% 0.9% 14 17 16 Senegal

17 0.8% 0.9% 17 14 15 Uruguay

18 0.8% 0.8% 23 9 17 Ecuador

19 0.7% 0.7% 12 19 12 Italy

20 0.7% 0.7% 19 16 18 Japan

Here’s a visualization of the above made by a reader (thanks!)

United States: Tournament Progression

HA+ HA- Round

97.9% 88.8% Round of 32

69.1% 39.5% Round of 16

42.7% 14.4% Quarter-Finals

18.7% 3.8% Semi-Finals

10.2% 1.1% Final

4.7% 0.3% Champion

United States: Most Likely Opponents by Round

Round of 32:

# HA+ HA- Opponent

1 12.7% 16.1% Iran

2 12.6% 5.0% Switzerland

3 11.8% 13.7% Canada

4 9.3% 3.8% Italy

5 5.6% 3.3% Ukraine

6 5.5% 7.0% Egypt

7 5.4% 15.6% France

8 5.3% 6.8% Belgium

9 5.3% 4.3% Norway

10 5.1% 3.1% Japan

11 4.8% 2.7% Wales

12 4.7% 2.8% Poland

13 3.3% 4.2% Senegal

14 2.3% 1.4% Netherlands

15 1.4% 4.5% Portugal

Round of 16:

# HA+ HA- Opponent

1 28.7% 20.4% Belgium

2 17.8% 24.6% Argentina

3 9.4% 6.9% Algeria

4 8.3% 6.3% Iran

5 6.8% 4.9% Norway

6 6.7% 5.2% Austria

7 6.0% 7.8% Uruguay

8 3.9% 2.8% Senegal

9 2.1% 1.8% Egypt

10 2.1% 2.9% Spain

11 1.8% 4.4% Germany

12 1.3% 1.8% Korea Republic

13 1.1% 0.8% France

14 0.9% 2.2% Ecuador

15 0.6% 0.9% Canada

Quarter-Finals:

# HA+ HA- Opponent

1 45.4% 35.5% Spain

2 9.5% 10.2% Portugal

3 9.4% 8.8% Colombia

4 7.4% 6.1% Croatia

5 5.4% 4.3% England

6 3.5% 5.8% Argentina

7 3.1% 1.2% Canada

8 2.5% 2.6% Uruguay

9 2.5% 2.1% Austria

10 1.8% 3.9% Switzerland

11 1.7% 2.9% Italy

12 1.4% 3.8% Netherlands

13 1.1% 1.2% Panama

14 0.9% 0.9% Algeria

15 0.6% 1.7% Morocco

Semi-Finals:

# HA+ HA- Opponent

1 24.9% 18.4% France

2 11.2% 8.2% Netherlands

3 8.4% 8.8% Brazil

4 7.2% 5.8% Germany

5 5.8% 10.5% England

6 5.1% 3.3% Mexico

7 4.9% 4.0% Morocco

8 3.6% 3.5% Ecuador

9 3.4% 2.1% Switzerland

10 3.3% 9.4% Spain

11 3.1% 3.6% Senegal

12 2.9% 2.1% Denmark

13 2.8% 2.9% Japan

14 2.6% 1.8% Korea Republic

15 1.7% 1.0% Italy

Final:

# HA+ HA- Opponent

1 23.1% 18.8% Argentina

2 15.4% 20.4% Spain

3 9.7% 10.7% England

4 7.9% 9.9% France

5 6.9% 5.8% Brazil

6 5.7% 5.3% Portugal

7 3.6% 1.4% Mexico

8 3.1% 2.7% Colombia

9 3.0% 3.5% Netherlands

10 2.1% 2.2% Croatia

11 2.0% 2.0% Germany

12 1.8% 1.6% Uruguay

13 1.7% 1.5% Senegal

14 1.6% 2.1% Belgium

15 1.5% 1.6% Ecuador

M104 - Final (Winners of M101 & M102)

Jul 19, New York/New Jersey (MetLife Stadium)

# HA+ HA- Teams

1 12.4% 13.3% Argentina v Spain

2 5.4% 5.6% Argentina v France

3 4.8% 6.4% England v Spain

4 3.3% 3.4% Brazil v Spain

5 2.8% 3.2% Portugal v Spain

6 2.5% 2.7% France v Spain

7 2.4% 0.2% Argentina v United States+

8 2.3% 3.0% England v France

9 1.9% 0.7% Mexico v Spain

10 1.8% 1.9% Argentina v Netherlands

11 1.7% 1.7% Brazil v France

12 1.6% 0.2% Spain v United States+

13 1.4% 1.7% Colombia v Spain

14 1.3% 1.5% France v Portugal

15 1.2% 1.4% Argentina v England

16 1.1% 1.2% Netherlands v Spain

17 1.1% 1.2% Spain v Uruguay

18 1.0% 0.1% England v United States+

19 1.0% 0.4% France v Mexico

20 0.9% 1.0% Argentina v Germany

# HA+ HA- Team

1 41.0% 43.2% Spain

2 32.4% 32.9% Argentina

3 21.1% 21.8% France

4 14.8% 18.3% England

5 10.8% 10.6% Brazil

6 10.2% 1.1% United States+

7 9.0% 9.8% Portugal

8 7.9% 8.2% Netherlands

9 5.8% 6.5% Colombia

10 5.5% 2.6% Mexico

11 4.7% 4.9% Germany

12 4.2% 5.1% Croatia

13 3.3% 3.9% Belgium

14 3.0% 3.2% Senegal

15 2.9% 3.1% Uruguay

16 2.9% 3.3% Switzerland

17 2.9% 3.0% Morocco

18 2.7% 2.8% Ecuador

19 2.3% 2.4% Japan

20 2.2% 2.4% Italy

M103 - Third Place (Losers of M101 & M102)

Jul 18, Miami (Hard Rock Stadium)

# HA+ HA- Teams

1 2.0% 2.2% Argentina v France

2 1.9% 0.7% France v Mexico

3 1.8% 1.8% Brazil v France

4 1.7% 2.1% England v France

5 1.5% 1.7% Argentina v Spain

6 1.2% 0.4% Mexico v Spain

7 1.2% 1.6% England v Spain

8 1.2% 1.3% Argentina v Netherlands

9…



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit gabrielweinberg.com

More episodes from "Gabriel Weinberg's Blog"