Batting Average Calculator

BA = Hits divided by At-Bats.

Health BA = H/AB Season projection
Rate this calculator · 5.0 (2)

Batting average: Hits ÷ At-Bats

Baseball convention · season pace optional

Instructions — Batting Average Calculator

1

Enter hits and at-bats

Hits (H) is every single, double, triple, and home run. At-bats (AB) excludes walks, hit-by-pitch, sacrifice flies, and sacrifice bunts — those are plate appearances but not at-bats.

2

Read the result

Batting average is shown in baseball convention: .300, .406, no leading zero. The same number appears as a percentage (30.0%, 40.6%) for non-baseball context.

3

Toggle season pace

Turn on MLB pace to extrapolate over 550 at-bats — the rough volume for a qualifying full season under the 502 plate-appearance threshold (Rule 9.22).

Walks do not count: a base on balls does not appear in either the numerator or denominator. A player with many walks can have a low BA but high OBP.
Mendoza Line:.200 is the traditional cutoff for an unplayable bat. Named for Mario Mendoza, who hit around it across 686 games from 1974 to 1982.

Formulas

The math is the simplest in baseball — one of the reasons batting average dominated player evaluation for a century before sabermetrics. The interesting work is in the definitions of what counts.

Batting average
$$ BA = \frac{H}{AB} $$
Hits divided by at-bats. Displayed to three decimal places with no leading zero in baseball convention (.300,.406).
At-bats vs. plate appearances
$$ AB = PA - BB - HBP - SF - SH $$
At-bats are plate appearances minus walks, hit-by-pitch, sacrifice flies, and sacrifice hits (bunts). Catcher interference also subtracts.
Season projection
$$ H_{season} = BA \times AB_{season} $$
Multiply current BA by an expected season AB total. 550 AB is a typical full-season qualifier in MLB.
Qualifying threshold (MLB Rule 9.22)
$$ PA \geq 3.1 \times G_{team} = 502 \text{ over 162 games} $$
To win a batting title, a player needs 3.1 plate appearances per scheduled team game — 502 PA in a 162-game season.
On-base percentage (related)
$$ OBP = \frac{H + BB + HBP}{AB + BB + HBP + SF} $$
A fuller measure that includes walks. A player can post a low BA and high OBP if walks are frequent.
Slugging percentage (related)
$$ SLG = \frac{1B + 2 \cdot 2B + 3 \cdot 3B + 4 \cdot HR}{AB} $$
Total bases per at-bat. Captures power that BA ignores. SLG and OBP combine into OPS.

Reference

Batting average tiers (modern MLB)
BATierContext
.400+HistoricNot done in a full MLB season since 1941 (Ted Williams.406)
.330+Batting-title paceTony Gwynn won eight titles in this range
.300 to.329Elite hitterTraditional dividing line for All-Star contact hitters
.275 to.299Above-average regularSolid playoff-lineup bat
.245 to.274League averageMLB has hovered.245 to.255 through the 2020s
.220 to.244Below averageOften paired with power or defense to keep playing time
.200 to.219Mendoza-Line rangeBat-only players rarely stay above.200 long-term
Below.200Roster crisisSub-.200 over a full season triggers a demotion or platoon

Career and single-season records

A few of the headline numbers in BA history. All values from MLB official sources.

Career leaders
PlayerBA
Ty Cobb (1905–1928).366
Rogers Hornsby (1915–37).358
Shoeless Joe Jackson.356
Lefty O'Doul.349
Ted Williams (1939–60).344
Tony Gwynn (1982–2001).338
Stan Musial (1941–63).331
Single-season highlights
Player / seasonBA
Hugh Duffy 1894.440
Rogers Hornsby 1924.424
Ted Williams 1941.406
George Brett 1980.390
Tony Gwynn 1994.394
Luis Arraez 2023.354
MLB 2023 leader.354

Note: pre-1900 marks include rule differences (foul balls were not strikes, pitching distance was 50 feet through 1892). Modern-era records are typically compared from 1900 onward.

Article — Batting Average Calculator

Batting average calculator: hits, at-bats, and what.300 really means

Batting average is hits divided by at-bats — the simplest box-score number in baseball. A.300 hitter gets a hit in roughly three of every ten at-bats, a Hall-of-Fame floor. A.200 hitter is at the Mendoza Line, the dividing point at which an MLB regular is usually replaced. The modern league average sits between.245 and.255.

