Earned Run Average Calculator - ERA from earned runs and innings

The earned run average calculator turns earned runs and innings pitched into a pitching ERA with quality bands, partial-inning handling, and a step-by-step worked example.

Updated: July 8, 2026 • Free Tool

Earned Run Average Calculator

Total earned runs charged to the pitcher. Exclude runs that scored because of errors or passed balls.

Use whole numbers for full innings and .1 or .2 for partial innings: 6.1 = 6 1/3, 6.2 = 6 2/3.

Results

ERA
0per 9 innings
Exact Innings 0
Quality Band 0

What Is Earned Run Average Calculator?

The earned run average calculator converts a pitcher's earned runs and innings pitched into ERA, the standard rate statistic for judging how effectively a pitcher prevents runs. ERA reads as the average number of earned runs a pitcher would allow across nine full innings, which makes it easy to compare a 200-inning starter with a 60-inning reliever.

Baseball has used ERA since the late 1800s because it answers the single question a pitching staff cares about: when this pitcher is on the mound, how many runs get charged to them per game? You reach for this calculator whenever you have a box score, a season line, or a Little League stat sheet and want the rate without doing the division and nine-times scaling by hand.

Use it for scouting a starter, settling a fantasy debate, tracking your own softball or rec-league ERA, or checking whether a reliever's ugly number is one bad outing or a real trend. Because ERA strips out unearned runs, it stays focused on the outcomes a pitcher actually controls.

The tool scales any sample size to a per-nine rate, so a 10-inning relief stint and a 180-inning season become directly comparable on the same scale, which is exactly what makes ERA useful across roles.

The earned run average calculator works best alongside a baserunner rate, so open our WHIP baseball calculator to see how often a pitcher puts runners on base.

How Earned Run Average Calculator Works

The math behind the earned run average calculator is a single ratio scaled to a full game: divide earned runs by innings pitched, then multiply by nine.

ERA = (Earned Runs / Innings Pitched) x 9

Earned runs are the runs charged to the pitcher that were not the result of a defensive mistake, while innings pitched count full innings plus thirds for partial frames. Multiplying by nine expresses the figure per nine innings, the length of a standard game.

Partial innings are the only tricky part. Baseball writes them as thirds, so the calculator reads .1 as one-third of an inning and .2 as two-thirds before it divides, keeping the rate correct.

Worked example: 54 earned runs in 180 innings

Start with 54 earned runs and 180 innings pitched.

Divide: 54 / 180 = 0.30 earned runs per inning, then multiply by 9.

0.30 x 9 = 2.70, an ERA of 2.70.

That lands in the elite band for a modern starting pitcher.

Worked example: partial innings (6.2)

Enter 3 earned runs and 6.2 innings.

Convert 6.2 to 6 and 2/3 innings = 6.667, then divide 3 / 6.667 = 0.45 per inning.

0.45 x 9 = 4.05, a below-average ERA.

The .2 notation matters: treated as a decimal it would give the wrong rate.

According to MLB Glossary, MLB defines earned run average as the number of earned runs a pitcher allows per nine innings pitched.

Because ERA leans on the defense behind the pitcher, you can compare it against a defense-independent line with our FIP calculator to separate pitching from fielding.

Key Concepts Explained

A few key ideas explain why ERA behaves the way it does and where it can mislead a casual reader.

Earned vs unearned runs

An earned run is one the offense would have produced without a defensive mistake. If an error should have ended the inning, the runs that follow are unearned and removed from ERA, so a shaky defense does not punish the pitcher's number.

The per-nine scale

Multiplying by nine puts every pitcher on the same yardstick as a full game. A reliever who threw one inning and allowed one earned run shows a 9.00 ERA, which is honest about how costly that run was.

Partial-inning notation

Baseball writes innings as thirds, not decimals. 6.1 is six and one-third, 6.2 is six and two-thirds, and 6.3 is never used. The calculator reads .1 as 1/3 and .2 as 2/3 so the division stays correct.

Quality bands

Raw ERA is hard to judge alone. Bands built around the modern run environment, about 2.90 elite down to 4.30 average and above, tell you whether a number is good for today's game rather than for a different era.

ERA reflects what happens after batters reach base, so review the hitters a pitcher faces with our on-base percentage calculator to understand the on-base pressure they create.

How to Use This Calculator

Follow these steps to get a clean rate from any box score or season line without second-guessing the arithmetic.

  1. 1 Step 1: Pull the earned runs and innings pitched from the box score or season line you want to rate.
  2. 2 Step 2: Enter earned runs in the first field, using only runs charged without errors or passed balls.
  3. 3 Step 3: Enter innings pitched in the second field; type full innings as whole numbers and partial innings as .1 or .2.
  4. 4 Step 4: Read the ERA result and the exact-innings conversion the calculator used for the math.
  5. 5 Step 5: Compare the result to the quality band to see whether the ERA is elite, average, or below average for current play.
  6. 6 Step 6: Re-run with a different inning total, such as dropping a bad relief appearance, to see how sensitive the rate is.

