calculatortoolshub
Runs on your device

ERA Calculator

Instantly calculate any pitcher's Earned Run Average (ERA) with our free tool.

Your inputs

Inputs stay on your device.

Your result
4.50

earned run average (era)

Mathematical Innings (IP): 6.00

View breakdown
Mathematical Innings (IP) 6.00
Total Outs Recorded 18
Earned Runs per Inning 0.500

What the Pitching ERA Calculator Computes

The ERA (Earned Run Average) calculator computes a baseball or softball pitcher's official Earned Run Average across 9-inning (MLB/NCAA baseball), 7-inning (high school baseball and fastpitch softball), or 6-inning (Little League) regulation games. By separating Full Innings Pitched from Additional Outs (0, 1 for .1 = 1/3 inning, or 2 for .2 = 2/3 inning), it converts baseball shorthand notation into exact fractional innings (IP), Total Outs Recorded, and Earned Runs per Inning.

In baseball box scores, innings pitched are written in base-3 shorthand: 6.1 IP means 6 full innings plus 1 out (6 1/3 = 6.3333 innings), and 6.2 IP means 6 full innings plus 2 outs (6 2/3 = 6.6667 innings). Typing 6.1 directly into a standard calculator divides by 6.10 instead of 6.3333, distorting the pitcher's ERA.

Because this calculator provides a dedicated Additional Outs (0, 1, or 2) field alongside Full Innings Pitched, it always divides by the exact mathematical fraction Full Innings + (Outs ÷ 3).

Also tracking offensive stats for your roster? Compute Batting Average (.000), On-Base Percentage (OBP), and Plate Appearances in the Batting Average Calculator.

Common use cases

  • Baseball Box-Score .1 & .2 ConversionEliminate the classic mistake of dividing by 6.1 instead of 6.3333 when a pitcher records 6 innings and 1 out.
  • 7-Inning High School & Softball ERAChange Regulation Innings from 9 to 7 (or 6 for Little League) so ERA scales accurately to your league's game length.
  • Single-Game & Season ERA TrackingCheck single-appearance ERA (such as a 6.0 IP, 3 ER quality start = 4.50 ERA) or cumulative season totals.
  • Zero-Inning Infinite ERA HandlingProperly flags when a pitcher allows earned runs without recording a single out (0.0 IP, ER > 0 ⇒ INF).

How the Official Earned Run Average Formula Works

Under Official Baseball Rule 9.16, Earned Run Average equals total earned runs multiplied by the number of innings in a regulation game (9 for MLB/college baseball, 7 for softball/high school, 6 for youth), divided by total fractional innings pitched.

Mathematical Innings (IP) = Full Innings + (Additional Outs ÷ 3); Total Outs = (Full Innings × 3) + Additional Outs; ERA = (Earned Runs × Regulation Innings) ÷ Mathematical Innings
  • Earned Runs (ER): Runs scored against the pitcher without the aid of fielding errors or passed balls.
  • Full Innings Pitched: Complete 3-out innings recorded by the pitcher (0, 1, 2...).
  • Additional Outs (0, 1, or 2): Partial-inning outs beyond the last full inning (1 out = 1/3 inning, 2 outs = 2/3 inning).
  • Regulation Game Innings: Standard game length for your league (9 for MLB/NCAA baseball, 7 for fastpitch softball & NFHS high school, 6 for Little League).

An algebraically identical way to compute ERA without decimals is the Total Outs formula: ERA = (Earned Runs × Regulation Innings × 3) ÷ Total Outs Recorded. For a 9-inning game, that simplifies to ERA = (Earned Runs × 27) ÷ Total Outs.

Walk through the MLB Ace preset (52 ER in 195 full innings plus 2 outs over a 9-inning scale): Total Outs = (195 × 3) + 2 = 587 outs (195.67 mathematical innings), giving ERA = (52 × 27) ÷ 587 = 1,404 ÷ 587 = 2.39.

According to Major League Baseball (MLB Standard Stats Glossary — Earned Run Average), Earned Run Average (ERA) represents the number of earned runs a pitcher allows per nine innings (9 × Earned Runs ÷ Innings Pitched), where each out recorded counts as one-third of an inning.

