Batting Average & ERA Calculator | Batting Average, On-Base Percentage, Slugging and OPS From At-Bats and Hits, ERA, WHIP and K/9 From Innings Pitched (6 2/3) and Earned Runs (Also for 7-Inning Youth Baseball and Softball), How Many More Hits You Need to Reach .300, a Standings Table With Winning Percentage and Games Behind, and Qualifying Plate Appearances and Innings | Batting Average Chart

The Batting Average & ERA Calculator answers questions such as “how do you calculate a batting average?”, “how do you work out OPS?”, “what is the ERA for 3 earned runs in 6 2/3 innings?”, “how do you calculate ERA for 7-inning youth games?”, “how many more hits do I need to hit .300?” and “how do you count games behind?”. Enter at-bats, hits, doubles, triples, home runs, walks, hit by pitch and sacrifice flies to get the batting average (with the Japanese wari-bu-rin reading), on-base percentage, slugging percentage, OPS, total bases and plate appearances, plus how many plate appearances you still need to qualify (games × 3.1). For pitchers, enter innings pitched in thirds along with earned runs, hits, walks and strikeouts to get ERA, run average, WHIP, strikeouts per game, walks per game and K/BB for 9-inning or 7-inning games (youth baseball, junior high and softball), and how many scoreless innings it takes to bring your ERA down to a target. From your current at-bats and hits, it works out how many hits you need in your remaining at-bats to reach a target average such as .300, how many straight hits get you there, and how many hitless at-bats you can afford while staying at .300. It also builds a standings table with winning percentage and games behind the leader from wins, losses and ties. Includes a batting average chart.

Calculate batting average, OBP, slugging and OPS

Enter at-bats, hits, extra-base hits, walks, hit by pitch and sacrifice flies to get the batting average (with the wari-bu-rin reading), on-base percentage, slugging, OPS, plate appearances and how many you still need to qualify.

Batting average

.300

3 wari 0 bu 0 rin

On-base percentage

.377

Slugging

.522

OPS

.899

Plate appearances

572

Total bases

261

Singles 92

ISO (SLG − AVG)

.222

Qualifying PA

443

Reached

On-base percentage = (hits + walks + hit by pitch) ÷ (at-bats + walks + hit by pitch + sacrifice flies), slugging = total bases ÷ at-bats, OPS = on-base percentage + slugging. Averages are rounded to three decimal places. Qualifying plate appearances are team games × 3.1 (rounded).

Batting average chart

See the batting average for each number of at-bats and hits at a glance.

AB \ H012345
1.0001.000
2.000.5001.000
3.000.333.6671.000
4.000.250.500.7501.000
5.000.200.400.600.8001.000
6.000.167.333.500.667.833
7.000.143.286.429.571.714
8.000.125.250.375.500.625
9.000.111.222.333.444.556
10.000.100.200.300.400.500
12.000.083.167.250.333.417
15.000.067.133.200.267.333
20.000.050.100.150.200.250

In Japan a .325 average is read “3 wari 2 bu 5 rin” (1 wari = .100, 1 bu = .010, 1 rin = .001).

Calculated with the standard formulas from the Official Baseball Rules. Reaching base on catcher’s interference or obstruction, and league-specific rules (how qualifying plate appearances are rounded, tie-breakers for equal winning percentages and so on), are not included.

ABOUT

About Batting Average & ERA Calculator | Batting Average, On-Base Percentage, Slugging and OPS From At-Bats and Hits, ERA, WHIP and K/9 From Innings Pitched (6 2/3) and Earned Runs (Also for 7-Inning Youth Baseball and Softball), How Many More Hits You Need to Reach .300, a Standings Table With Winning Percentage and Games Behind, and Qualifying Plate Appearances and Innings | Batting Average Chart

The Batting Average & ERA Calculator is a free tool that works out batting average, on-base percentage, slugging and OPS from at-bats and hits, and ERA, WHIP and strikeout rate from innings pitched and earned runs. It also handles ERA for 7-inning youth baseball and softball, how many hits you need to reach .300, a standings table with winning percentage and games behind, and qualifying plate appearances and innings.

How to use Batting Average & ERA Calculator | Batting Average, On-Base Percentage, Slugging and OPS From At-Bats and Hits, ERA, WHIP and K/9 From Innings Pitched (6 2/3) and Earned Runs (Also for 7-Inning Youth Baseball and Softball), How Many More Hits You Need to Reach .300, a Standings Table With Winning Percentage and Games Behind, and Qualifying Plate Appearances and Innings | Batting Average Chart

  1. 1On “Batting average & OPS (hitting)”, enter at-bats, hits, doubles, triples, home runs, walks, hit by pitch and sacrifice flies
  2. 2See the batting average (with the wari-bu-rin reading), on-base percentage, slugging, OPS and, from your team’s games played, how many plate appearances you still need to qualify
  3. 3On “ERA & WHIP (pitching)”, choose innings per game (9 or 7), enter innings pitched as whole innings plus 1/3 or 2/3, and enter earned runs and the rest
  4. 4On “How many hits to .300?”, enter your current at-bats and hits, the at-bats you have left and your target average
  5. 5On “Winning percentage & games behind”, enter each team’s wins, losses and ties to see the standings

