Skip to content

Batting average
calculator

Divide hits by official at-bats.
Read your batting line clearly.

Total hits, not total bases.
At-bats, not plate appearances.

Batting average

.300

30% hit share

27Hits
63Other official
at-bats

27 + 63 = 90 official at-bats

30%70%
Hits (27)Other at-bats (63)

Valid input: Hits must be less than or equal to official at-bats (H ≤ AB). A batting average is undefined when official at-bats are zero (AB = 0).

How it works

1Count hits

Use your total number of hits (H). Count all hits (singles, doubles, triples and home runs).

2Use official at-bats

Use official at-bats (AB), not plate appearances (walks, HBP or sacrifices don’t count).

3Divide and round

Divide hits by official at-bats and round to three decimal places.

Example

27 / 90 = .300

Important notes
  • Hits cannot exceed at-bats.
  • Zero at-bats gives Undefined.
  • Official at-bats exclude walks, hit-by-pitches and sacrifices.
  • This is batting average, not OBP or SLG.

Questions, Answered

What counts as an official at-bat?

Official AB includes hits, ordinary outs, errors and fielder’s choices.
Walks, hit-by-pitches, sacrifice bunts/flies and catcher interference are excluded.

Does a home run count as one hit?

Yes. Batting average counts hits, not total bases. Every single, double, triple or home run counts as one hit.

Why is zero at-bats undefined?

Division by zero is undefined. A player with no official at-bats does not yet have a batting average.

04  Batting Season Tracker

Your season. One clear
batting line.

Record each game, follow your cumulative
average, and share a season snapshot
with your coach.

Build my season log
Player 01Example season
H5AB16AVG.313
Batting Average Quick Start Guide book cover
Free PDF guide

Keep your batting line
in perspective.

  • Count official at-bats
  • Read a three-decimal AVG
  • Keep a game-by-game log

Guide email delivery is coming soon.
No information is collected by this form.
Privacy Policy

Support HitAverage

Found this free tool useful? An optional one-time tip helps with hosting and upkeep.

Tips are not available yet. Thank you for using HitAverage.