Updated on April 20th, 2026

Batting Average Calculator

Created By Jehan Wadia

Number of successful hits
Total times at bat
Base on balls
Times hit by pitch
Sacrifice bunts/flies
Note: Official at-bats exclude walks, hit by pitch, and sacrifices

Batting Average
.300
Formula & Calculation
Baseball: Batting Average = Hits ÷ Official At-Bats
3 hits ÷ 10 at-bats = .300
Player Comparison

Introduction

Batting average is one of the most important stats in baseball. It tells you how often a hitter gets a base hit compared to how many times they step up to the plate. A player who bats .300 or higher is considered an excellent hitter, while the league average usually sits around .250. Knowing a player's batting average helps fans, coaches, and scouts judge how well that player performs at the plate.

This Batting Average Calculator makes it easy to find any player's batting average in seconds. Just enter the number of hits and plate appearances, and the tool does the math for you. It also accounts for walks, hit by pitch, and sacrifices, which are subtracted from plate appearances to give you the official at-bat total. The formula is simple: Batting Average = Hits ÷ Official At-Bats. You can also switch to cricket mode to calculate a cricket batting average, or use the built-in player comparison tool to see how different hitters stack up against each other.

How to Use Our Batting Average Calculator

Enter your hitting stats below, and this calculator will compute your batting average instantly. It works for both baseball and cricket players.

Sport Mode: Choose between Baseball or Cricket mode by clicking the matching button at the top. This changes the formula and inputs used to calculate your average.

Hits (Baseball): Enter the total number of times the batter got a successful hit. This is any time the batter reaches base safely because they hit the ball into fair territory.

Plate Appearances (Baseball): Enter the total number of times the batter came up to bat. This includes every trip to the plate, whether it ended in a hit, out, walk, or anything else.

Walks (Optional, Baseball): Enter the number of base on balls the batter received. Walks are subtracted from plate appearances to find official at-bats, since walks do not count against a batter's average.

Hit by Pitch (Optional, Baseball): Enter the number of times the batter was hit by a pitch. Like walks, these are removed from the plate appearance total when figuring official at-bats.

Sacrifices (Optional, Baseball): Enter the number of sacrifice bunts or sacrifice flies. These are also excluded from official at-bats because the batter gave themselves up on purpose to help the team.

Total Runs Scored (Cricket): Enter the total number of runs the batsman has scored across all innings. This is the top number in the cricket batting average formula.

Number of Times Out (Cricket): Enter how many times the batsman was dismissed. The calculator divides total runs by this number to get the cricket batting average.

Not-Outs (Optional, Cricket): Enter the number of innings where the batsman was not out. This is helpful for tracking career stats alongside the average.

Balls Faced (Optional, Cricket): Enter the total number of balls the batsman faced. If provided, the calculator will also figure out the batsman's strike rate.

Player Comparison: Use the comparison section at the bottom to enter up to three player names and their batting averages. Click "Compare Players" to see a bar chart that shows how they stack up against each other and the league average.

What Is Batting Average in Baseball?

Batting average is one of the oldest and most important stats in baseball. It measures how often a batter gets a hit when they step up to the plate. A batting average is shown as a three-digit decimal number, like .300 (spoken as "three hundred"). The higher the number, the better the hitter.

How to Calculate Batting Average

The formula is simple: divide a player's total hits by their total official at-bats.

Batting Average = Hits ÷ At-Bats

For example, if a player gets 150 hits in 500 at-bats, their batting average is 150 ÷ 500 = .300.

It's important to know that official at-bats are not the same as plate appearances. Certain plate appearances don't count as at-bats. These include walks (base on balls), getting hit by a pitch, sacrifice bunts, and sacrifice flies. These are subtracted from total plate appearances to get the official at-bat number. This is because the league doesn't want to penalize a batter for events that aren't really their fault or that help the team in a different way.

What Is a Good Batting Average?

In Major League Baseball, a .300 batting average or higher is considered excellent. Only the best hitters in the league reach this mark in a full season. An average between .250 and .299 is solid and around the league norm. Anything between .200 and .249 is below average, and dropping below .200 — often called the "Mendoza Line" — is considered poor. The Mendoza Line is named after Mario Mendoza, a light-hitting shortstop from the 1970s and 1980s whose average hovered near that mark.

Why Batting Average Matters

Batting average has been used since the 1800s to judge hitters. It gives fans, coaches, and scouts a quick snapshot of how consistently a player gets hits. It's one of the three stats in the famous Triple Crown, alongside home runs and runs batted in (RBIs). A player who leads the league in all three wins the Triple Crown, which is one of baseball's rarest achievements.

