Our free batting average calculator works out a baseball batting average from hits and at-bats. Enter the two numbers and click Calculate Average to see the average to three decimal places, the way official stats show it.
These figures are estimates only for educational purposes. No personal data is collected or saved.
How to use this batting average calculator
Enter the number of hits and the number of official at-bats, then click Calculate Average. Walks, hit by pitch and sacrifices do not count as at-bats, so do not include them in the at-bats number.
Worked example
A player with 85 hits in 300 at-bats has a batting average of 85 divided by 300, which is .283.
The batting average formula
Formula: batting average = hits divided by at-bats, shown to three decimal places. The result always sits between .000 and 1.000.
Frequently asked questions
What is a good batting average?
A batting average of .300 or higher is excellent in professional baseball, .250 to .280 is solid, and below .200 is known as the Mendoza line. Averages are higher in amateur and youth leagues. To work out the matching pitching figure, try the Earned Run Average Calculator.
Do walks count as at-bats?
No. Walks, hit by pitch and sacrifice bunts and flies are plate appearances, not at-bats, so they do not lower a batting average when the batter reaches base that way.
Why is the average shown as .283 and not 0.283?
Baseball tradition drops the leading zero, so averages are written as .283. It means the same number, just in the style used on scoreboards and stat sheets.