By Zencalcy Editorial TeamLast reviewed About us
Batting average is hits divided by at-bats, the oldest simple rate in baseball. Enter a player's hits and at-bats to get AVG to three decimals, the way it appears on a scoreboard.
Turn hits and at-bats into a three-decimal batting average.
AVG = H ÷ AB
At-bats exclude walks, hit-by-pitch, and sacrifice flies, so those plate appearances do not lower AVG. Hits cannot exceed at-bats, and a player with zero at-bats has no defined average.
| Symbol | Meaning |
|---|---|
| H | Hits, meaning times the batter reached first base or beyond on a batted ball. |
| AB | At-bats, meaning plate appearances that count against the average. |
| AVG | Hits divided by at-bats, shown to three decimals. |
34 ÷ 120 = 0.2833, so the batting average is 0.283. A player with the same 34 hits in 100 at-bats would show 0.340 instead.
Batting average divides hits by at bats, so a player with 30 hits in 100 at bats posts an average of .300. The denominator deliberately excludes walks, hit by pitch, sacrifice flies, and sacrifices, because those plate appearances are scored as something other than an at bat. Only official at bats are counted.
The stat answers a narrow question: how often does a plate appearance that ends in an at bat produce a hit? It treats a single and a home run as identical, and it ignores walks entirely, so two hitters with the same average can carry very different offensive value.
Because a single and a home run count the same, batting average says nothing about power. A slugger and a slap hitter can share a .280 average while producing vastly different run totals. Batting average also discards the walk, which is a productive plate appearance that does not require a hit.
Average is still useful as a compact description of contact and ball in play outcomes, and it is the building block for on base percentage, slugging, and OPS. On its own, though, it is an incomplete summary of offensive value, which is why modern evaluation leans on stats that include walks and extra bases.
Continue with the ERA Calculator, Fielding Percentage Calculator, or the On-Base Percentage Calculator — or browse more baseball tools and all sports calculators.
At-bats count plate appearances that end in a hit, an out, or a fielder's choice, but not walks, hit-by-pitch, sacrifice bunts, or sacrifice flies.
Every result is computed locally in your browser from the formulas shown above. Nothing you type is uploaded, logged, or stored, and no account is required.
Reference material used to build and check this calculator:
Last reviewed: September 2026. See how we build and check every tool on the about page.
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Content updated: September 2026