Home › Calculators › Batting Average Calculator

Batting Average Calculator

Work out a baseball or softball batting average from hits and at-bats. Add walks, hit-by-pitches, sacrifice flies and extra-base hits to get on-base percentage, slugging, OPS and more, plus how many hits you need to reach .300.

Last updated:

Batting average
On-base (optional)

Optional, for BABIP and K%

Power (optional)
Total bases from
Enter your values to see the result.
Advertisement
Advertisement

How to use the Batting Average Calculator

  1. Enter hits and at-bats to get the batting average instantly.
  2. Keep “Also calculate OBP, SLG and OPS” ticked to add walks, hit by pitch and sacrifice flies.
  3. Enter doubles, triples and home runs (or total bases) for slugging and OPS.
  4. Add strikeouts if you want BABIP and strikeout rate.
  5. Check the tables for the hits you need to reach a target average.

Baseball hitting formulas

StatFormulaExample (150 H, 500 AB, 60 BB, 5 HBP, 4 SF, 30 2B, 3 3B, 25 HR)
AVGH ÷ AB150 ÷ 500 = .300
OBP(H + BB + HBP) ÷ (AB + BB + HBP + SF)215 ÷ 569 = .378
TB1B + 2×2B + 3×3B + 4×HR92 + 60 + 9 + 100 = 261
SLGTB ÷ AB261 ÷ 500 = .522
OPSOBP + SLG.378 + .522 = .900
ISOSLG − AVG.522 − .300 = .222

How to read the numbers

Rough guide for professional baseball; amateur and softball numbers tend to run higher.

RatingAVGOBPSLGOPS
Excellent.300+.390+.550+.900+
Above average.270.340.450.800
Average.250.320.410.720
Below average.230.300.370.660
Poor.210 or less.280 or less.340 or less.600 or less

Counting tips

  • An at-bat is a plate appearance that does not end in a walk, hit by pitch, sacrifice bunt, sacrifice fly or catcher's interference.
  • Reaching base on an error or a fielder's choice counts as an at-bat without a hit.
  • Averages are rounded to three decimals and the leading zero is dropped: 0.2857 is written .286.

Frequently asked questions

How do you calculate batting average?

Batting average = hits ÷ at-bats. For example, 150 hits in 500 at-bats is 150 ÷ 500 = 0.300, written as .300 and said “three hundred”.

Do walks count as at-bats?

No. Walks, hit by pitches, sacrifice bunts, sacrifice flies and catcher's interference are plate appearances but not at-bats, so they do not change batting average. Walks and hit by pitches do count toward on-base percentage.

What is the OBP formula?

On-base percentage = (H + BB + HBP) ÷ (AB + BB + HBP + SF). Sacrifice flies are in the denominator, while sacrifice bunts are left out entirely.

How is slugging percentage calculated?

Slugging percentage = total bases ÷ at-bats, where total bases = singles + 2 × doubles + 3 × triples + 4 × home runs. It measures power, so it can be higher than 1.000 in small samples.

What is a good batting average?

In modern Major League Baseball the league average is usually around .240 to .255, so .300 is considered excellent and .200 is weak. Averages in youth, high school and softball leagues are often higher.

What is OPS and what is a good OPS?

OPS is on-base percentage plus slugging percentage, a quick measure of overall hitting. In MLB, an OPS around .700 to .730 is roughly average, .800 is very good and .900 or more is star level.

What is BABIP?

Batting average on balls in play = (H − HR) ÷ (AB − K − HR + SF). It looks only at balls put into the field of play and is often used to judge whether a hot or cold streak involves luck.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

ERA CalculatorWork out a pitcher's earned run average from earned runs and innings pitched.Win Percentage CalculatorTurn a win-loss-tie record into a win percentage and see the wins needed to hit a goal.Average CalculatorMean, weighted average, median, sum, min and max of any list.Percentage CalculatorWork out percentages, increases and decreases.One Rep Max CalculatorEstimate your 1RM with Epley and Brzycki, plus a percentage table.Running Pace CalculatorCalculate pace and predict race times.Steps to Calories CalculatorConvert steps to distance and calories burned from your height, weight and pace.Heart Rate Zone CalculatorFind max heart rate and 5 training zones with the Fox, Tanaka, Gulati or Karvonen method.VO2 Max CalculatorEstimate VO2 max from a Cooper run, resting heart rate or 1.5-mile time, with norms.Golf Handicap CalculatorCalculate your WHS Handicap Index and Course Handicap from scores, rating and slope.Steps to Miles CalculatorConvert steps to miles and km from your height or step length, with time and calories.Swimming Pace CalculatorSwim pace per 100 m or yd, speed and splits from distance and time, plus CSS from a test.Wilks CalculatorPowerlifting Wilks 2020 and DOTS scores from body weight, sex and total in kg or lb.Bike Gear CalculatorGear ratio, gear inches, development and speed for every chainring and cog combination.Bike Size CalculatorRight bike frame size from height and inseam: road, mountain, hybrid or kids, in cm and inches.Elo Rating CalculatorExpected score, rating change and new ratings for a game or a tournament with any K-factor.Ski Size CalculatorRecommended ski length in cm from height, weight, ability and ski type.Snowboard Size CalculatorSnowboard length from height, weight, style and ability, plus board width for your boots.Treadmill Incline CalculatorSpeed and incline to equivalent flat pace, calories burned, METs and vertical gain.Watts per KG CalculatorCycling power-to-weight (W/kg) from FTP and weight, with a level chart from novice to pro.Bowling Score CalculatorEnter rolls frame by frame to get running bowling scores, max possible score and a scorecard.5/3/1 CalculatorWendler 5/3/1 cycle: training maxes, 4-week sets, reps and plate-rounded weights for 4 lifts.Air Force PT Test CalculatorEstimate USAF fitness test component and composite scores from run or HAMR, push-ups and core.Bike Tire Pressure CalculatorRecommended front and rear bike tire PSI and bar from weight, tire width, surface and tubeless.Cricket Run Rate CalculatorFind the current and required run rate, runs needed and projected score for any innings.Darts Checkout CalculatorFind the best double-out checkout route for any score from 2 to 170 with 1, 2 or 3 darts.FTP CalculatorEstimate cycling FTP from a 20-min, ramp or 8-min test, with W/kg, 7 power zones and HR zones.Hiking Time CalculatorEstimate hike time from distance and elevation with Naismith and Tobler, plus turnaround time.Marine Corps PFT CalculatorEstimate USMC PFT points and class from pull-ups or push-ups, plank and 3-mile run time.Navy PRT CalculatorEstimate US Navy PRT points and category from push-ups, plank and 1.5-mile run or row time.RPE CalculatorWeight × reps @ RPE to estimated 1RM and target loads for any reps and RPE (RPE chart).Ski DIN CalculatorFind your ski binding DIN setting from weight, height, age, skier type and boot sole length.VDOT Running CalculatorVDOT score from a race time, with equivalent race times and E, M, T, I and R training paces.Workout LogLog sets, reps and weight for every workout; see PRs, estimated 1RM and volume charts per lift.
See all 32 Fitness & Sports Calculators →