Skip to content
Calc.

Baseball ERA Calculator

Calculate a pitcher's Earned Run Average (ERA) from earned runs allowed and innings pitched. Essential for evaluating pitching performance and comparing pitchers across different workloads or seasons.

Last updated: September 2026

ERA

3

Formula below · 1 source (mlb.com) · Updated Sep 2026

Compare with similar

About this calculator

Earned run average (ERA) is the number of earned runs a pitcher allows per nine innings:

ERA = 9 × earned runs ÷ innings pitched

Innings are counted in outs. Box scores write a partial inning after a dot: 135.1 means 135⅓ innings (one out) and 135.2 means 135⅔ (two outs), not 135.1 or 135.2 decimal innings. The calculator converts the notation to outs, so ERA = 27 × earned runs ÷ outs.

Earned runs exclude runs that score because of fielding errors or passed balls, as decided by the official scorer. A run charged to a pitcher who left with runners on base still counts against that pitcher.

ERA depends on the defense behind the pitcher, the ballpark and the run environment of the season, so compare pitchers from the same league and year, or use adjusted measures such as ERA+ for comparisons across eras.

How to use

Enter earned runs allowed and innings pitched, using .1 and .2 for one and two outs into an inning. Example (the defaults): 15 earned runs in 45 innings gives 9 × 15 ÷ 45 = 3.00. For 42 earned runs in 135.2 innings (407 outs), ERA = 27 × 42 ÷ 407 = 2.79.

Frequently asked questions

Why multiply by 9?

A regulation game has nine innings, so ERA expresses runs allowed per complete game. Softball and some youth leagues with seven-inning games multiply by 7 instead.

What does 6.2 innings pitched mean?

Six innings and two outs, or 6⅔ innings. The digit after the dot counts outs, so it can only be 0, 1 or 2.

What is the difference between earned and unearned runs?

An unearned run would not have scored without a fielding error or a passed ball. The official scorer decides, and only earned runs go into ERA.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.