Batting Average Calculator
Free batting average calculator for baseball. Calculate BA, OBP, slugging percentage, OPS, and total bases. Track game-by-game stats or season totals.
🔒 Fast, free math calculators that run in your browser. No uploads, 100% private.
Last updated: January 2026
Related Calculators
Frequently Asked Questions
How do I calculate batting average?
Batting average (BA) = Hits ÷ At Bats. For example, a player with 150 hits in 500 at bats has a .300 average (150÷500 = 0.300). At bats exclude walks, hit-by-pitch, sacrifice bunts, sacrifice flies, and catcher's interference—only plate appearances where the batter could have gotten a hit count. Batting average is always expressed as a three-digit decimal without a leading zero (.300, not 0.300).
What is a good batting average in baseball?
In MLB, a .300+ batting average is excellent (typically top 10-20 hitters), .270-.299 is good (above average starter), .250-.269 is average, and below .250 is below average. The league average has declined over time—from around .270 in the 1990s to about .243 in 2023. For Little League and high school, expectations differ; a .400+ average isn't unusual at lower levels due to weaker pitching.
How is on-base percentage (OBP) calculated?
OBP = (Hits + Walks + Hit-by-Pitch) ÷ (At Bats + Walks + Hit-by-Pitch + Sacrifice Flies). OBP measures how often a batter reaches base, which is more valuable than batting average alone because it includes walks. A .400+ OBP is excellent, .350+ is good, and league average is around .310-.320. A player who hits .250 with lots of walks can have a higher OBP than someone hitting .280 who rarely walks.
What is slugging percentage and how do I calculate it?
Slugging percentage (SLG) = Total Bases ÷ At Bats. Total bases count singles as 1, doubles as 2, triples as 3, and home runs as 4. A player with 50 singles, 25 doubles, 5 triples, and 20 home runs has 50×1 + 25×2 + 5×3 + 20×4 = 195 total bases. With 500 at bats, that's a .390 slugging percentage. SLG measures power—a .500+ is excellent, .450+ is good.
What is OPS and why is it important?
OPS (On-base Plus Slugging) = OBP + SLG. It combines a batter's ability to reach base and hit for power in one number. OPS is widely used because it correlates strongly with run production. An OPS of .900+ is excellent (All-Star level), .800+ is good, .700+ is average. For example, a .350 OBP and .450 SLG gives an .800 OPS. While not perfect (OBP is slightly more valuable than SLG), OPS is a quick way to evaluate overall offensive contribution.