ERA Calculator
Calculate Earned Run Average for baseball pitchers using U.S. standard 9 innings.
ERA Calculator
Our ERA Calculator helps baseball players, coaches, parents, and fans quickly calculate a pitcher’s Earned Run Average (ERA). ERA is one of the most widely used pitching stats in baseball because it shows how many earned runs a pitcher allows over a standard game. In the United States, ERA is normally calculated over 9 innings, which matches the standard length of a professional baseball game.

What is ERA in baseball?
ERA stands for Earned Run Average. It measures the average number of earned runs a pitcher gives up per game. A lower ERA usually means better pitching performance. Earned runs are runs the pitcher is responsible for that are not caused by defensive errors or passed balls.
ERA formula
The formula for ERA is:
ERA = (Earned Runs × Game Innings) ÷ Innings Pitched
For most U.S. baseball use cases, game innings are set to 9. Some leagues and softball formats may use different game lengths, so a flexible calculator should allow users to change that value.
How to use this ERA calculator
Enter the total earned runs allowed, then enter innings pitched. If your league uses a different game length, update the innings-per-game field. After that, click calculate to get the pitcher’s ERA instantly. Many baseball tools also support partial innings such as one out or two outs, often represented as 0.1 / 0.2 or .33 / .67, so it is helpful to guide users on accepted formats.
Why this calculator is useful
This calculator is helpful for:
- baseball players tracking performance
- coaches comparing pitchers
- parents following youth baseball stats
- fans reviewing pitching efficiency
- leagues using custom game lengths
FAQ
What is a good ERA?
A lower ERA is generally better because it means fewer earned runs allowed. The exact benchmark depends on league level, age group, and competition.
Does ERA include unearned runs?
No. ERA only includes earned runs. Unearned runs caused by errors or passed balls are excluded.
Why does innings pitched matter?
ERA is normalized by innings pitched, which makes it easier to compare pitchers who have thrown different workloads.
What this calculator does
ERA — earned run average — is the classic statistic for measuring a baseball pitcher's effectiveness. It tells you how many earned runs a pitcher would allow over a full nine-inning game. This calculator works out a pitcher's ERA from earned runs and innings pitched, so you can compare pitchers fairly even with very different innings totals.
How to use it
- Enter the number of earned runs the pitcher has allowed.
- Enter innings pitched, including partial innings — one out is a third of an inning, so 5.1 means 5 innings and 1 out.
- Read the ERA, shown to two decimal places.
- Compare it with the league average, usually around 4.00 to 4.50 in the modern game.
- Enter a different pitcher's numbers to compare the two directly.
How it works
The formula is:
ERA = (earned runs × 9) ÷ innings pitched
Multiplying by 9 scales the result to a full game, which makes ERA comparable between a starter who throws 200 innings and a reliever who throws 60. Only earned runs count: a run that scores because of a fielding error is unearned and excluded. A lower ERA is better. An ERA under 3.00 is excellent, around 4.00 is average, and above 5.00 is poor. ERA is not perfect — it depends on the defence behind the pitcher and on ballpark effects — but it remains the most widely used single number for judging a pitcher.
Example
A pitcher allows 27 earned runs in 162 innings pitched. ERA = (27 × 9) ÷ 162 = 243 ÷ 162 = 1.50. That is an outstanding ERA. A second pitcher allows 54 earned runs in 180 innings: ERA = (54 × 9) ÷ 180 = 486 ÷ 180 = 2.70. He allowed twice as many runs but pitched more innings, and the ERA shows the first pitcher was still clearly better — 1.50 against 2.70.
Frequently asked questions
What is the difference between earned and unearned runs? An earned run scores without a fielding error or a passed ball. If an error lets a runner reach base and he later scores, that run is unearned and does not count against the pitcher's ERA.
What is a good ERA? In modern Major League Baseball, under 3.00 is excellent, 3.00 to 4.00 is good, around 4.00 to 4.50 is average, and above 5.00 is poor.
Can ERA be zero? Yes. A pitcher who has not allowed any earned runs has an ERA of 0.00, however many innings he has pitched.