Sports

Batting Average Calculator

Calculate batting average, on-base percentage (OBP), slugging percentage (SLG), and OPS from your hitting stats.

Quick Answer

Batting average = Hits / At-Bats. A .300 average is excellent, .250 is league average. OBP adds walks and HBP to the equation. Slugging measures extra-base power. OPS (OBP + SLG) above .800 is very good; above .900 is elite.

Results

Batting Average
0.300
Excellent
On-Base %
0.373
Excellent
Slugging %
0.469
Very Good
OPS
0.842
Very Good

Hit Breakdown

92
Singles
25
Doubles
3
Triples
15
Home Runs
211
Total Bases

Formulas Used

BA = H / AB = 135 / 450 = 0.300
OBP = (H + BB + HBP) / (AB + BB + HBP + SF) = (135 + 50 + 5) / (450 + 50 + 5 + 4) = 0.373
SLG = Total Bases / AB = 211 / 450 = 0.469
OPS = OBP + SLG = 0.373 + 0.469 = 0.842

About This Tool

The Batting Average Calculator computes the most important offensive statistics in baseball and softball. Enter your raw hitting numbers to get batting average (BA), on-base percentage (OBP), slugging percentage (SLG), and OPS, complete with performance ratings based on MLB standards.

Batting Average vs. On-Base Percentage

While batting average has been the traditional measure of hitting ability since the 1870s, modern analytics favor on-base percentage as a more complete measure. OBP accounts for walks and hit-by-pitches, which have the same value as a hit in terms of not making an out. A player who draws many walks contributes more to their team than their batting average alone suggests. The “Moneyball” revolution in baseball was built partly on the insight that OBP was undervalued relative to batting average.

Understanding Slugging Percentage

Slugging percentage measures batting power by weighting extra-base hits. A single is worth 1 total base, a double 2, a triple 3, and a home run 4. Dividing total bases by at-bats gives SLG. A player who hits 30 home runs and many doubles will have a much higher SLG than a contact hitter with similar batting average. SLG captures the run-producing value of extra-base hits that batting average treats identically to singles.

OPS: The Combined Metric

OPS simply adds OBP and SLG together. Despite its simplicity, OPS correlates strongly with run production and is widely used in modern baseball analysis. An OPS above .900 is All-Star caliber, above .800 is a quality starter, and the league average typically falls around .710-.750. While more advanced metrics like wOBA and wRC+ exist, OPS remains the most accessible combined batting statistic.

Frequently Asked Questions

How is batting average calculated?
Batting average (BA) is calculated by dividing hits (H) by at-bats (AB). The formula is BA = H / AB. Walks, hit-by-pitches, sacrifices, and other non-at-bat plate appearances are not counted in at-bats. A .300 batting average is considered excellent in Major League Baseball.
What is on-base percentage (OBP)?
On-base percentage measures how often a batter reaches base. The formula is OBP = (H + BB + HBP) / (AB + BB + HBP + SF), where BB is walks, HBP is hit-by-pitch, and SF is sacrifice flies. OBP is generally considered more valuable than batting average because it accounts for walks.
How is slugging percentage calculated?
Slugging percentage (SLG) measures the total bases per at-bat. The formula is SLG = Total Bases / AB. Total bases are calculated as: singles x 1 + doubles x 2 + triples x 3 + home runs x 4. A .500 slugging percentage is considered very good.
What is OPS and why does it matter?
OPS stands for On-base Plus Slugging, calculated by adding OBP and SLG together. It combines a batter's ability to get on base with their power. An OPS above .900 is excellent, above .800 is very good, and above .700 is above average. OPS is one of the most widely used modern batting statistics.
What is a good batting average in baseball?
In MLB, a .300 batting average is considered excellent, .270-.299 is very good, .250-.269 is average, and below .230 is poor. The league-wide batting average typically hovers around .250-.260. The last player to hit .400 over a full season was Ted Williams in 1941 with .406.

Was this tool helpful?