Great for

  • Working out players’ batting averages and OPS from a youth or amateur team’s scorebook
  • Getting the ERA right when innings pitched has a fraction, such as 6 2/3
  • Calculating ERA for 7-inning games in youth baseball, junior high baseball or softball
  • Finding out late in the season how many more hits it takes to reach .300
  • Working out winning percentages and games behind for an amateur or company league table
  • Checking how far a player is from qualifying plate appearances or innings

Good to know

  • Batting average is hits ÷ at-bats. Walks, hit by pitch, sacrifice bunts and sacrifice flies do not count as at-bats, so they are left out of the average. 150 hits in 500 at-bats is .300; in Japan this is read as “3 wari”. .325 is read “3 wari 2 bu 5 rin”.
  • On-base percentage = (hits + walks + hit by pitch) ÷ (at-bats + walks + hit by pitch + sacrifice flies), slugging = total bases ÷ at-bats (total bases = singles + doubles × 2 + triples × 3 + home runs × 4), and OPS = on-base percentage + slugging. With 150 hits in 500 at-bats (30 doubles, 3 triples, 25 home runs), 60 walks, 5 hit by pitch and 5 sacrifice flies, that is a .377 on-base percentage, .522 slugging and .899 OPS.
  • ERA = earned runs × 9 ÷ innings pitched. “6.2” innings pitched means 6 2/3 innings (20 outs), so it is calculated as 6.667 innings. 3 earned runs in 6 2/3 innings gives 3 × 9 ÷ 6.667 = 4.05.
  • In 7-inning games such as youth baseball, junior high baseball and softball, ERA is usually earned runs × 7 ÷ innings pitched, so 3 earned runs in 6 2/3 innings gives 3.15. To compare it with a 9-inning ERA, multiply by 9/7.
  • Qualifying plate appearances are team games × 3.1 (443 for 143 games) and qualifying innings are team games × 1.0 (143 innings for 143 games), as in Japanese professional baseball. WHIP is (hits + walks) ÷ innings pitched, a guide to how many runners a pitcher allows per inning.
  • Winning percentage = wins ÷ (wins + losses); ties are left out. Games behind = (difference in wins + difference in losses) ÷ 2, so 80–60 and 75–62 are 3.5 games apart. Because the order is decided by winning percentage, a team with many ties can rank higher even when it is behind on games (a negative games-behind figure).

Questions this tool answers

Use Batting Average & ERA Calculator | Batting Average, On-Base Percentage, Slugging and OPS From At-Bats and Hits, ERA, WHIP and K/9 From Innings Pitched (6 2/3) and Earned Runs (Also for 7-Inning Youth Baseball and Softball), How Many More Hits You Need to Reach .300, a Standings Table With Winning Percentage and Games Behind, and Qualifying Plate Appearances and Innings | Batting Average Chart for searches like these:

  • how to calculate batting average
  • batting average wari bu rin
  • how to calculate OPS
  • on-base percentage sacrifice fly
  • ERA calculation 2/3 inning
  • ERA calculation 7 innings youth baseball
  • WHIP calculation
  • how many hits to bat 300
  • games behind negative
  • qualifying plate appearances 143 games

FAQ

How do you calculate a batting average, and how is it read in Japan?
Batting average is hits ÷ at-bats, rounded to three decimal places and shown as .300. Walks, hit by pitch, sacrifice bunts and sacrifice flies are not at-bats. In Japan the first decimal place is “wari”, the second “bu” and the third “rin”, so .325 is “3 wari 2 bu 5 rin” and .300 is “3 wari”. 1 hit in 3 at-bats is .333.
How do you calculate ERA for 6 2/3 innings pitched?
2/3 of an inning is two outs, so 6 2/3 innings is calculated as 6.667 innings (box scores write it as 6.2, but it is not 6.2 innings). With 3 earned runs, 3 × 9 ÷ 6.667 = 4.05. Counting outs (20) gives the same: 3 × 9 × 3 ÷ 20 = 4.05.
How do you calculate ERA for 7-inning youth baseball?
In youth baseball, junior high baseball and softball, where a game is 7 innings, ERA is usually earned runs × 7 ÷ innings pitched. 3 earned runs in 6 2/3 innings gives 3 × 7 ÷ 6.667 = 3.15. On a 9-inning basis it would be 4.05, so make sure your team or tournament uses the same one throughout.
How many more hits do I need to bat .300?
You need at least (current at-bats + remaining at-bats) × 0.3 hits. At 115 hits in 400 at-bats (.2875) with 100 at-bats left, 500 × 0.3 = 150 hits, so 35 more (hitting .350 the rest of the way). With straight hits, 8 in a row gets you there (123/408 = .3015). 7 in a row gives .2998, which rounds to .300 on display but is not quite .300.
How do you calculate OPS, and what is a good OPS?
OPS is on-base percentage + slugging. A .377 on-base percentage and .522 slugging make an .899 OPS. In professional baseball, about .900 or more is usually seen as elite, around .800 as a solid regular, and under .700 as below par.
How do you calculate games behind, and why can it be negative?
Games behind = (higher team’s wins − lower team’s wins + lower team’s losses − higher team’s losses) ÷ 2. 80–60 and 75–62 are (5 + 2) ÷ 2 = 3.5 games apart. The order is decided by winning percentage (ties left out), so between 70–50 with 10 ties (.5833) and 74–53 with 3 ties (.5827), the first team ranks higher on winning percentage but is half a game behind (−0.5).