Skip to main content
HSCalculadora

Batting Average Calculator

Compute a baseball batting average.

hits
AB

Results update as you type.

Batting average
—

How it works

Batting average is the oldest and most recognised measure of a hitter's success in baseball, and this batting average calculator computes it from the two numbers that define it. Enter the number of hits and the number of at-bats, and the tool returns the average to three decimal places, exactly as it appears in official statistics. The statistic expresses how often a batter gets a hit per official at-bat, giving a clean rate between zero and one. A .300 average, meaning a hit in three of every ten at-bats, has long marked an excellent hitter, while .200, known as the Mendoza line, marks the threshold of struggle. Because it standardises hits against opportunities, batting average lets you compare players with very different numbers of plate appearances and track a hitter's form across a season. The calculation is a straightforward division, but the definition of an at-bat is what gives it meaning. At-bats exclude walks, hit-by-pitches, sacrifice bunts, and sacrifice flies, so the denominator counts only the plate appearances that offered a real chance to record a hit. That is why a patient hitter who draws many walks can post a strong average without those walks helping or hurting it. Fans, fantasy players, coaches, and young players learning the game can all use this calculator to compute an average for any span, from a single game to a full career, and see the familiar three-decimal figure instantly.

Formula

batting average = hits ÷ at-bats

Batting average is the proportion of at-bats that result in a hit, so it is simply hits divided by at-bats. The result is a decimal between zero and one, conventionally written to three places, such as .300, and read as a rate of success at the plate. Walks, hit-by-pitches, and sacrifices are excluded from at-bats, so the figure reflects only plate appearances that count as genuine opportunities to record a hit.

Source:Standard baseball batting average (hits ÷ at-bats)

We review all our tools from time to time to ensure accuracy.

Worked example

Hits:150At-bats:500
150 hits ÷ 500 at-bats = 0.300, written .300 — the classic mark of an excellent hitter.

How to use this calculator

  1. 1

    Enter your values

    Enter hits and at-bats.

  2. 2

    Adjust the options

    Fine-tune any options to match your situation.

  3. 3

    Read your result

    Batting average updates instantly as you type — no button to press.

Frequently asked questions

What counts as an at-bat?

An at-bat is a plate appearance that ends with a hit, an out from the batter putting the ball in play or striking out, or reaching on an error or fielder's choice. It excludes walks, hit-by-pitches, sacrifice bunts, sacrifice flies, and catcher's interference, which are plate appearances but not at-bats. This distinction matters because batting average uses at-bats as its denominator, so those excluded events neither help nor hurt the average.

Why is batting average shown to three decimals?

Baseball convention expresses batting average as a decimal to three places, such as .285, and reads it as if multiplied by a thousand, so .285 is spoken as two eighty-five. The three-decimal format gives enough precision to separate players whose averages are very close, which matters over a long season where tiny differences distinguish a batting title. This calculator follows that standard so the figure looks like an official statistic.

What is a good batting average?

In modern baseball, a batting average around .300 is considered excellent, .250 to .270 is roughly average for a regular player, and dipping toward .200, the so-called Mendoza line, signals a struggling hitter. Elite seasons occasionally reach .350 or higher. Standards shift with era and league conditions, so context matters, but .300 has remained a widely recognised benchmark of a strong, reliable hitter for over a century.

Does batting average include walks?

No. Walks are not counted as at-bats, so they do not appear in either the numerator or the denominator of batting average and have no effect on it. This is why a hitter with a keen eye who draws many walks can have a modest average yet still be very valuable, since walks reach base without registering as hits. On-base percentage, a separate statistic, does credit walks.

How does batting average differ from on-base percentage?

Batting average counts only hits divided by at-bats, while on-base percentage counts hits, walks, and hit-by-pitches divided by total plate appearances, measuring how often a batter reaches base by any means. On-base percentage is generally considered a better indicator of offensive value because it rewards drawing walks. Batting average remains popular for its history and simplicity, but analysts often pair it with on-base and slugging figures.