Skip to content

How-to guide

How to Calculate ERA: Formula, Steps & Examples

Learn how to calculate ERA — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Vikram Iyer, M.Sc Mathematics · Updated Jun 2026 · 2 min read

Calculating your earned run average is straightforward once you know the ERA formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the ERA Calculator.

What is ERA?

The ERA calculation tells you your earned run average from a few simple inputs. The figure you are solving for here is the earned run average.

The ERA formula

The core formula is:

Earned run average = Earned runs allowed × 9 ÷ Innings pitched

Here is what each input means:

  • Earned runs allowed — a number. Example: 30.
  • Innings pitched — a number. Example: 180.

How to calculate it step by step

  • Write down the earned runs allowed (for example, 30).
  • Write down the innings pitched (for example, 180).
  • Apply the formula above to get your earned run average.
  • Double-check the result with the ERA Calculator.

Worked examples

Example 1

Input / OutputValue
Earned runs allowed30
Innings pitched180
Earned run average1.50

With earned runs allowed of 30 and innings pitched of 180, the earned run average works out to 1.50.

Example 2

With earned runs allowed of 60 and innings pitched of 180, the earned run average works out to 3.00.

ResultValue
Earned run average3.00

Example 3

With earned runs allowed of 15 and innings pitched of 180, the earned run average works out to 0.75.

ResultValue
Earned run average0.75

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the ERA Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring sports calculators with these tools: Running Cadence Calculator, Swimming Laps Distance Calculator, Cricket Batting Average Calculator, Bowling Economy Rate Calculator, Cricket Strike Rate Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Earned run average = Earned runs allowed × 9 ÷ Innings pitched. With earned runs allowed of 30 and innings pitched of 180, the earned run average works out to 1.50.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the ERA Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

Vikram Iyer · M.Sc Mathematics

Vikram Iyer is a mathematics educator with over fifteen years of teaching experience, specialising in making quantitative concepts clear and practical for everyday use.