Skip to content

Batting Average Calculator

Batting average measures how often a hitter gets a hit: in baseball and softball, batting average = hits ÷ official at-bats, written to three decimal places (.300). In cricket it measures runs per dismissal: runs scored ÷ times out. This batting average calculator works out both, plus on-base percentage, slugging and OPS, and the number of hits you need to reach a target average.

  • AVG = hits ÷ at-bats
  • OBP, SLG and OPS
  • Hits needed for a target

Your stats

Choose the sport, enter your totals and read the result instantly.

Sport

Sport

Hits and at-bats
On-base (optional)
Extra-base hits (optional)
Target (optional)
Cricket
— batting average

    Use the calculator above for your own numbers. Below, we explain how the Batting Average calculator works, with worked examples and sources.

    How to calculate batting average in baseball and softball

    Divide hits by official at-bats and round to three decimals. A player with 60 hits in 200 at-bats is batting 60 ÷ 200 = .300 – said 'three hundred'. Softball uses exactly the same formula. The leading zero is dropped by convention, and a perfect average would be 1.000.

    What counts as an at-bat

    Plate appearance resultAt-bat?Hit?
    Single, double, triple, home runYesYes
    Strikeout, ground out, fly outYesNo
    Reached on an errorYesNo
    Reached on a fielder's choiceYesNo
    Walk (base on balls)No—
    Hit by pitchNo—
    Sacrifice bunt or sacrifice flyNo—
    Catcher's interferenceNo—

    This is why batting average does not include walks: they are not at-bats. To credit a hitter for walks, use on-base percentage instead.

    On-base percentage, slugging and OPS

    • On-base percentage (OBP) = (hits + walks + hit by pitch) ÷ (at-bats + walks + hit by pitch + sacrifice flies). It measures how often a batter reaches base.
    • Slugging percentage (SLG) = total bases ÷ at-bats, where a single is 1, a double 2, a triple 3 and a home run 4. It measures power.
    • OPS = OBP + SLG – a quick all-round hitting measure.

    Example: 60 hits (40 singles, 12 doubles, 2 triples, 6 home runs), 25 walks, 3 HBP and 2 sacrifice flies in 200 at-bats. AVG = .300; OBP = 88 ÷ 230 = 0.383; total bases = 40 + 24 + 6 + 24 = 94, so SLG = .470; OPS = 0.853.

    What is a good batting average?

    AverageHow it is usually viewed in professional baseball
    .300 and aboveExcellent
    .270 – .299Very good
    .250 – .269Above average to solid
    .230 – .249Around league average in recent seasons
    Below .220Weak for most position players

    In recent Major League Baseball seasons the overall league batting average has been roughly in the .240s. Ted Williams (.406 in 1941) was the last major leaguer to hit .400 over a season, and Ty Cobb holds the highest career average at about .366. High-school, college and softball averages run higher because of different pitching levels and, in college, metal bats – compare players only within the same level.

    Hits needed to reach a target average

    To find how many hits you need: required hits = target × (current at-bats + future at-bats) − current hits. A hitter at 50 for 200 (.250) who wants .280 after 100 more at-bats needs 0.280 × 300 − 50 = 34 hits in those 100 at-bats – a .340 pace. The calculator shows this for any target.

    Cricket batting average

    In cricket, batting average = runs scored ÷ number of times out. Innings where the batter is 'not out' add runs but not a dismissal, which can push averages up. A batter with 450 runs and 10 dismissals averages 45.00. Test averages above 50 are considered outstanding; Sir Donald Bradman's Test average of 99.94 is the famous outlier. In limited-overs cricket, strike rate – runs per 100 balls faced – matters as much as average.

    Batting average limitations

    Batting average treats every hit the same – a single counts like a home run – and ignores walks. Modern analysis therefore uses OBP, SLG, OPS and more advanced measures alongside it. It is still the easiest statistic to understand and is printed in every box score.

    Combining averages correctly

    You cannot average two batting averages to get a combined one, because the number of at-bats differs. A player who hit .300 in 100 at-bats (30 hits) and .250 in 500 at-bats (125 hits) has a combined average of 155 ÷ 600 = .258 – not .275. Always add up hits and at-bats first, then divide. The calculator's multi-season mode does this automatically for any number of seasons, teams or games.

    Qualifying for a batting title

    League leaderboards require a minimum number of plate appearances so that a player with a handful of lucky hits cannot win. In Major League Baseball, a hitter needs 3.1 plate appearances per team game – 502 over a 162-game season. If a player falls short, MLB rules allow the missing plate appearances to be added as hitless at-bats; if the player still leads, they win the title with their actual average. Amateur leagues set their own rules, often a minimum number of at-bats or games.

    BABIP: batting average on balls in play

    BABIP measures how often a ball put into play – not a home run or strikeout – falls for a hit: BABIP = (H − HR) ÷ (AB − K − HR + SF). It is useful for spotting luck. Most major league hitters' BABIP settles near the low .300s over a career, so a hitter batting .330 with a BABIP of .400 is likely to cool down, while one with a BABIP of .220 may have been unlucky. The calculator shows BABIP if you enter strikeouts and home runs.

    Reading a box score

    A typical box score lists AB, R (runs), H, RBI, BB, SO (strikeouts) and AVG for each batter. The AVG column is the player's season average after the game, not their average for that game. A player who goes 2 for 4 has a 'game average' of .500, but their season figure moves only a little: from 60 for 200 (.300) to 62 for 204 (.304).

    Softball and youth baseball

    Fast-pitch and slow-pitch softball, Little League and high-school baseball all use the same formula and the same at-bat rules, so the calculator works for any level. What changes is the benchmark: averages are often much higher in slow-pitch softball and youth leagues, so compare a player only against others in the same league and season.

    Cricket strike rate and average together

    In cricket, average tells you how many runs a batter scores before getting out, and strike rate tells you how fast. A Test batter who scores 450 runs from 900 balls with 10 dismissals averages 45.00 with a strike rate of 50 – solid and patient. A T20 batter with 450 runs from 300 balls and 15 dismissals averages 30.00 but strikes at 150, which is often more valuable in the shortest format. The calculator shows both side by side.

    Batting average with runners in scoring position

    Split averages use the same formula on a subset of at-bats. Batting average with runners in scoring position (RISP) counts only at-bats with a runner on second or third base; average against left-handed or right-handed pitching, at home or away, and by month work the same way. Small samples swing wildly – a hitter can be 2 for 20 (.100) with runners in scoring position for a few weeks without it meaning much – so treat splits under about 100 at-bats with caution.

    Sources

    1. MLB – Official Baseball Rules (definitions of at-bat, sacrifice) and glossary — mlb.com/glossary
    2. ESPNcricinfo – Batting records (Bradman 99.94) — espncricinfo.com

    Results are estimates for information only. Last reviewed: .

    Written & built by

    Zeeshan Nawaz

    Calculator Developer · Tuff Search

    Builds and tests Tuff Search calculators, turning official tax tables and published formulas into tools anyone can check.

    FAQ

    Frequently asked questions

    Quick answers about the Batting Average calculator.

    Divide hits by official at-bats. 45 hits in 150 at-bats is .300.

    Still have a question? Email support@tuffsearch.com