Everyday math calculator

ERA calculator

Enter earned runs and innings pitched, using .1 for one out and .2 for two outs.

How to calculate ERA

ERA = earned runs × innings in a regulation game ÷ innings pitched. Baseball usually uses 9 innings. Many high school and softball games use 7, and youth games often use 6.

Worked example

20 earned runs in 60.1 innings is 20 × 9 ÷ 60.333 = 2.98. The .1 means one third of an inning, not one tenth.

Assumptions and limits

Do not include unearned runs. WHIP = (walks + hits) ÷ innings pitched.

ERA examples (9-inning games)

Earned runsInnings pitchedERA
39.03.00
1045.02.00
2060.12.98
2575.22.97
40100.03.60
27.02.57

Common mistakes to avoid

  • Reading 60.1 innings as 60.1. It means 60 and one third innings.
  • Including unearned runs. Runs that score because of errors are left out.
  • Using 9 innings for a 7-inning league. Set the game length to match.

Privacy

Values are processed in your browser and are not sent to Earnwell Atlas. Your host may still record standard visit logs.

Frequently asked questions

How do you calculate ERA?

ERA = earned runs × innings in a regulation game ÷ innings pitched. Baseball usually uses 9 innings, so 20 earned runs in 60.1 innings is 20 × 9 ÷ 60.333 = 2.98.

What does .1 or .2 mean in innings pitched?

It means one or two outs, so .1 is one third of an inning and .2 is two thirds, not tenths.

What is a good ERA?

In professional baseball, an ERA under about 3.00 is considered excellent and around 4.00 is roughly average. Shorter games use a different inning count, so compare like with like.

How do I calculate ERA for softball?

Use 7 innings as the regulation game length: earned runs × 7 ÷ innings pitched.

Built and maintained by Faris Dinware, founder of Earnwell Atlas. Last updated 29 November 2026. How we build and check these tools.