Want to see how 1/3 and 2/3 fractional innings add across multiple box scores? Sum mixed fractions in the exact fraction arithmetic solver.

How to Calculate Pitching ERA Accurately

Take your Earned Runs (ER) and Innings Pitched (IP) from your scorebook or GameChanger app.

  1. Enter Earned Runs (ER) and Full Innings Pitched: Type the whole-number Earned Runs allowed and the whole number before the decimal point of Innings Pitched (e.g., 6 for 6.2 IP).
  2. Set Additional Outs (0, 1, or 2) and Regulation Innings: Select 0, 1 (.1), or 2 (.2) in the Additional Outs dropdown and choose your league's Regulation Game Innings (9, 7, or 6).
  3. Read ERA, Mathematical Innings, and Total Outs: Check your 2-decimal-place ERA at the top and open the breakdown drawer to inspect Mathematical Innings (6.67), Total Outs Recorded (20), and Earned Runs per Inning.

If a high school fastpitch softball pitcher allows 18 Earned Runs across 64.2 Innings Pitched in a 7-inning league, enter Earned Runs = 18, Full Innings = 64, Additional Outs = 2, and Regulation Innings = 7. Mathematical Innings = 64.67 (194 outs), yielding an ERA of 1.95 (0.278 runs per inning).

Worked numerical examples

MLB Ace Starter (52 ER in 195.2 IP · 9 Inn)

(52 × 9) ÷ (195 + 2/3) = 468 ÷ 195.667

Result2.39 ERA (587 total outs)
Quality Start (2 ER in 6.1 IP · 9 Inn)

(2 × 9) ÷ (6 + 1/3) = 18 ÷ 6.333

Result2.84 ERA (19 total outs)
HS / Fastpitch Softball (18 ER in 64.2 IP · 7 Inn)

(18 × 7) ÷ (64 + 2/3) = 126 ÷ 64.667

Result1.95 ERA (194 total outs)
ERA Calculator Benchmark Scenarios (Earned Run Average (ERA) · Total Innings (Decimal) · Total Outs Recorded)
ERA Calculator Benchmark Scenarios (Earned Run Average (ERA) · Total Innings (Decimal) · Total Outs Recorded)
ScenarioEarned Run Average (ERA)Total Innings (Decimal)Total Outs Recorded
Dominant Relief Stint (4 ER in 28.1 IP · 9-Inn MLB)1.2728.33385
Cy Young Contender (52 ER in 195.2 IP · 9-Inn MLB)2.39195.667587
Single Quality Start (3 ER in 6.0 IP · 9-Inn MLB)4.5618
MLB League Average (82 ER in 180.0 IP · 9-Inn MLB)4.1180540
High School / Softball (18 ER in 64.2 IP · 7-Inn Game)1.9564.667194
Youth Little League (12 ER in 32.1 IP · 6-Inn Game)2.2332.33397

Earned vs. Unearned Runs and League Game-Length Scaling

Understanding how official scorers reconstruct an inning for errors and why 7-inning leagues use a 7-inning multiplier keeps pitching stats accurate.

Earned vs. Unearned Runs (Rule 9.16)

To determine earned runs, the official scorer reconstructs the half-inning as if zero fielding errors or passed balls had occurred; any run that would not have scored in the error-free reconstruction is unearned.

Inherited Runners & Reliever Responsibility

When a relief pitcher enters mid-inning with runners already on base, any existing baserunner who scores is charged to the prior pitcher who put them on base, not to the reliever.

Quality Start (QS) Benchmark (4.50 ERA)

A starting pitcher records a Quality Start by completing at least 6.0 innings while allowing 3 or fewer earned runs—which corresponds to a single-game ERA of 4.50 or better.

9-Inning vs. 7-Inning Normalization

In 7-inning NFHS high school baseball and NCAA/high school fastpitch softball, multiplying by 7 instead of 9 expresses ERA as earned runs allowed per complete 7-inning game.

Why Separate Outs and Regulation-Inning Controls Matter

