Slatery field notes / baseball / guided learning
What is xwOBA?
The idea
An out can still be good hitting.
A hitter smashes a line drive, but the outfielder catches it. The box score records an out, even though the hitter made great contact.
xwOBA helps you look beyond that result. It uses how hard the ball was hit and its angle off the bat to estimate what similar batted balls usually produce. Walks, hit-by-pitches and strikeouts count too.
The full name is expected weighted on-base average. âWeightedâ means different outcomes contribute different amounts: a home run is worth more than a single.
What do exit velocity and launch angle mean?
Exit velocity is how fast the ball leaves the bat. Launch angle is its upward or downward angle. Running speed also matters for some types of contact.
Worked example
One batted ball. Several possible outcomes.
Imagine a fictional batted ball. A model gives it the possibilities below. We multiply each probability by that outcomeâs weight, then add the contributions. The actual ball can still become an out.
This example is deliberately simplified. Its probabilities and weights are invented so you can follow the calculation; they do not reproduce Statcastâs model.
The single contributes .35 Ă .90 = .3150. The home run contributes .08 Ă 2.00 = .1600 despite being much less likely. Add all five contributions and the expected weighted value is .6945, or about .695.
The hit probability in this toy example is 60%: 35% singles + 15% doubles + 2% triples + 8% home runs. The weighted value is .695. They are different quantities. That is why reading an xwOBA value as a percentage leads you astray.
The bigger picture
Great contact doesnât erase strikeouts.
A hitter can crush the ball when they connect and still strike out a lot. Full xwOBA counts those strikeouts, plus walks and hit-by-pitches, so you see more than the contact alone.
Try this separate, invented sample: 20 plate appearances, with 4 walks, 1 hit-by-pitch, 5 strikeouts and 10 batted balls averaging .440. Those ten balls are different from the .695 example above.
Keep the contact quality. Change the strikeouts.
Move the slider. Each strikeout you remove becomes a batted ball averaging .440. Walks and hit-by-pitches stay the same.
10 batted balls, 5 strikeouts. Same contact quality; fewer strikeouts leave more chances to add value.
See the numbers behind the slider
10 batted balls Ă .440 + 4 walks Ă .70 + 1 hit-by-pitch Ă .73 = 7.93. Divide by 20 to get the result above.
Invented sample and weights. This shows how the calculation works, not what a player will do.
Now compare two hitters.
B makes better contact, but strikes out twice as often. Both have the same walks and hit-by-pitches. Once those strikeouts count, A comes out ahead.
Check whether a number includes strikeouts. âxwOBA on contactâ (or xwOBACon) only looks at batted balls. Full xwOBA includes the other outcomes too.
Show the calculation and which plate appearances count
Add the expected value from batted balls and the weighted value of walks and hit-by-pitches, then divide by the plate appearances that count.
At-bats + unintentional walks + sacrifice flies + hit-by-pitches
Strikeouts count as at-bats and add zero to the top of the fraction. Intentional walks and sacrifice bunts are excluded. The slider example has neither of those nor any sacrifice flies.
Read an example
What does the gap tell you?
Compare actual results (wOBA) with expected results (xwOBA). Both numbers must cover the same dates and plate appearances. Hereâs an invented example.
Start with the sample.
The hitterâs contact, walks and hit-by-pitches suggested better results than they actually got.
The .060 gap suggests this hitterâs results fell short of what their contact and other outcomes supported. It gives you a reason to look closer.
It doesnât guarantee a rebound. Health, opponents and the hitterâs swing can change. xwOBA can help inform a forecast, but it doesnât tell you what will happen next game.
You can try these checks on the MLB lineup report.
Put it to work
Four checks before you use the number.
What does it count?
Full xwOBA or contact only? Higher is better for a hitter; lower xwOBA allowed is better for a pitcher.
How much evidence is there?
Check the dates and sample size. Eighteen batted balls tell you less than a full season. Avoid treating a brief hot streak as the whole story.
What are you comparing it with?
Use the same season and source for the league average. Match the dates and what counts when comparing players. Donât average a hitterâs and pitcherâs numbers to predict a matchup.
Does the matchup fit?
Check pitch mix, handedness and likely playing time. A strong fastball split matters less if the pitcher rarely throws fastballs. xwOBA alone doesnât give you a betting probability.