Batting Average Calculator
Enter a batter’s hits and at-bats and this calculator returns the batting average — the single most familiar number in baseball and softball. Batting average is simply hits divided by at-bats, shown to three decimal places (a .300 hitter, for example). Use it to track your own season, settle a debate about a favorite player, or check a stat line from a box score. The result updates as you type, so you can compare players or watch how one more hit nudges the average.
How to calculate a batting average
-
1
Enter the hits
Type the total number of hits (singles, doubles, triples and home runs all count as one hit each).
-
2
Enter the at-bats
Type the official at-bats. Walks, hit-by-pitch, sacrifices and catcher's interference are not at-bats and are excluded.
-
3
Read the average
The batting average appears in the standard three-decimal format, alongside the hits and at-bats you entered.
The batting average formula
Batting average (AVG) measures how often a batter gets a hit per official at-bat. The formula is:
AVG = hits ÷ at-bats
The result is a decimal between 0 and 1, rounded to three places and read without the leading zero. So 0.300 is spoken as “three hundred” and written .300. A batter who reaches base 3 times out of every 10 official at-bats is a .300 hitter — historically the benchmark for an excellent season.
Worked example
Suppose a player has 45 hits in 150 at-bats:
45 ÷ 150 = 0.300 → .300
Now compare a few stat lines side by side:
| Hits | At-bats | Batting average |
|---|---|---|
| 45 | 150 | .300 |
| 50 | 200 | .250 |
| 75 | 250 | .300 |
| 1 | 3 | .333 |
| 0 | 10 | .000 |
Notice that 45-for-150 and 75-for-250 both land on exactly .300 — the average reflects the ratio, not the raw totals. A small sample (1-for-3 = .333) swings far more per at-bat than a large one.
Common pitfalls
- At-bats are not plate appearances. Walks, hit-by-pitch, sacrifice bunts, sacrifice flies and catcher's interference count as plate appearances but not at-bats, so they never appear in the denominator.
- Every hit counts once. A home run and a single are both one hit for batting average. To weight extra-base hits, you want slugging percentage instead.
- Zero at-bats. Dividing by zero is undefined, so a player with no official at-bats has no batting average; this tool simply shows .000 until you enter at-bats.
- Reach-on-error is not a hit. Reaching base on a fielding error still counts as an at-bat but not a hit, which lowers the average.
Frequently Asked Questions
Divide a batter’s total hits by their total official at-bats. The result is rounded to three decimal places, so 45 hits in 150 at-bats is 45 ÷ 150 = .300.
An at-bat is a plate appearance that ends in a hit, an out, or reaching on an error or fielder’s choice. Walks, hit-by-pitch, sacrifice bunts, sacrifice flies and catcher’s interference are plate appearances but not at-bats, so they are excluded from the denominator.
A .300 average is the traditional mark of an excellent hitter, .250 is roughly league-average, and anything above .350 over a full season is exceptional. Standards vary between leagues and levels of play.
By convention, baseball reports the average to three decimal places (thousandths) and drops the leading zero, so 0.275 is shown as .275 and read aloud as “two seventy-five”.
No. The calculation runs in your browser and the hits and at-bats you type are not transmitted or stored anywhere.
Related Tools
BMI Calculator
Calculate body mass index from height and weight. Shows WHO category, healthy-weight range and limitations of BMI.
Scientific Calculator
Full scientific calculator with trig, log, exponents, factorial, memory, parentheses and DEG/RAD toggle. Runs in your browser.
Rising Sign Calculator
Estimate your rising sign from birth date and birth time. This quick astrology calculator uses a simple two-hour block method, not a full birth chart.
Name Numerology Calculator
Calculate your destiny number and expression number from your full name using Pythagorean numerology, with a personality reading.
Inflation Calculator
Calculate the equivalent purchasing power of a dollar across any two years using historical CPI data from 1913 to today.
Running Pace Calculator
Enter distance and finish time to calculate pace per km, pace per mile, average speed and projected 5K, 10K, half marathon and marathon finish times.