TL;DR: The definitive ERA Calculator instantly computes Earned Run Average (ERA) for 9-inning baseball (MLB, NCAA, NFHS) and 7-inning softball/youth leagues. It correctly handles partial innings, provides multi-game logging, supports inverse goal setting, and cites official scoring rules.

ERA uses earned runs (ER), not total runs, meaning the result depends entirely on the official scorer’s judgment of errors, passed balls, and inherited runners. Results round to two decimal places by default and may differ slightly based on specific league rules (e.g., OBR, NCAA, USA Softball).

  1. Choose – or -inning mode (default is ).

  2. Enter total Innings Pitched (IP) using either decimals (e.g., for and IP) or the innings + outs picker.

  3. Enter total Earned Runs (ER) allowed by the pitcher.

  4. Review the final ERA, which is rounded to two decimal places.

  5. Export or share the results via PDF, Copy to clipboard, or a shareable link.

Earned Run Average Calculator

Compute a pitcher's ERA for games of any length.

Welcome to the most complete and rules-aware ERA Calculator available online. Whether you are a coach tracking your starter’s progress in MLB, a parent scorekeeping a 7-inning Little League game, or a fantasy analyst projecting a reliever’s performance, this tool provides instant, accurate ERA computation.

Our calculator supports the official 9-inning standard (MLB, NCAA) and the 7-inning format (Softball, Youth Leagues) and handles the complexities of decimal innings, multi-game logs, and performance projections.

The crucial distinction: ERA relies on Earned Runs (ER), which requires the official scorer to judge the impact of errors and passed balls. This calculator is an accurate computational tool, but the final official ERA is always based on the scorer’s ruling.

Curious about the age gap between you and a friend, partner, or celebrity? Find out instantly with our age difference calculator.

How the ERA Formula Works (OBR Compliant)

The Earned Run Average (ERA) is a statistical measure of a pitcher’s effectiveness. It quantifies the number of earned runs a pitcher allows per regulation game length. It normalizes performance so that a pitcher who throws 10 innings can be compared fairly to one who throws 100 innings.

The Core ERA Formula

The standard formula for calculating ERA is:

image of era formula
  • Earned Runs (ER): The total number of runs officially charged against the pitcher (as opposed to being unearned due to errors).
  • Game Innings (GI): The regulation length of a full game, typically 9 (MLB, NCAA Baseball) or 7 (Softball, NCAA/NFHS in some cases, many youth leagues). Our calculator automatically adjusts GI based on your selection.
  • Innings Pitched (IP): The total number of innings (including fractional innings) the pitcher completed.

Entering Innings Pitched: Decimal IP vs. Outs

The most common source of error when calculating ERA manually is handling fractional innings. A full inning equals three outs.

Outs PitchedFractional Innings (IP)Decimal Value (for Formula)
1 out1/3 inning (e.g., 6.1)0.333
2 outs2/3 inning (e.g., 6.2)0.667

Crucially, in scorekeeping notation, and innings is written as , not the decimal .

  • The Problem: Entering “” into a basic calculator will result in a value of and innings, which is incorrect for ERA.

  • Our Solution: Our calculator allows you to enter total Innings Pitched in the or format or via an innings + outs picker. It automatically performs the correct conversion (e.g., IP and outs ) to the precise decimal value needed for the ERA formula.

Rounding Rules and Precision

Official league statistics (MLB, NCAA, NFHS) round ERA to two decimal places (e.g., ). This is the default setting for our calculator. We also provide a toggle to show , , or decimal places for contexts that require higher precision (e.g., advanced research or statistical analysis).

Try our Dunk Calculator to discover how high you need to jump to touch the rim, perform a clean
dunk or throw down a 360° windmill.

Earned vs. Unearned Runs: The Scorer's Ruling (OBR 9.16 & League Rules)

The calculation is only as accurate as the Earned Runs (ER) input. ERA measures pitching performance, so runs that score due to a fielding mistake are typically deemed unearned and do not count against the pitcher’s ERA.

Errors, Passed Balls, and Fielder's Choice

Citing Authority: MLB Official Baseball Rule 9.16 (Earned Runs) dictates that a run is earned if it scores without a fielding error (including catcher’s errors), passed ball, or obstruction.

The official scorer must reconstruct the inning, assuming no errors occurred, to determine if the run still would have scored. For instance, if a third out should have been made but a fielder commits a mistake, all runs scored after that point are unearned.

ScenarioExampleER Classification
Fielding ErrorA run scores after the first baseman drops a routine throw.Unearned (The pitcher is not charged if the run scored solely due to the error.)
Passed BallA run scores on a passed ball (poor catch by the catcher).Unearned (The run is charged to the catcher/defense, not the pitcher.)
Clean HitThe runner reaches via a clean single and later scores on a double.Earned (Pitcher is charged with the run.)

Inherited Runners Liability

The rule for inherited runners is crucial for accurately tracking a relief pitcher’s ERA:

  • A relief pitcher is only responsible for the runners they put on base.
  • If a reliever enters the game with runners on base (inherited runners), and those runners score, the runs are charged to the previous pitcher, even if the reliever allowed the hit or walk that drove them in.

This rule is consistent across MLB, NCAA, and NFHS, ensuring that a reliever is not penalized for the performance of the pitcher they replaced.

