Baseball Batting Average Calculator
Calculate a baseball batting average from hits and official at-bats.
Use official at-bats, not total plate appearances. Walks, sacrifices and some other plate appearances are excluded from at-bats under scoring rules.
What is a batting average?
Batting average (AVG) is the proportion of official at-bats in which a baseball or softball batter gets a hit. It is shown to three decimal places without a leading zero, so 45 hits in 150 at-bats is a .300 average.
How to use this calculator
Enter the batter’s hits and official at-bats. The result is shown in the conventional three-decimal baseball format.
Formula
Batting average (AVG) = hits ÷ official at-bats.
Reference: MLB Batting Average glossary
Terms in the formula
- Hits
- Times the batter safely reached base on a batted ball, without an error or fielder's choice.
- Official at-bats
- Plate appearances excluding walks, hit-by-pitches, sacrifices and catcher's interference.
Understanding your result
In Major League Baseball, a season average around .250 is roughly typical, .300 or higher is excellent and below .200 is weak. Averages over a few dozen at-bats swing widely by chance, so judge a hitter on a full season. Batting average ignores walks and extra-base power, which is why on-base percentage and slugging percentage are often read alongside it.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewAbiodunSports Data Analyst
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Is batting average the same as on-base percentage?
No. Batting average uses hits and at-bats; on-base percentage also accounts for several other ways of reaching base.
Why is the leading zero omitted?
Baseball convention commonly displays 0.300 as .300.
Can hits exceed at-bats?
No. Recheck the official totals if hits are greater than at-bats.
What is a good batting average?
In Major League Baseball, around .250 is often considered average, .300 or higher is excellent, and below .200 is considered weak.
Which plate appearances do not count as at-bats?
Walks, hit-by-pitches, sacrifice bunts, sacrifice flies and reaching on catcher's interference do not count as official at-bats under the Official Baseball Rules.
How do I calculate a batting average?
Divide hits by official at-bats and show the result to three decimal places. 45 hits in 150 at-bats is 45 ÷ 150 = .300.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Major League Baseball. (n.d.). Batting average (AVG): Glossary. View source
- Office of the Commissioner of Baseball. (2025). Official baseball rules. View source
- Tango, T. M., Lichtman, M. G., & Dolphin, A. E. (2007). The book: Playing the percentages in baseball. Potomac Books. View source
- Albert, J., & Bennett, J. (2001). Curve ball: Baseball, statistics, and the role of chance in the game. Copernicus Books. View source
- Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Prealgebra 2e. OpenStax. View source