βΎ Batting Average Calculator
Hits divided by at-bats, the classic baseball stat.
Batting Average
How to Use This Batting Average Calculator
Batting average is baseball's oldest headline stat, and the math is beautifully simple: hits divided by at-bats. Enter both numbers and this calculator returns the average to three decimal places, the traditional format, plus how many more hits you need to reach .300 at your current at-bat total.
Enter total hits (singles, doubles, triples, and home runs all count).
Enter official at-bats, not plate appearances (walks and sacrifices excluded, explained below).
Read the average at the top in standard .XXX format.
Check the hits needed for .300 to see how close the milestone is.
The Formula and What Counts
The subtlety is all in the denominator. An at-bat excludes walks, hit-by-pitches, sacrifice bunts, sacrifice flies, and catcher's interference; those are plate appearances but not at-bats, because the batter was not really trying to get a hit. This is why on-base percentage exists as a separate stat: BA measures pure hitting, OBP measures reaching base by any means. A 58-for-200 hitter bats .290, and needs 2 more hits (60 total) to reach .300. Enter 58 and 200 above to verify.
What the Numbers Mean
Context turns the decimal into a story. In modern MLB, .300 is excellent, .280 is solidly above average, .260 is roughly average, and under .230 is struggling (the league-wide "Mendoza Line" joke sets .200 as the embarrassment threshold). Youth and high school numbers run higher because pitching is weaker: .400-plus seasons are common for good high school hitters. Softball uses the same formula with typically higher averages due to the shorter game and different pitching.
BA has famous blind spots that modern analysis exposed. It treats all hits equally, so a singles hitter and a power hitter can share .280 with wildly different value, and it ignores walks entirely, which is how the Oakland A's found undervalued talent in the Moneyball era. That is why teams now lean on OBP, slugging, and OPS. But BA endures because it answers the simplest question: how often does this guy get a hit?
Raising Your Batting Average
The math of improvement is unforgiving: going from .250 to .280 over 200 at-bats needs 6 more hits, which is one extra hit every 33 at-bats. That gap is mostly approach, not talent. Hitters who raise their average typically cut chase swings at pitches outside the zone, where contact is weak, and hunt one pitch location early in counts. Two-strike hitting matters enormously: shortening the swing and protecting the plate with two strikes turns strikeouts into singles and keeps rallies alive.
Track your own numbers honestly across a season, not a weekend. A 4-for-4 game moves a 200-at-bat average just 6 points, which is why slumps and streaks feel bigger than they are. Coaches look at quality of contact over 50-plus at-bats: hard-hit balls become hits at a stable rate, so line-drive rate predicts future BA better than current BA does. Focus on barrels, and the decimal follows.
Batting Average Records
The single-season record is .440 by Hugh Duffy in 1894, from an era of very different rules. The modern-era mark is .424 by Rogers Hornsby in 1924, and nobody has hit .400 since Ted Williams batted .406 in 1941, arguably the most hallowed chase in sports. Tony Gwynn's .394 in 1994, cut short by the strike, is the closest anyone has come in 80 years. Career-wise, Ty Cobb's .366 still tops the list. These numbers remind us what .290 means: very good, and still 110 points from immortality.
Batting Average in the Shift Era
The defensive shift, now restricted by MLB's 2023 rule requiring two infielders on each side of second base, spent a decade suppressing batting averages on pulled ground balls. Left-handed pull hitters watched line drives become 4-3 putouts, and league-wide BA sank to historic lows around .240 in the early 2020s. The shift ban restored some justice: pull-side grounders through the infield became hits again, and averages ticked upward. But the deeper trend remains: rising velocity and specialized relief pitching make contact harder every year.
This is why the modern .260 hitter is not the failure the number suggests. Adjusted for era, today's .260 with power and patience can out-produce a 1980s .280 slap hitter in run value. Coaches and parents should judge young hitters against their league's average, not against Ted Williams. A high schooler batting .350 in a league where .300 is average is doing fine; the same .350 where .400 is average needs work. Context is the whole stat. Ask your coach for the league average before judging any player's number. A .300 hitter in a pitcher's league is a star; the same average in a hitter's league is just a roster spot.
A Second Worked Example: The .300 Chase
A hitter has 140 hits in 480 at-bats: 140 divided by 480 is .292. To reach .300 at 480 at-bats, he needs 0.300 times 480, or 144 hits: 4 more. Every hit from here moves the average about 2 points (1 divided by 480), so a 4-for-4 day jumps him to .298 and the milestone is one swing away. This is why the calculator's "hits needed" line matters: it turns a vague goal into a countdown.
The same math runs backward for slumps. An 0-for-20 skid drops our hitter to 140-for-500, or .280. Twelve points gone in a week, which is why batting average feels so volatile in April and so frozen in September: the denominator decides how much each game moves the number.
BA vs. OBP vs. SLG: The Modern Trio
Batting average is the oldest of the three slash-line stats, and modern analysis treats it as the least complete. On-base percentage adds walks and hit-by-pitches to the numerator and plate appearances to the denominator, measuring how often the batter avoids making an out. Slugging weights the hits: singles count 1, doubles 2, triples 3, homers 4, all divided by at-bats. OPS adds OBP and SLG into one number.
The trio tells a fuller story than any one alone. A .280 hitter with a .380 OBP and .520 SLG is a star; a .280 hitter with a .300 OBP and .350 SLG is a singles compiler who makes outs. BA answers "how often does he get hits." The other two answer "how often does he reach" and "how much damage when he does." Use all three, in that order of importance to modern front offices.
Common Batting Average Mistakes
First: using plate appearances instead of at-bats. Walks, sacrifices, and hit-by-pitches are plate appearances, not at-bats; including them deflates the average unfairly. Second: the sacrifice fly confusion. Sac flies are not at-bats in MLB scoring, which surprises people who assume every out counts. Third: small-sample theater. A .400 average after 20 at-bats means almost nothing; the number needs a few hundred at-bats before it describes the hitter.
Fourth: comparing across eras without context. A .300 average in 1968, the Year of the Pitcher, meant more than .300 in 2000's hitting boom. Fifth: treating all .280s as equal. As the trio above shows, two hitters can share a batting average and produce wildly different value. The average is the start of the evaluation, not the end of it.
Frequently Asked Questions
How do you calculate batting average?
Divide hits by at-bats: 58 hits in 200 at-bats is .290. Walks, hit-by-pitches, and sacrifices do not count as at-bats. The result is expressed as a three-digit decimal, so .290 is read as two-ninety. At-bats exclude walks and sacrifices, so use official at-bats from the scorebook, not plate appearances.
What is a good batting average?
In MLB, .300 is excellent, .280 is above average, .260 is around average, and below .230 is poor. In high school and youth ball, averages run higher: .350-plus is strong. Softball uses the same formula with generally higher numbers. Pitchers and catchers are judged on a gentler curve, while corner outfielders and first basemen must hit to keep their jobs.
Do walks count in batting average?
No. Walks, hit-by-pitches, sacrifice bunts, and sacrifice flies are plate appearances but not at-bats, so they neither help nor hurt BA. This exclusion is exactly why on-base percentage was created as a companion stat. Hit-by-pitches and catcher's interference are treated the same way as walks in the formula.
What is the Mendoza Line?
A .200 batting average, named for light-hitting shortstop Mario Mendoza. Falling below it is the traditional joke threshold for offensive futility, though modern defense-first players sometimes survive under it. The term comes from 1970s shortstop Mario Mendoza, whose average hovered around the mark.
Who has the highest career batting average?
Ty Cobb at .366 across 1905 to 1928. Rogers Hornsby (.358) and Shoeless Joe Jackson (.356) follow. Among modern players, Tony Gwynn's .338 is the standard-bearer for pure hitting. Nap Lajoie and others from the dead-ball era cluster near the top because of very different playing conditions.
Has anyone batted .400 recently?
No. Ted Williams hit .406 in 1941, the last .400 season. Tony Gwynn's .394 in strike-shortened 1994 is the closest since. Pitching specialization and defensive shifts have made .400 increasingly unlikely. George Brett's .390 in 1980 is the closest in the expansion era, and it remains a famous near-miss.
Why is batting average criticized?
It treats all hits equally and ignores walks, so it misses much of a hitter's offensive value. Modern teams prefer OBP, slugging, and OPS. BA survives because it is simple, historic, and still meaningful for pure contact hitting. Fantasy leagues still use it heavily, which keeps the stat culturally relevant despite the analytics critique.
How many at-bats to qualify for the batting title?
A player needs 3.1 plate appearances per team game: 502 for a 162-game season. This stops part-time players with fluky averages from winning. The leader must also have enough at-bats for the average to be official. If the leader falls short, hitless at-bats are added to reach 502 before comparing averages.