Built-in base-3 out conversion and game-length scaling prevent the two most common pitching calculation errors.

  • True Base-3 Fractional Innings: Automatically converts 1 out to 0.3333... innings and 2 outs to 0.6667... innings before dividing.
  • MLB, Softball & Youth Game Lengths: Supports 9-inning MLB/college, 7-inning high school/softball, and 6-inning Little League regulation scales.
  • Total Outs & Per-Inning Breakdown: Displays Total Outs Recorded (Full Innings × 3 + Outs) and Earned Runs per Single Inning.
  • Zero-Out Infinity Detection: Correctly handles 0.0 IP appearances without crashing, displaying 0.00 for 0 ER and INF when ER > 0.

Coaches tracking pitch efficiency can divide a pitcher's total pitch count by the Total Outs Recorded output in the breakdown drawer to see pitches per out (4.5 to 5.0 pitches per out is elite).

Multi-sport athletes tracking performance metrics across seasons can also compute official WHS Course Handicap indices in the Golf Handicap Calculator.

Official Scoring Factors That Impact a Pitcher's ERA

Review these Rule 9.16 scorer interpretations when auditing earned versus unearned runs.

  • Two-Out Error Inning Extensions: If a defensive error occurs on what would have been the third out of an inning, every subsequent run scored in that half-inning (even on a home run) is unearned.
  • Wild Pitches vs. Passed Balls: A runner advancing or scoring on a wild pitch (WP) counts toward Earned Runs, whereas a runner advancing because of a catcher's passed ball (PB) is treated like an error for reconstruction.
  • Extra-Inning Automatic Runner (Ghost Runner): Under current MLB and international extra-inning rules, the automatic runner placed on second base to start the 10th inning is scored as an unearned run if they score.
  • Measures Earned Run Average (ERA) only; to evaluate walks and hits allowed per inning regardless of sequencing, calculate WHIP = (Walks + Hits) ÷ Mathematical Innings.
  • Additional Outs must be 0, 1, or 2 (since 3 outs equal 1 full inning).

To evaluate your hitters' offensive production alongside your pitching staff, switch to our batting average and OBP calculator.

According to NCAA (Baseball and Softball Statisticians' Manual — Earned Run Rules), earned runs exclude any run that scores due to defensive errors, passed balls, or after the third out would have been recorded in an error-free reconstruction of the inning.

Browse our athletic rating and performance tools hub for additional baseball, football, basketball, golf, and pickleball calculators.

Frequently asked questions

How do you calculate ERA in baseball?

Multiply the pitcher's Earned Runs (ER) by 9 (for a 9-inning game) and divide by their exact Innings Pitched (IP, where .1 = 1/3 and .2 = 2/3). Equivalently, multiply Earned Runs by 27 and divide by Total Outs Recorded.

Why can't I divide by 6.1 or 6.2 directly when calculating ERA?

In baseball box scores, .1 means 1 out (1/3 = 0.3333 of an inning) and .2 means 2 outs (2/3 = 0.6667 of an inning). Dividing by 6.1 or 6.2 treats outs as tenths of an inning instead of thirds, which makes the calculated ERA artificially high.

How do I calculate ERA for 7-inning high school baseball or fastpitch softball?

Select 7 Innings (High School / Softball) in the Regulation Game Innings dropdown directly in the form. The formula becomes (Earned Runs × 7) ÷ Innings Pitched, which measures earned runs allowed per complete 7-inning game.

What is the difference between an earned run and an unearned run?

An earned run is any run that scores against a pitcher without the benefit of a defensive fielding error or a catcher's passed ball. If an error extends an inning past what would have been the third out, all runs scored after that point in the inning are unearned and do not count toward ERA.

What is a Quality Start in baseball and what ERA does it equal?

A Quality Start (QS) is awarded when a starting pitcher pitches at least 6.0 full innings and allows 3 or fewer earned runs. Allowing exactly 3 earned runs in 6.0 innings equals a 4.50 single-game ERA.

What is a pitcher's ERA if they allow runs without getting an out (0.0 IP)?

If a pitcher allows 1 or more earned runs while recording 0 outs (0.0 IP), their single-game ERA is mathematically undefined/infinite (∞, written INF in box scores) until they record at least one out in a subsequent appearance.

Ready to use

Loading tools…