The calculator above runs BA = H / AB and displays it in the traditional three-decimal form with no leading zero. Below is the full picture: the definitions that decide which plate appearances count, the tiers that interpret the number, and why a stat that ruled baseball for a century has been pushed aside by more complete measures.

How batting average is calculated

The formula is BA = Hits / At-Bats. Hits count singles, doubles, triples, and home runs. At-bats count plate appearances that end in a hit, an out put in play, a strikeout, an error, or a fielder's choice — basically, anything that decides the play through bat-on-ball contact or a strikeout.

The output is conventionally displayed to three decimal places without a leading zero:.300, not 0.300. A reader pronounces it "three hundred." A.350 batting average is "three-fifty." A.406 mark, the kind of number Ted Williams put up in 1941, is "four-oh-six." The convention dates to nineteenth-century newspaper box scores, where space was tight and the leading zero added nothing.

What counts as an at-bat

The boundary between a plate appearance and an at-bat is where most batting-average confusion lives. Every time a hitter steps to the plate, that is a plate appearance (PA). A plate appearance becomes an at-bat (AB) unless the result is one of these:

  • Walk (BB): base on balls, four pitches called outside the strike zone
  • Hit-by-pitch (HBP): the pitch strikes the batter
  • Sacrifice fly (SF): a fly-ball out that scores a runner
  • Sacrifice bunt (SH): a bunt that advances a runner at the cost of an out
  • Catcher interference (CI): the catcher's glove contacts the bat

None of those are at-bats. None of them appear in either the numerator or denominator of batting average. The math: AB = PA − BB − HBP − SF − SH − CI.

This is why a player with patient plate discipline can post a low BA and a much higher on-base percentage. Joey Gallo, who batted.160 with a.357 OBP in 2021, drew enough walks (111) and was hit by enough pitches (12) that his on-base skill far outran his batting average. BA missed it. OBP caught it.

Batting average by tier in modern MLB

The dividing lines have shifted over time. Today the modern thresholds look like this:

.300
All-Star
Traditional elite-contact dividing line
.250
League average
MLB hovered.245 to.255 in the 2020s

A.300 batting average has carried "elite hitter" status since the early twentieth century, even as the league context has shifted. From the 1920s through the early 1990s the league hit between.258 and.280, so a.300 hitter sat 20 to 40 points above average. Today the league hits.245, so.300 puts a player 55 points above the line — comparatively more impressive than the same number forty years ago.

Batting-title territory starts around.330. Tony Gwynn won eight National League batting titles between 1984 and 1997, with marks ranging from.329 to.394. The.350 line is rare in any modern season — the recent MLB-leader values have clustered in the.330 to.360 band.

The Mendoza Line and the.200 cutoff

Mario Mendoza was a defensively gifted shortstop for the Pirates, Mariners, and Rangers between 1974 and 1982. He hit.215 across 686 career games, finishing five of his nine seasons below.200. In a 1980 spring-training conversation, Kansas City's George Brett reportedly told reporters he checked the Sunday papers "to see if anyone was below the Mendoza Line." The phrase stuck.

Below.200 is the cutoff at which a bat-only player cannot keep a regular spot. A glove-first player can — Mendoza himself stayed in the majors because of his defense. The modern threshold has not moved: a.195 average over a full season still triggers a demotion or platoon, even with the broader league-wide drop in batting average.

Did you know

The term "Mendoza Line" started as clubhouse slang and was popularized by ESPN's Chris Berman on SportsCenter in the mid-1980s. Mendoza himself has said publicly that he is fine with the association — it kept his name in baseball discourse fifty years after he played.

Why no one hits.400 anymore

Ted Williams hit.406 in 1941. Eighty-five years later, no one has matched it. Tony Gwynn was at.394 when the 1994 strike ended the season in August. The closest call since was George Brett's.390 in 1980. Several factors explain the drought:

Relief pitching has industrialized. In 1941, a starting pitcher faced a hitter four times in a game; by the late innings the matchup favored the batter. Today a hitter often faces a fresh, high-velocity arm in the seventh, eighth, and ninth — a structural disadvantage Williams never had to overcome.

Defensive positioning is data-driven. Defensive shifts based on spray charts cut into ground-ball and line-drive hit rates. The 2023 shift restriction has rolled some of that back, but defensive optimisation in general remains far ahead of the 1941 baseline.

