Sports & Games

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.

UF
Built by Umer Farooq, Founder & Developer of CalcsDone
Last updated:
(ER × 9) ÷ IP
Standard baseball ERA formula
9 / optional 7
Baseball scale / selectable softball convention
.1 = ⅓
Outs notation converted to true thirds automatically
2 inputs
Earned runs and innings pitched — that’s it
Enter Values
ERA formula: (ER × Game Innings) ÷ IP
Use .1 for 1 out, .2 for 2 outs (e.g. 32.1 = 32⅓ innings)
Quick presets
Innings Pitched
0.0
0 innings
ERA
0.00
per 9 innings
Full Games Equivalent
0.00
innings ÷ game length
Enter earned runs and innings pitched to begin

Interactive step-by-step proof

  1. Enter values above to see the ERA calculator work through the formula step by step.
Standard arithmetic, scoring-dependent inputs. Baseball ERA is calculated from earned runs and innings pitched on a nine-inning scale. The softball option uses a seven-inning scale as an explicit calculator convention; leagues and statistical systems can differ, so confirm the rule set you need. The tool does not determine whether a run is earned, assign inherited runners, or replace an official scorer.
Why use this calculator

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 it works

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.

Worked examples

ERA Calculator Worked Examples

These are illustrative pitching lines used only to demonstrate the arithmetic. They are not real player evaluations.

Example 01

6 ER in 32.1 IP — baseball

Box-score innings32.1 IP
True innings32⅓
Formula(6 × 9) ÷ 32⅓
ERA
1.67

The .1 means one out, so the denominator is 32⅓ innings rather than 32.1 decimal innings.

Example 02

3 ER in 15.2 IP — baseball

Box-score innings15.2 IP
True innings15⅔
Formula(3 × 9) ÷ 15⅔
ERA
1.72

The .2 represents two outs, or two-thirds of an inning.

Example 03

4 ER in 21 IP — 7-inning scale

Earned runs4
Innings pitched21.0
Formula(4 × 7) ÷ 21
ERA
1.33

This example uses the calculator’s optional seven-inning scale; confirm that convention for the league or statistics system you are using.

Common mistakes & edge cases

Where ERA calculations go wrong

1

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.

2

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.

3

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.

4

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.

5

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.

FAQ

ERA Calculator FAQ

How do I calculate ERA in baseball?+
Use (9 × earned runs) ÷ innings pitched. Before dividing, convert box-score innings correctly: .1 means one out or ⅓ inning, and .2 means two outs or ⅔ inning.
Why does 32.1 IP mean 32⅓ innings?+
An inning contains three outs. MLB’s innings-pitched definition therefore treats each recorded out as one-third of an inning. In pitching notation, .1 and .2 record one and two outs; they are not decimal tenths.
What counts as an earned run?+
MLB describes an earned run as a run charged to a pitcher without the benefit of an error or passed ball, but the official scoring rules determine the final earned-run assignment. This calculator expects you to enter the official ER total.
Can I calculate softball ERA?+
Yes. The calculator includes an optional seven-inning scale using (7 × ER) ÷ IP. Because leagues and statistics systems can use their own conventions, verify that seven-inning scaling matches the rules you are following.
Is a lower ERA always better?+
ERA reports earned runs allowed per standardized game length, so a lower value means fewer earned runs on that scale. Comparing pitchers still requires context such as workload, competition, season, park environment, role, and other pitching metrics.
Can I use the calculator for starters and relievers?+
Yes. The arithmetic uses earned runs and innings pitched regardless of role. MLB also notes that ERA can be less effective for evaluating relievers because they often work only fractions of innings and can leave runners whose later scoring affects their ERA.
Which calculator do you need?

Other Sports & Games calculators

Continue with other Sports & Games tools or browse the category hub.

UF

Umer Farooq

Founder & Developer of CalcsDone

Umer built this calculator and the CalcsDone website. The baseball ERA formula and innings-pitched notation on this page are documented against MLB references, while the softball option is clearly labeled as a selectable seven-inning convention rather than presented as a universal rule.

Last updated September 19, 2026. Corrections or unclear wording can be reported through the contact link below.

MLB formula & innings references cited No account or sign-up required Updated September 19, 2026
Sources & methodology

ERA Formula References

Scroll to Top