Find a baseball or softball hitter’s batting average from their hits and at-bats — the most familiar number in the sport, printed on every trading card and stat line.
How it works
Batting average (AVG) is hits divided by at-bats: AVG = Hits ÷ At-Bats. A player with 150 hits in 500 at-bats bats .300 — three hits for every ten at-bats, on average.
What this does not include
This calculator reports only batting average. It does not factor in walks, hit-by-pitches, or sacrifice flies — for a rate stat that does, see the on-base percentage calculator instead.
How to use this calculator
- Enter the number of hits.
- Enter the number of at-bats.
- Read off the batting average.
A worked example
150 hits over 500 at-bats: batting average = 150 ÷ 500 = .300.
45 hits over 180 at-bats: batting average = .250.
What the variables mean
| Variable | Meaning |
|---|---|
| Hits | Total hits recorded |
| At-bats | Official at-bats, excluding walks and sacrifices |
Edge cases worth knowing
Batting average doesn’t distinguish a single from a home run — both count equally as one hit, which is exactly why slugging percentage exists as a separate, complementary stat that does weight hit types differently.
Zero at-bats makes the average undefined — there’s no sample to calculate a rate from, so the calculator declines to show a result.
Why is batting average shown without a leading zero?
Baseball tradition drops the leading zero and reads averages like “.300” as “three-hundred” — a stylistic convention, not a different number.
What counts as an at-bat?
Walks, hit-by-pitches, sacrifices, and catcher’s interference are excluded from at-bats under official scoring rules, which is why AVG and on-base percentage can differ substantially for a patient hitter.
What’s considered a good batting average?
In modern professional baseball, .300 or higher is generally considered excellent, .250 is roughly average, and anything under .200 is often called the “Mendoza Line.”