Limitations of Batting Average

While batting average is useful, it doesn't tell the whole story. It treats all hits the same — a single counts the same as a home run. It also ignores walks, which are a valuable way to get on base. That's why modern baseball also uses stats like on-base percentage (OBP), which counts walks and hit-by-pitches, and slugging percentage (SLG), which gives more weight to extra-base hits like doubles, triples, and home runs. Together, OBP and SLG combine into OPS, which many people consider a more complete measure of a hitter's ability.

Still, batting average remains one of the most recognized and talked-about numbers in all of sports. Whether you're tracking a Little League season or following your favorite MLB team, knowing how to calculate and understand batting average is a key part of enjoying baseball. For pitchers, a complementary stat to explore is ERA (Earned Run Average), which measures how well a pitcher prevents runs — the flip side of what batting average tracks for hitters.


Frequently Asked Questions

What is the Mendoza Line?

The Mendoza Line is a batting average of .200. It is named after Mario Mendoza, a shortstop who played in the 1970s and 1980s. His average was often near .200. If a player falls below .200, they are said to be "below the Mendoza Line," which means they are hitting very poorly.

Do walks count as at-bats?

No. Walks (base on balls) do not count as official at-bats. They are subtracted from plate appearances before you calculate batting average. This is because a walk is not the batter's fault, so it should not lower their average.

Why is my batting average showing a dash instead of a number?

A dash appears when the calculator cannot divide by zero. This happens when your official at-bats equal zero. If your plate appearances minus walks, hit by pitch, and sacrifices equals zero, there are no official at-bats to divide by. Add more plate appearances to get a result.

What is the difference between plate appearances and at-bats?

A plate appearance is every single time a batter comes up to hit. An at-bat is a plate appearance minus walks, hit by pitch, sacrifices, and catcher's interference. At-bats are the number used in the batting average formula.

Can batting average be higher than 1.000?

No. In baseball, batting average cannot go above 1.000. A 1.000 average means the batter got a hit every single time they had an official at-bat. This only happens over very small sample sizes, like a few at-bats.

Why does the result change color?

The color shows how good the batting average is. Green means excellent (.300 or higher). Blue means good (.250 to .299). Yellow means average (.200 to .249). Red means below average (under .200). This helps you quickly see how the average compares to league norms.

How many at-bats do you need for batting average to be meaningful?

Most baseball experts say a player needs at least 100 to 200 at-bats before their batting average becomes reliable. In MLB, a player needs 3.1 plate appearances per team game (about 502 per season) to qualify for the batting title.

What counts as a hit in baseball?

A hit is when the batter reaches base safely by hitting the ball into fair territory. This includes singles, doubles, triples, and home runs. Reaching base on an error or fielder's choice does not count as a hit.

How does the cricket batting average differ from baseball?

In cricket, batting average equals total runs scored divided by the number of times the batsman was out. In baseball, it equals hits divided by official at-bats. Cricket averages are usually whole numbers like 40 or 50, while baseball averages are decimals like .300.

What is a good cricket batting average?

In cricket, an average of 50 or higher is considered excellent. An average between 40 and 49 is very good. Between 30 and 39 is average, and below 30 is considered below average for a top-level batsman.

How does the player comparison tool work?

Enter up to three player names and their batting averages in the comparison section. Click "Compare Players" and a bar chart will appear. It shows each player's average side by side with a line marking the league average so you can easily see who is hitting better.

Why are sacrifice bunts not counted as at-bats?

Sacrifice bunts are removed from at-bats because the batter gave themselves up on purpose to move a runner. The league does not want to punish a batter's average for making a smart team play.

What is the highest single-season batting average in MLB history?

The highest single-season batting average in MLB history is .440, set by Hugh Duffy in 1894. In the modern era (after 1900), the record is .424 by Rogers Hornsby in 1924. Hitting .400 in a season has not been done since Ted Williams hit .406 in 1941.

Can I use this calculator for softball?

Yes. Softball uses the same batting average formula as baseball: hits divided by official at-bats. Enter your softball stats the same way you would for baseball, and the calculator will give you an accurate result.

What is strike rate in cricket?

Strike rate measures how fast a batsman scores runs. It is calculated by dividing total runs by balls faced, then multiplying by 100. If you enter balls faced in the cricket section, this calculator will figure out the strike rate for you.


Related Calculators

ERA Calculator

Visit ERA Calculator

OPS Calculator

Visit OPS Calculator

Slugging Percentage Calculator

Visit Slugging Percentage Calculator

On Base Percentage Calculator

Visit On Base Percentage Calculator