ERA Calculator
Calculate earned run average from earned runs allowed and innings pitched. Baseball mode uses the standard nine-inning ERA scale. The optional softball mode uses a seven-inning scale for leagues or scoring systems that define ERA that way, so confirm the convention used by your competition.
(ER × Game Innings) ÷ IPInteractive step-by-step proof
- Enter values above to see the ERA calculator work through the formula step by step.
Why an ERA calculator beats doing the conversion by hand
ERA arithmetic is straightforward once the inputs are interpreted correctly. MLB defines earned run average as earned runs allowed per nine innings. Innings pitched also uses baseball scoring notation: because an inning has three outs, .1 represents one out (⅓ inning) and .2 represents two outs (⅔ inning), not decimal tenths.
This calculator converts that outs-based notation before applying the ERA formula. Baseball mode uses the standard nine-inning scale. Softball mode is provided for users whose league or statistics system reports ERA on a seven-inning scale; the selected convention is shown in the result so the output is transparent.
The calculator only performs the arithmetic from the earned-runs figure you provide. Official scoring rules determine whether runs are earned and which pitcher is charged. For more sports tools, browse the Sports & Games calculators, and see the CalcsDone Methodology for how formulas and assumptions are documented.
How ERA calculation works, step by step
ERA uses earned runs and innings pitched, but innings notation must first be converted from outs to true thirds of an inning.
The ERA formula
For baseball, MLB gives the formula as ERA = (9 × Earned Runs) ÷ Innings Pitched. The calculator also offers a clearly labeled 7-inning softball scale when that is the convention the user needs.
Reading innings notation
Innings pitched isn’t true decimal — .1 means 1 out (⅓ inning) and .2 means 2 outs (⅔ inning), so 32.1 IP is actually 32⅓ innings, not 32.1 innings.
Why softball uses 7 innings
The softball toggle uses 7 × ER ÷ IP. Because scoring conventions can vary by organization or competition, confirm that a seven-inning ERA scale is the convention you need before using that result.
What this calculator doesn’t include
The tool does not decide earned-versus-unearned scoring, assign responsibility for inherited runners, or calculate adjusted metrics such as ERA+, FIP, or xERA.
ERA Calculator Worked Examples
These are illustrative pitching lines used only to demonstrate the arithmetic. They are not real player evaluations.
6 ER in 32.1 IP — baseball
The .1 means one out, so the denominator is 32⅓ innings rather than 32.1 decimal innings.
3 ER in 15.2 IP — baseball
The .2 represents two outs, or two-thirds of an inning.
4 ER in 21 IP — 7-inning scale
This example uses the calculator’s optional seven-inning scale; confirm that convention for the league or statistics system you are using.
Where ERA calculations go wrong
Treating .1 and .2 as decimals
Typing 32.1 innings pitched into a plain calculator and reading it as “32.1 innings” understates the true workload. Since .1 represents one out and .2 represents two outs, this ERA calculator converts that notation to exact thirds before doing any math.
Using the wrong game-length multiplier
Applying baseball’s 9-inning multiplier to a softball line — or vice versa — produces a distorted ERA. Always confirm the mode toggle matches the sport being scored before reading the result.
Including unearned runs in the “earned runs” field
Do not substitute total runs allowed for the official earned-runs figure. Earned-run determination depends on official scoring rules and reconstruction of the inning, so use the ER total recorded by the scorer or statistics source.
Drawing conclusions from a tiny sample of innings
ERA can change sharply when the denominator is small. Treat short pitching samples cautiously and interpret them alongside the actual number of innings pitched.
Forgetting ERA doesn’t include inherited runners
MLB notes that earned runs scored by runners left on base can still be charged to the pitcher who allowed those runners to reach. Use the official ER total rather than trying to reassign runs inside this calculator.
ERA Calculator FAQ
How do I calculate ERA in baseball?+
Why does 32.1 IP mean 32⅓ innings?+
What counts as an earned run?+
Can I calculate softball ERA?+
Is a lower ERA always better?+
Can I use the calculator for starters and relievers?+
Other Sports & Games calculators
Continue with other Sports & Games tools or browse the category hub.