ERA Calculator
A starter who allows 62 earned runs over 182.1 innings posts a 3.06 ERA. The .1 in 182.1 means one out, so the true denominator is 182.333 innings, and 9 x 62 divided by 182.333 gives 3.06 earned runs per nine-inning game. The same math on a 145.2-inning softball season with 28 earned runs lands on 1.73.
| Innings as entered | |
| Total outs | |
| Innings in decimals | |
| Earned runs per game (chosen length) | |
| ERA (9-inning game) | |
| ERA7 (7-inning game) | |
| ERA6 (6-inning game) | |
| Earned runs per inning | |
Formula: ERA = 9 x earned runs / innings pitched. The innings format switch decides whether the digit after the point counts outs. All calculations run in your browser, and nothing you type is uploaded or stored.
Type a pitcher's earned runs and innings pitched and get the earned run average to two decimals, with the 7-inning softball version and the outs math done for you.
Key takeaways
- ERA = 9 x earned runs / innings pitched, where .1 and .2 in the innings stand for one and two outs
- 62 earned runs over 182.1 innings comes to a 3.06 ERA; 28 over 145.2 comes to 1.73
- Softball, high school and youth leagues run the same formula over 7 innings, so 28 runs in 145.2 innings is a 1.35 ERA7
- Runs that score on a fielding error or a passed ball are unearned and never touch a pitcher's ERA
On this page
- ERA is earned runs, not every run
- The ERA formula and the innings notation
- Worked example: a full big league season
- ERA7 for softball and other 7-inning games
- What makes a run earned or unearned
- Reading the number against the league
- Traps that skew an ERA calculation
- Where to go next with your pitching numbers
ERA is earned runs, not every run
Earned run average asks how many runs a pitcher would give up over a full nine-inning game if none of them were the defense's fault. The number is written to two decimals and read aloud as a word, so 3.06 is "three-oh-six." Lower is better, and the best starting pitchers in a league usually finish a season under 3.00.
The earned part is doing real work. A run the opponent scores without help from the defense, on hits, walks, stolen bases and home runs, is earned and counts against the pitcher. A run that only scores because a fielder misplayed a ball is unearned, and the official scorer wipes it from the pitcher's line. MLB's glossary entry for earned run average spells out the scoring rules, and the league keeps the average of every pitcher who qualifies on its site.
That cleanup step is why ERA survives as a pitching stat at all. Raw runs allowed would punish a pitcher for playing behind a bad infield, and errors would drag down the team's best arms hardest, since they pitch the most innings. Earned runs keep the blame with the player who threw the ball.
The ERA formula and the innings notation
The whole calculation is one division with a fixed multiplier:
ERA = 9 x earned runs / innings pitched
The 9 converts the raw rate into runs per nine-inning game, which makes a 3-inning relief outing comparable with a 200-inning season. Everything else is arithmetic, and nearly all of the mistakes happen in the innings term.
Scoreboards write innings in thirds, because a pitcher can record one out, two outs or three. So 182.1 means 182 innings and 1 out, not 182 and a tenth. Converting to plain decimals before dividing is the safe move:
| Box score innings | Outs | Decimal innings |
|---|---|---|
| 6.0 | 18 | 6.000 |
| 6.1 | 19 | 6.333 |
| 6.2 | 20 | 6.667 |
| 182.1 | 547 | 182.333 |
| 145.2 | 437 | 145.667 |
There is no .3 in this system, because three outs close the inning and the count rolls over to the next whole number. And a figure like 6.5 typed into a calculator set to baseball notation is a trap: five outs after the third out does not exist. Enter plain decimal innings only after switching the format, which the calculator above does for you.
Worked example: a full big league season
Take a starter credited with 182.1 innings and 62 earned runs across a season. The outs first: 182 innings hold 546 outs, one more out makes 547, and 547 outs divided by 3 is 182.333 real innings. Then the rate: 9 x 62 = 558 earned runs per nine innings, and 558 / 182.333 = 3.06. The season lands on a 3.06 ERA.
| Step | Numbers | Result |
|---|---|---|
| Convert innings to outs | 182 x 3 + 1 | 547 outs |
| Outs back to decimal innings | 547 / 3 | 182.333 |
| Scale earned runs to 9 innings | 62 x 9 | 558 |
| Divide | 558 / 182.333 | 3.06 |
| Same season on a 7-inning scale | 62 x 7 / 182.333 | 2.38 |
The last row is worth a glance even for a big league fan. It shows how the multiplier, not the pitching, moves the number when the game length changes. The pitcher allowed 0.34 earned runs per inning all year, and each game length just multiplies that rate.
ERA7 for softball and other 7-inning games
Softball, high school baseball and some youth leagues play 7-inning games, so their scoreboards scale the same formula by 7 instead of 9. A college softball ace who throws 145.2 innings (437 outs, 145.667 decimal) with 28 earned runs computes a 1.35 ERA7, because 7 x 28 = 196 and 196 / 145.667 = 1.3455.
| Season | Innings | Earned runs | ERA9 | ERA7 |
|---|---|---|---|---|
| Big league starter | 182.1 | 62 | 3.06 | 2.38 |
| Softball ace | 145.2 | 28 | 1.73 | 1.35 |
| Short relief stint | 6.1 | 2 | 2.84 | 2.21 |
Read the two columns side by side and you can see why a straight comparison flatters the softball pitcher. Her 1.35 ERA7 becomes 1.73 when rescaled to nine innings, and even that gap says more about the sports than the arms: softball diamonds are 43 feet from mound to plate instead of 60 feet 6 inches, the ball is bigger, and the game generates runs differently. The formula travels, but the context does not.
The short relief row carries its own warning. Six innings is a small sample, so a 2.84 ERA over one rough or lucky week says little. Every ERA needs its innings total printed next to it before anyone draws a conclusion.
What makes a run earned or unearned
The scoring rules live in Rule 9.16 of the Official Baseball Rules, and they turn on one idea: a run is unearned if the defense, not the pitcher, let it score. The common cases:
- Errors. A runner who reaches base on a fielding or throwing error, and later scores, leaves the pitcher untouched.
- Passed balls. A run that scores on a passed ball is unearned. A wild pitch alone does not do this; if the runner reached base cleanly, the run still belongs to the pitcher.
- Reconstructed innings. Scorers rerun the inning without the error. If the runner who reached on an error would have been the third out, runs after that point are unearned.
- Relief pitchers. A runner who reaches base against one pitcher stays on that pitcher's line when he scores, even if a new arm is on the mound. That is why a reliever can walk the bases loaded, exit, and still be charged when the next pitcher gives up a single.
Two edge cases catch scorekeepers out. A pitcher who commits his own fielding error produces unearned runs, the same as any fielder. And a run can be earned even when it looks cheap: a wind-blown pop fly that drops between three fielders is a hit, not an error, so the run counts fully.
Reading the number against the league
An ERA means little without the league around it. In recent big league seasons the league-wide average has hovered near 4.00, so the bands below are a fair map for modern baseball. They shift with the era: hitters posted monstrous numbers in the late 1990s and pitchers owned 1968, when Bob Gibson finished 1.12 and the league average sat under 3.00. Old box scores and card sets from baseball's first statistical generations, many digitized by the Library of Congress baseball card collection, show how much scoring has swung while the formula stayed fixed.
| ERA band | Plain reading |
|---|---|
| Under 2.50 | Award-season territory |
| 2.50 to 3.50 | Strong frontline starter |
| 3.50 to 4.50 | Roughly league average |
| 4.50 to 5.50 | Below average, needs run support |
| Over 5.50 | Rough season |
Park and defense bend the scale too. A 4.20 ERA in a hitter's park with a weak infield can outvalue a 3.80 across town. FanGraphs' library page on ERA covers the stat and its rate-stat cousins, including FIP, which swaps defense out of the equation entirely.
Traps that skew an ERA calculation
Four mistakes account for most wrong answers:
- Treating .1 and .2 as decimals. Dividing by 182.1 instead of 182.333 shaves the denominator by 0.233 innings and moves a 3.06 season to 3.07. Small, but it is the difference that shows up in print.
- Counting unearned runs. Pull earned runs from the official scoring, not the scoreboard's runs total. If you cannot reconstruct the errors, the calculator will overstate the ERA.
- Rounding the innings too early. Keep thirds exact through the outs step. 145.2 is 437 outs, not 145.67 rounded to 146.
- Comparing numbers across different game lengths or eras. A 1.35 ERA7 and a 3.06 ERA9 are not on one ladder, and neither is a 1.12 from 1968 and a 3.06 from this year.
One more habit is worth keeping: record the innings total next to every ERA you calculate or quote. An ERA without its sample size is a rumor.
Where to go next with your pitching numbers
The other tools on this site cover the hitting side and the plain arithmetic underneath. The batting average calculator does the same division for a hitter's hits, the winning percentage calculator rates a team's record with ties handled, and the percentage calculator covers the general share-of-a-whole work that shows up everywhere in scorekeeping. For averaging several outings into one number, the average calculator handles any list of values.
Frequently asked questions
What is ERA in baseball?
Earned run average: the number of earned runs a pitcher allows per nine-inning game, computed as 9 x earned runs / innings pitched. A starter with 62 earned runs over 182.1 innings has a 3.06 ERA.
Why is ERA multiplied by 9?
Innings pitched varies from a third of an inning to 200 a season, so the raw runs-per-inning rate is scaled up to a standard nine-inning game to make pitchers comparable.
What does .1 and .2 mean in innings pitched?
Outs, not tenths. 182.1 innings is 182 innings plus 1 out, which is 182.333 decimal innings. There is never a .3, because three outs end the inning and the count rolls over.
How do I calculate ERA for 7-inning softball?
Use the same formula scaled by 7: ERA7 = 7 x earned runs / innings pitched. A pitcher with 28 earned runs in 145.2 innings comes to 196 / 145.667 = 1.35.
What is a good ERA?
Against a modern big league average near 4.00, under 3.50 is strong, under 2.50 is award territory, and over 5.00 is a rough season. The bands shift with the era and the park.
Do unearned runs count against your ERA?
No. A run that scores because of a fielding error or a passed ball is unearned and is left off the pitcher's line. The official scorer reconstructs the inning to decide.
Is a 2.84 ERA from 6.1 innings meaningful?
Not on its own. 2 earned runs in 6.1 innings does compute to 2.84, but six innings is a tiny sample, so the number can swing from 0.00 to over 13.00 in one bad outing.
How many earned runs can I allow in 9 innings for a 3.00 ERA?
Exactly 3. With the formula 9 x 3 / 9 = 3.00, one earned run per inning is the break-even rate the whole scale is built around.
Who has the lowest single-season ERA in MLB history?
Bob Gibson posted a 1.12 ERA for St. Louis in 1968, a season so dominated by pitching that the league lowered the mound the next year.
What is the difference between ERA and WHIP?
ERA measures earned runs per nine innings, WHIP counts walks plus hits per inning. A pitcher can carry a low WHIP with a high ERA if his few baserunners keep scoring, or the reverse.
Do inherited runners count against a relief pitcher?
No, they stay with the pitcher who allowed them to reach base. A reliever charged only with runners he puts on can still post a clean line while the runs score behind him.
Can ERA be zero?
Yes, 0.00, whenever a pitcher allows no earned runs, even over a full season. It cannot be computed with zero outs recorded, since the division would have no denominator.
Does the pitcher's own error create unearned runs?
Yes. For scoring purposes a pitcher's fielding or throwing error is an error like any other, so runners who reach that way and score are unearned.
Spotted a wrong number or a broken result?
More Everyday tools
- 1 Hour Cycling Calories Calculator
- 1 Hour Lunch Break Calculator
- 1 Million in Numbers
- 1 Weeks Ago From Today
- 1 in 60 Rule Calculator
- 10 Day Payoff Calculator
- 10 Hour Shift Schedule Calculator
- 10 Minutes From Now
- 10 Months Ago From Today
- 10 to 1 Arm Workout Calculator
- 10207 2: Log Base 2 Calculator
- 1099 Hourly Rate Calculator
- 11 Months Ago From Today
- 11 Weeks Ago From Today
- 12 Hour Shift Pay Calculator
- 12 Months Ago From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.