Baseball Batting Average
Hits divided by at-bats — baseball's classic hitting measure.
Formula
Live Calculator
MembersVariables
Example
180 hits in 600 at-bats: BA = .300
How it works
Batting average measures how often a hitter gets a hit when given an official at-bat. It works by comparing successful outcomes (hits) to total opportunities that count as at-bats, so a larger fraction means the batter reaches base by hit more often. Because it is a ratio, batting average lets you compare players fairly even if they have different numbers of plate appearances.
When to use it
Use this formula in baseball or softball statistics when you want a simple measure of a batter’s hitting success. It is especially useful for comparing players, tracking performance over a season, or summarizing a hitter’s consistency.
Worked example, step by step
Suppose a player has 52 hits in 200 at-bats. BA = H / AB BA = 52 / 200 BA = 0.26 So the batting average is .260, which means the player gets a hit in 26% of official at-bats.
Common mistakes to avoid
- Using plate appearances instead of official at-bats
- Forgetting that batting average is written as a decimal, not a percentage
- Dividing hits by total games played instead of at-bats
Did You Know?
No MLB player has hit .400 over a full season since Ted Williams in 1941.
Share this formula
More in Sports & Motion Analytics
View allProjectile Range
IntermediateHorizontal distance a ball travels when launched at speed v and angle θ.
Projectile Max Height
IntermediatePeak height reached by a launched projectile.
Hang Time
BasicTotal time a projectile spends in the air on level ground.
Running Pace
BasicTime taken per unit distance — the runner's pace.
Speed from Pace
BasicConvert a running pace in min/km into speed in km/h.
Expected Goals (xG)
IntermediateSum of scoring probabilities of every chance a team creates.