Calculate batting average for baseball and softball instantly. Enter hits and at-bats to get BA, batting average, and hitting stats. Pure client-side.
Batting average (BA) is one of the most fundamental statistics in baseball and softball. It measures a batter's success rate and is calculated by dividing the number of hits by the number of official at-bats. A batting average of .300 or higher is considered excellent at the professional level. This calculator also computes on-base percentage (OBP), which includes walks and sacrifice flies. All calculations happen in your browser — no data is sent to any server.
Batting average is calculated as Hits divided by At Bats (H/AB). For example, if a player has 30 hits in 100 at-bats, their batting average is .300.
In Major League Baseball, .300+ is excellent, .270-.299 is good, .250-.269 is average, and below .250 is considered below average.
An at-bat is a plate appearance that results in a hit, out, or error. Walks, hit-by-pitches, sacrifice bunts, and sacrifice flies do NOT count as at-bats.