Using the ERA Calculator: Advanced Features

Our calculator goes beyond a basic formula to provide advanced utility tailored for coaches, analysts, and scorekeepers.

Standard Mode: Single Outing or Season Totals

The simplest use is entering a pitcher’s total ER and IP for the season or a single game.

  • 9 vs 7 Innings Toggle: Always confirm the correct setting based on your league:

    • 9 Innings: MLB, MiLB, most NCAA, and advanced amateur baseball.

    • 7 Innings: NCAA Softball, USA Softball, most Little League/Youth, and some high school leagues.

Logs & Projections: Cumulative ERA and "What If"

  • Game Log Aggregation: The Add Game Log feature allows you to input and for multiple appearances. The calculator aggregates the totals automatically, providing your precise cumulative season ERA.

  • Projection Tool (“What If”): Use the projection feature to input potential and for the next outing. The tool instantly shows how this performance will affect the pitcher’s current season ERA—a powerful feature for target setting and assessing impact.

Inverse ERA Calculator: Target ERA → Required IP/ER

Unique to our tool, the Inverse Mode lets you input a target ERA (e.g., ) and a known total for or . It then calculates the minimum required or the maximum allowed to achieve that goal.

  • Example: If a pitcher has allowed ER and wants a ERA, the inverse calculator tells you they need to pitch at least IP to reach that target.

Using the ERA Calculator Advanced Features visual selection

Interpreting Your ERA Result

ERA is a foundational statistic, but it should be viewed in context. League environment, park factors, and defensive quality all impact a pitcher’s ERA.

Related Pitching Metrics

While ERA is essential, other metrics offer a fuller picture of a pitcher’s contribution:

  • RA/9 (Runs Allowed per 9 Innings): This is calculated the same as ERA but uses all runs (earned and unearned). It can better reflect the impact of the team’s defensive performance behind the pitcher. [RA/9 Explainer]

  • WHIP (Walks plus Hits per Innings Pitched): Measures baserunners allowed. It’s a key indicator of traffic on the bases. [WHIP Calculator]

  • FIP (Fielding Independent Pitching): Estimates ERA based only on outcomes the pitcher fully controls (Home Runs, Strikeouts, and Walks). It removes the variability of defense and luck. [FIP Calculator]

Worked Examples & Case Studies

ScenarioGame Innings (GI)Earned Runs (ER)Innings Pitched (IP)CalculationResulting ERA
MLB Starter936 and 2/3 (6.667)(3×9)/6.6674.05
Softball Pitcher717 (Complete Game)(1×7)/71
Relief Appearance901 and 1/3 (1.333)(0×9)/1.3330

FAQs: ERA Formula, Rules, and Use

ERA is calculated by multiplying the pitcher's total Earned Runs (ER) by the Game Innings (GI) (usually 9 or 7) and then dividing by the Innings Pitched (IP). The formula is ERA=(ER×GI)/IP.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

You can enter it as 6 and 2 outs in the picker, or as the decimal 6.2 in the IP field, which our calculator converts to the precise value of 6.667 for the calculation.

 
 
 

An Earned Run (ER) would have scored even without a fielding error, passed ball, or catcher's obstruction, as determined by the official scorer (OBR 9.16). Unearned Runs are those that score solely due to a defensive or scoring error.

 
 
 

9 innings is the standard for MLB, most NCAA, and professional leagues. 7 innings is the standard for fastpitch softball, many youth leagues (like Little League Juniors), and high school baseball in some states. Use the toggle to select your league's regulation length.

 
 
 

No. If a relief pitcher allows a runner to score who was already on base when they entered the game (an inherited runner), that run is charged to the previous pitcher, even if the run was earned.

 
 
 

ERA measures actual performance including defense, while FIP (Fielding Independent Pitching) is a projection that removes the impact of defense and luck, focusing only on walks, strikeouts, and home runs. Analysts often use both. [FIP Calculator]

 
 
 

Official statistics are final and based on the official scorer's ruling for every earned run. Differences often arise from minor rounding variations or an error in classifying an unearned run.

 
 
 

Use the Add Game Log feature in our calculator. Simply input the ER and IP for each appearance, and the tool will total the statistics to provide your cumulative ERA.

 
 
 

In MLB, an ERA below 3.00 is elite, below 4.00 is very good, and above 5.00 is usually considered poor for a starting pitcher. Benchmarks vary significantly between 9-inning professional and 7-inning youth/softball leagues.

 
 
 

Yes. Simply use your total Runs Allowed (earned + unearned) in the Earned Runs (ER) input field to compute your Runs Allowed per 9 Innings (RA/9) instead of ERA.

 
 
 

Privacy & Disclaimer

All calculations are performed in-browser; no personal data or log entries are ever transmitted or stored on our servers, ensuring complete privacy. Use the Print Result or Copy Result buttons to easily save or share your calculation dataoption for your season logs.

This calculator is for informational and educational purposes only. Its accuracy depends on the user correctly classifying the total Earned Runs (ER) according to their league’s specific rule set (e.g., OBR, NCAA, NFHS). The calculator results are estimates and are not affiliated with or endorsed by MLB, NCAA, NFHS, Little League, or USA Softball.

Scroll to Top