Strikeout rates have tripled. The league struck out 8.3 percent of plate appearances in 1941. The 2023 league rate was 22.7 percent. Strikeouts are at-bats with zero chance of a hit — a hitter cannot reach.400 while striking out one in five trips.

Era comparisons distort batting average

A.350 batting average in 2024 is not the same accomplishment as.350 in 1925. Park dimensions, ball construction, and pitcher usage have all shifted. Adjusted metrics like OPS+ and wRC+ normalize across eras. BA does not.

Batting average vs. OBP and SLG

Modern player evaluation runs through on-base percentage (OBP), slugging percentage (SLG), and their sum, OPS. BA is the first column in a slash line —.300 /.380 /.500 — but the second and third numbers carry more weight in front offices today.

OBP adds walks and hit-by-pitch to the numerator and to the denominator. It captures plate discipline that BA ignores. SLG weights hits by total bases (a home run counts four, a single counts one), capturing power that BA flattens. OPS is OBP + SLG — a quick, league-comparable summary that correlates much more strongly with run scoring than BA does.

Qualifying for batting-title eligibility

MLB Rule 9.22 sets the qualifying threshold for a batting title at 3.1 plate appearances per scheduled team game. In a 162-game season that works out to 502 PA. A player who falls short can sometimes still win the title under a "minimum PA" provision — if extra hitless plate appearances are added to bring them to the threshold and their BA still leads, they qualify (the "Tony Gwynn rule" in 1996, where the threshold was the deciding factor).

Common batting-average mistakes

Treating walks as failures. A walk is not an at-bat. It does not lower BA. It raises OBP. Coaches who push hitters to "be aggressive" sometimes confuse the two.

Ignoring sample size. A.500 batting average in 10 at-bats is meaningless. A full-season BA after 550 AB is reliable. Anything between is partial signal.

Comparing eras directly. Hugh Duffy hit.440 in 1894 under rules that no longer exist. Modern-era records are typically dated from 1900 onward, with separate notation for live-ball (1920+) and integrated-era (1947+) marks.

Tip

To project a player's hits over a full season, multiply current BA by an expected at-bat total. A typical regular sees about 550 AB. The calculator above does this automatically with the MLB season-pace toggle.

FAQ

BA = Hits ÷ At-Bats. Example: 90 hits in 300 at-bats = 90/300 = .300. The result is displayed to three decimal places with no leading zero (baseball convention).
No. A walk (base on balls) is a plate appearance but not an at-bat, so it does not appear in either the numerator or denominator. A high-walk hitter can have a low BA but a much higher on-base percentage.
.300 is the traditional dividing line for elite contact hitters..250 is roughly league-average in the modern game (the MLB has hovered.245 to.255 through the 2020s). Anything above.330 is batting-title territory.
A batting average of .200. Named after Mario Mendoza, a defensively gifted shortstop who hit around it across the late 1970s. The term entered popular use after George Brett mentioned it during the 1980 season, when reporters checked the Sunday box scores for who was “below the Mendoza Line”.
Ty Cobb at.366 (1905 to 1928). The record has stood for nearly a century. Rogers Hornsby is second at.358. Modern players rarely finish above.310 over a full career — Tony Gwynn ended at.338.
No. Ted Williams was the last, hitting.406 in 1941. The mark has not been reached in a qualifying season since. Tony Gwynn was at.394 when the 1994 strike ended play in August. Many writers consider.400 unattainable in the modern game because of improved relief pitching and defensive shifts.
A plate appearance is an at-bat unless it ends in: a base on balls (walk), hit-by-pitch, sacrifice fly, sacrifice bunt, or catcher interference. Those plate appearances count toward on-base percentage but not toward at-bats or batting average.
BA counts only hits over at-bats. OBP counts hits + walks + hit-by-pitch over the full plate-appearance denominator. A player with a.280 BA and 90 walks can have a.380 OBP — a much fuller measure of bat-to-base ability.
Multiply the current BA by an expected season at-bat total. A typical qualifying MLB regular sees about 550 AB (502 PA is the qualifying threshold under Rule 9.22, 3.1 PA per scheduled team game). The calculator extrapolates current pace over that volume.
No, by most analytical measures. OPS, wOBA, and wRC+ capture both contact and power, and account for park and era differences. BA remains the most widely understood number, but front offices and writers now lead with OPS or OPS+ for player evaluation.