All lessons

University · Lesson 3 · Sports Analytics

misterrpink

misterrpink

Nov 7, 2026 · 7 min read

Actual vs Expected Wins

Learn how actual win percentage compares with Pythagorean expectation, then use a scatter plot to compare baseball teams’ actual and expected wins.

Lychee University · Lesson 3

A team’s record tells you how often it won.

But does that record match how well it played?

Let’s compare two numbers using baseball.

Actual win percentage

First: actual win percentage.

Games won, divided by games played.

Actual win percentage=games wongames played\text{Actual win percentage} = \frac{\text{games won}}{\text{games played}}

Win sixty out of a hundred games, and that’s sixty percent.

Simple enough.

Tap a game to flip it

100 games played

Win Loss

Actual win %

60%

60–40

Games won ÷ games played

60 ÷ 100 = 0.60

Starts at 60 wins in 100 games. Every win counts the same here, however large the margin.

But the record doesn’t tell you how those wins happened.

Win a game ten to zero, and it counts as one win.

Win one to zero, and it still counts as one win.

The margin changes. The record treats them the same.

One blowout, one squeaker. The standings record both as a single win.

Over a season, a team could win plenty of close games and lose a few by a lot.

Another team could do the opposite.

That’s why we’re adding a second number.

Pythagorean expectation

Pythagorean expectation, developed by baseball analyst Bill James, estimates a team’s win percentage using runs scored and runs allowed.

You’ll also see it called Pythagorean winning percentage.

The classic formula takes runs scored, squared—and divides that by runs scored squared plus runs allowed squared.

Expected win percentage=runs scored2runs scored2+runs allowed2\text{Expected win percentage} = \frac{\text{runs scored}^2}{\text{runs scored}^2 + \text{runs allowed}^2}

Let’s use a made-up team.

Over a hundred games, it scores five hundred runs and allows four hundred.

Five hundred squared is two hundred fifty thousand.

Four hundred squared is one hundred sixty thousand.

Divide two hundred fifty thousand by their combined total, four hundred ten thousand.

That gives us an expected win percentage of about sixty-one percent.

Across a hundred games, that’s about sixty-one expected wins.

Expected wins=expected win percentage×games played\text{Expected wins} = \text{expected win percentage} \times \text{games played}

Use the percentage as a decimal in that calculation: about 0.61×1000.61 \times 100.

The made-up team: 500 runs scored and 400 allowed over 100 games. Use the percentage as a decimal when you multiply.

Score more while allowing less, and the estimate rises.

Score and allow the same number of runs, and it lands at fifty percent.

Score more, allow less

500
400
100

Expected win %

61.0%

≈ 61.0 expected wins in 100 games

500² ÷ (500² + 400²) = 0.610
0.610 × 100 = 61.0 wins

Scoring more than allowing: above 50%

Starts at the made-up team: 500 scored, 400 allowed, 100 games. Classic squared version.

We’re using the classic squared version here. Other versions adjust the exponent, but the idea stays the same. Lesson 2 compares the exponents.

Comparing actual and expected wins

Now we have two numbers.

Our example team actually won sixty percent of its games.

Its scoring-based estimate was about sixty-one percent.

Close—but not identical.

Now calculate both numbers for each team over the same season.

You could put them in a table.

But a scatter plot lets us see how they relate.

Put the Pythagorean estimate on the horizontal axis, and actual win percentage on the vertical axis.

Each dot is one team’s season.

Our example team goes at about sixty-one percent across and sixty percent up.

Move right, and the scoring-based estimate gets higher.

Move up, and the actual win percentage gets higher.

Same scale on both axes. Each dot is one team's season; here there is only our example team.

What the gap tells us

Now draw a diagonal line where the two percentages are equal.

Fifty percent across, fifty percent up.

Sixty percent across, sixty percent up.

Use the same scale on both axes so that comparison is easy to see.

A dot on that line means the team’s record matches its scoring-based estimate.

Above it? The team won more than the formula estimated.

Below it? Fewer.

Our example team sits just below the line.

The vertical gap is about one percentage point—or about one win across those hundred games.

40%40%45%45%50%50%55%55%60%60%65%65%70%70%Pythagorean expected win % →Actual win % →Won more than estimatedWon fewer than estimatedactual = expected−1.0 pts

Where is the dot?

Expected (across)

61.0%

Actual (up)

60.0%

Vertical gap (actual − expected)

−1.0 pts

≈ −1.0 winovergames

Below the line: the team won fewer than the formula estimated.

Drag the dot, or focus it and use the arrow keys. The dashed amber line is the vertical gap between actual and expected.

A bigger gap gives us more to investigate.

Did the team win a lot of close games?

Did a few blowout losses affect its run totals?

The dot doesn’t tell us the cause.

And the gap isn’t an automatic prediction that the team will improve or decline.

It tells us where the record and the scoring-based estimate differ.

From a table to a relationship

Now step back and look at all the dots.

Do teams with higher expected win percentages also tend to have higher actual win percentages?

Do the dots stay close to the diagonal, or spread far away?

Hypothetical 12-team league over a 162-game season. The diagonal is drawn by us, not fitted to the dots.

We’ve turned a table of numbers into a picture of the relationship.

35%35%40%40%45%45%50%50%55%55%60%60%65%65%Pythagorean expected win % →Actual win % →Pinewood

Selected team

Pinewood

86–76

680 scored · 680 allowed

Expected

50.0%

81.0 wins

Actual

53.1%

86 wins

Gap +5.0 wins (above)

Biggest gaps

A gap is something to investigate. It doesn't explain itself, and it isn't a forecast.

Hypothetical 12-team league, 162-game season. Hover or tap a dot; toggle the diagonal and the gaps.

One detail matters here.

We drew that diagonal ourselves. It marks where the two percentages are equal.

We haven’t fitted a line to the data yet.

That comes next.

The solid diagonal is our reference. The dashed line is a preview of what fitting to the data looks like; that comes next.

Next lesson: Linear regression—how we fit a line to quantify that relationship.

Source

The classic formula and its mathematical background: A Derivation of the Pythagorean Won-Loss Formula in Baseball.