Calculators.Life Calculator
Statistics

Baseball ERA Calculator

Input Parameters

Scenarios
Total number of earned runs conceded by the pitcher.
Baseball notation allowed: e.g. 7.1 represents 7 1/3 innings (1 out), 7.2 represents 7 2/3 innings (2 outs).
Number of regulation innings per game for your league.

Computed Results

Earned Run Average (ERA)
1.35
Outs Recorded540
Exact Decimal Innings180
Earned Runs Per Inning (ER/IP)0.15

The baseball ERA calculator determines a pitcher's Earned Run Average, which represents the average number of earned runs they would allow over a full regulation game. By entering earned runs, innings pitched, and game length, you can evaluate pitching performance across different leagues and formats.

Practical Use Cases

Earned Run Average (ERA) is a fundamental pitching statistic used at all levels of baseball. This calculator is useful for evaluating performance in various contexts:

How to Use the Calculator

Follow these steps to calculate a pitcher's ERA:

  1. Earned Runs Allowed: Enter the total number of earned runs the pitcher has conceded. Do not include unearned runs resulting from errors or passed balls.
  2. Innings Pitched (IP): Input the total innings pitched. Use standard baseball notation for partial innings: enter .1 for one out (1/3 of an inning) and .2 for two outs (2/3 of an inning).
  3. Game Length (Innings): Select the regulation game length for your specific league (e.g., 9 for MLB/College, 7 for High School, 6 for Youth).

Formula & Explanation

The Earned Run Average is calculated by multiplying the earned runs by the regulation game length, then dividing that result by the total innings pitched.

ERA = (Earned Runs × Regulation Game Length) ÷ Innings Pitched

Because baseball uses a base-3 system for outs, partial innings must be converted to exact decimals before calculating. One out (0.1) equals 1/3 of an inning (0.333), and two outs (0.2) equals 2/3 of an inning (0.667). The calculator automatically handles this conversion.

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different pitching scenarios:

Dominant Relief Pitcher Short Stint

A relief pitcher throws 2.1 innings (2 innings and 1 out) in a 9-inning game format, allowing 0 earned runs. The calculator converts 2.1 innings to 2.333 exact decimal innings. The resulting ERA is 0, with 7 total outs recorded.

High School Game Length Seven Innings

In a high school league with 7-inning games, a pitcher allows 4 earned runs over 6.2 innings (6 innings and 2 outs). The 6.2 innings convert to 6.667 decimal innings. The calculated ERA is 4.20, with 20 total outs recorded.

Struggling Starter Full Season Volume

A starting pitcher in a 9-inning league allows 115 earned runs over 190.0 innings. The calculator determines an ERA of 5.45, with 570 total outs recorded and an average of 0.605 earned runs per inning.

Youth League Six Inning Game

In a youth league playing 6-inning games, a pitcher allows 8 earned runs in exactly 5.0 innings. The resulting ERA is 9.60, with 15 total outs recorded.

Inputs & Outputs

FieldTypeDescription
Earned Runs AllowedInputTotal number of earned runs conceded by the pitcher.
Innings Pitched (IP)InputBaseball notation allowed: e.g. 7.1 represents 7 1/3 innings (1 out), 7.2 represents 7 2/3 innings (2 outs).
Game Length (Innings)InputNumber of regulation innings per game for your league.
Earned Run Average (ERA)OutputThe calculated average number of earned runs allowed per regulation game.
Outs RecordedOutputThe total number of outs the pitcher recorded based on the innings pitched.
Exact Decimal InningsOutputThe innings pitched converted to a standard decimal format for calculation.
Earned Runs Per Inning (ER/IP)OutputThe average number of earned runs allowed per single inning pitched.

Frequently Asked Questions

How do I enter partial innings?

Use standard baseball notation. Enter .1 for one out (which is 1/3 of an inning) and .2 for two outs (which is 2/3 of an inning). The calculator will automatically convert these to the correct decimal values for the formula.

Why do I need to select the game length?

ERA represents the number of earned runs a pitcher would allow over a full regulation game. Since regulation games are 9 innings in professional baseball, 7 innings in high school, and often 6 innings in youth leagues, the formula must use the correct game length to provide an accurate average for that specific level of play.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.