Skip to content
FiftyCalc Free calculators for all 50 states

Batting Average Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter hits and at-bats to get the batting average.

Result

Sample figures

Batting average (three decimals)—

Hits per at-bat as a percentage —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Batting Average Calculator

Hits: enter 0 or more. Prefilled example: 30.

Official at-bats: enter 1 or more. Prefilled example: 100.

Affiliate link

This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.

Search Amazon for baseball scorebooks. Visit Amazon

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Hits: enter 0 or more.
  2. Official at-bats: enter 1 or more.
  3. Read the result: Batting average (three decimals); the panel also shows Hits per at-bat as a percentage.

How this calculator works

Batting average = hits ÷ at-bats (MLB Official Baseball Rules, rule 9.21). Walks, hit-by-pitches, sacrifices and catcher's interference are not at-bats.

Averages are written to three decimals: 0.300 is read as "three hundred".

The formula

  1. Avg=round⁡(hab,3)
Symbols used in the formula
SymbolMeaning
hHits
abOfficial at-bats
AvgBatting average (three decimals)
round(x, d)x rounded to d decimal places, or to a whole number without d.

Worked example

Hits30
Official at-bats100
Hits per at-bat as a percentage30%
  1. Avg=round⁡(30100,3)=0.3

Batting average (three decimals) 0.3

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is a good batting average?

In Major League Baseball, .300 or higher over a season is traditionally seen as excellent; recent league averages have been around .250.

Do walks count against batting average?

No. A walk is not an official at-bat, so it changes neither hits nor at-bats.

Related calculators