TSE.
MathematicsFinanceHealthPhysicsEngineeringSportsBrowse all

Sports & Gaming · Statistics · Descriptive Statistics

Earned Run Average (ERA) Calculator

Calculate a pitcher's Earned Run Average (ERA) from earned runs allowed and innings pitched over any period.

Calculator

Advertisement

Formula

ERA equals the number of earned runs allowed divided by total innings pitched, multiplied by 9. This normalizes the statistic to a full 9-inning game. Earned Runs are runs scored without the aid of errors or passed balls. Innings Pitched can include fractional innings (e.g., 6.1 means 6 full innings plus 1 out).

Source: MLB Official Baseball Rules, Rule 9.16 — Earned Runs and Earned Run Average. Major League Baseball, 2023.

How it works

ERA is calculated by dividing a pitcher's total earned runs allowed by the number of innings pitched, then multiplying by 9 (or however many innings constitute a full game at the level of play). This scales the rate to a full game so pitchers with different workloads can be compared fairly. An earned run is any run that scores without the aid of a defensive error or passed ball, as determined by the official scorer.

Innings Pitched in baseball are recorded using a scoring notation where the decimal digit represents thirds of an inning: 6.1 means 6 full innings and 1 out (6⅓ innings), and 6.2 means 6 full innings and 2 outs (6⅔ innings). This calculator automatically converts that notation to a true decimal before computing ERA, ensuring accuracy. For example, 150.1 innings pitched = (150 × 3 + 1) / 3 = 150.333… true innings.

ERA is used across professional scouting, fantasy baseball, contract negotiations, Hall of Fame debates, and academic sports analytics. A lower ERA indicates better performance. Historically, an ERA below 3.00 is considered excellent in MLB, 3.00–4.00 is above average, 4.00–5.00 is average, and above 5.00 is below average. The all-time MLB career ERA leader is Ed Walsh at 1.816.

Worked example

Example: A starting pitcher has allowed 72 earned runs over 180.2 innings pitched in a season. What is their ERA?

Step 1 — Convert innings pitched to true decimal:
180.2 means 180 full innings and 2 outs.
Total outs = (180 × 3) + 2 = 542 outs
True innings = 542 / 3 = 180.667 innings

Step 2 — Apply the ERA formula:
ERA = (Earned Runs / True IP) × 9
ERA = (72 / 180.667) × 9
ERA = 0.39853 × 9
ERA = 3.59

This ERA of 3.59 places the pitcher comfortably in the above-average range for a modern MLB starter. For context, the league-average ERA in recent MLB seasons has hovered around 4.00–4.30.

Limitations & notes

ERA has well-documented limitations as a pitching metric. It does not account for the quality of the defense behind the pitcher — a pitcher on a team with poor defenders will tend to have a higher ERA through no fault of their own. ERA also depends heavily on park factors; pitching in a hitter-friendly ballpark inflates ERA relative to a pitcher's-park counterpart. Small sample sizes are unreliable: a pitcher with fewer than 50 innings pitched will have high ERA variance. ERA does not credit relievers and closers who inherit runners that score, as those runs are charged to the pitcher who allowed the baserunner. For a more defense- and luck-independent assessment, analysts often prefer FIP (Fielding Independent Pitching) or xFIP. This calculator uses the standard 9-inning MLB game by default; adjust the Innings Per Game field for other league formats (e.g., 7-inning doubleheader games).

Frequently asked questions

What is a good ERA in MLB?

In the modern MLB era, an ERA below 3.00 is considered excellent and ace-level, 3.00–3.75 is very good, 3.75–4.50 is average to slightly above average, and an ERA above 5.00 is generally below average. These benchmarks shift slightly depending on the era of baseball and the overall run environment of a given season.

Why does baseball use 9 in the ERA formula instead of 1?

The ERA formula multiplies by 9 to express the rate as 'earned runs per 9 innings,' which is equivalent to a full regulation game in MLB. This makes ERA intuitively meaningful: an ERA of 3.50 means the pitcher allows 3.50 earned runs per complete game on average. Expressing it as a raw per-inning rate (0.389) would be less intuitive for most fans.

How do I enter innings pitched with partial innings?

Enter innings pitched using standard baseball notation: the digit after the decimal represents outs recorded in the incomplete inning, not tenths of an inning. So 6.1 means 6 innings and 1 out (6⅓ innings), and 6.2 means 6 innings and 2 outs (6⅔ innings). You cannot enter .3 or higher for the fractional part because there are only 3 outs in an inning. This calculator automatically converts the notation to a true decimal.

What is the difference between ERA and FIP?

ERA measures actual earned runs allowed and is influenced by defense and sequencing luck. FIP (Fielding Independent Pitching) is a formula developed by Tom Tango that uses only strikeouts, walks, hit batters, and home runs — outcomes the pitcher controls directly — and scales the result to look like ERA. FIP is widely considered a better predictor of future ERA than current ERA itself, while ERA better reflects actual results to date.

Can ERA be calculated for relievers and closers?

Yes. ERA is calculated identically for relievers and starters. However, ERA is considered less reliable for pitchers with very low innings totals because small sample sizes produce high statistical variance. A reliever who pitches 20 innings and allows 2 earned runs has a 0.90 ERA, but this may not reflect their true skill level. Most analysts consider ERA meaningful only after approximately 50 or more innings pitched.

What is the all-time lowest career ERA in MLB history?

Ed Walsh holds the all-time lowest career ERA in MLB history at 1.816, recorded during his career from 1904 to 1917 with the Chicago White Sox. However, comparisons across eras are complicated by differences in era run environments, pitching mound height, and other factors. Among modern pitchers, Clayton Kershaw's career ERA has consistently ranked among the lowest of any active pitcher.

Does ERA include unearned runs?

No. ERA specifically excludes unearned runs — runs that score as a result of defensive errors or passed balls. Only earned runs, those scored through normal offensive means, count toward ERA. The official scorer determines which runs are earned and which are unearned. This is why a pitcher can allow many runs in a game with poor defense but still record a low ERA for that outing.

Last updated: 2025-01-30 · Formula verified against primary sources.