A coach enters 28 earned runs and 70.1 innings for a reliever. The tool converts 70.1 to 70.333 innings and returns an ERA of 3.58, an above-average relief season.

Power contact drives big innings, and our slugging percentage calculator shows how much extra-base damage opposing lineups produce against a staff.

Benefits of Using This Calculator

Using the calculator removes the arithmetic and judgment errors that manual ERA work invites, and it keeps the comparison honest across very different workloads.

  • Benefit: Avoids arithmetic mistakes with the .1/.2 convention, where a careless decimal point would throw the whole rate off and change a good number into a bad one.
  • Benefit: Scales any sample size to a per-nine rate, so a 10-inning stint and a 180-inning season become directly comparable on the same scale.
  • Benefit: Separates earned from unearned context so you judge the pitcher, not the defense behind them, which is the whole point of ERA.
  • Benefit: Works for any level, from MLB scouting to softball and Little League, by letting you plug in whatever line you have from the scorebook.
  • Benefit: Flags small-sample blowups immediately, which keeps one relief appearance from being read as a season-long trend that is not really there.
  • Benefit: Pairs the number with a quality band, removing the guesswork of whether a given ERA is actually good for the level it was posted at.

For the other side of the same matchup, our baseball batting average calculator tracks how often those hitters reach safely and reach base.

Factors That Affect Your Results

Several outside forces shape the ERA a pitcher posts in a given season, and none of them show up in the formula itself.

Defense quality

A weak defense creates errors-turned-earned-runs ambiguity, leaving a pitcher with a higher ERA than their pitching deserved.

Ballpark and league

Hitter-friendly parks and high-scoring eras raise typical ERAs, so the same number means different things in different contexts.

Sample size

A few innings make each earned run expensive, so a reliever's ERA swings far more than a starter's over a short stretch.

Relief vs starting role

Relievers face concentrated high-leverage spots with smaller denominators, producing noisier ERAs than starters.

  • ERA credits the pitcher for every earned run regardless of how it scored, so a bloop single and a 450-foot homer count the same.
  • ERA depends on official scorer judgment for earned versus unearned, and scorers disagree on borderline errors, which adds noise the formula cannot remove.
  • Because ERA is a rate, it rewards pitchers who strand inherited runners, so a reliever who enters with two on and allows one to score can post a clean line despite the damage.

According to Baseball-Reference, Baseball-Reference documents that only earned runs count toward ERA and that runs scored because of errors or passed balls are excluded.

According to Wikipedia, Wikipedia summarizes ERA as (earned runs / innings pitched) x 9 and notes it is the oldest and most referenced pitching statistic.

To fold ERA into total seasonal value, our WAR calculator estimates how many wins a pitcher is worth across the year.

Earned run average calculator showing pitcher ERA from earned runs and innings pitched with quality bands
Earned run average calculator showing pitcher ERA from earned runs and innings pitched with quality bands

Frequently Asked Questions

Q: What is a good earned run average in baseball?

A: In the modern major-league run environment an ERA at or below 2.90 is elite, roughly 2.91 to 3.75 is above average, 3.76 to 4.30 is about league average, and anything above 4.30 is below average. These bands shift in lower levels of play where run scoring is higher.

Q: How do you calculate earned run average?

A: Divide the earned runs a pitcher allowed by the innings they pitched, then multiply by nine: ERA = (earned runs / innings pitched) x 9. The x 9 scales the result to a familiar per-nine-innings rate.

Q: Do unearned runs count against ERA?

A: No. Only earned runs count toward ERA. A run is unearned, and removed from ERA, when it would not have scored without a fielding error or a passed ball. If the inning would have ended on the error, every later run is also unearned.

Q: How do partial innings like 6.2 affect ERA?

A: Baseball scores innings in thirds, so 6.1 means 6 and one-third innings and 6.2 means 6 and two-thirds. The calculator converts .1 to 1/3 of an inning and .2 to 2/3 before dividing, so 6.2 innings becomes 6.667 in the math.

Q: Is ERA the same as runs allowed?

A: No. ERA counts only earned runs, while runs allowed includes every run that scored while the pitcher was in the game. Unearned runs, and runs from errors or passed balls, inflate runs allowed but not ERA.

Q: Why can a reliever post a high ERA from one bad outing?

A: ERA divides earned runs by innings, so a reliever who allows five earned runs in a single inning has thrown one inning for an ERA of 45.00 for that appearance. Small innings totals make each run very expensive, which is why reliever ERAs swing more than starter ERAs.