Batting Average Calculator
Use this free batting average calculator to find a hitter’s average from hits and at-bats. It returns the standard three-decimal number, like .294, used across baseball and softball.
Batting Average Calculator: Quick Facts
- Formula: hits divided by at-bats.
- Output: a .XXX average.
- Note: walks and sacrifices are not at-bats.
- Use: season or career totals.
- Free: no sign-up.

How Batting Average Works
Batting average is hits divided by at-bats, shown to three decimals. A hitter with 50 hits in 170 at-bats is batting .294. Walks, hit-by-pitches, and sacrifices do not count as at-bats, so they do not lower the average.
Frequently Asked Questions
How do you calculate batting average?
Divide a hitter’s total hits by their total at-bats. For example, 50 hits in 170 at-bats is .294.
Do walks count in batting average?
No. A walk is not an at-bat, so it does not count as either a hit or an at-bat and has no direct effect on batting average.
What is a good batting average?
In modern baseball, .300 is considered an excellent batting average over a full season, and .250 is around the league average.