Baseball ERA Calculator

Calculate a pitcher's Earned Run Average from raw stats.

Input earned runs allowed and innings pitched to compute ERA using the official (ER × 9 / IP) formula, with an optional FIP estimate from strikeouts, walks, hit batters, and home runs. Runs in your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What is ERA in baseball?

Earned Run Average is the average number of earned runs a pitcher allows per nine innings. It is the classic measure of run prevention, calculated as earned runs times nine divided by innings pitched, so a lower ERA is better.

Earned Run Average remains the headline statistic for evaluating pitchers. This calculator applies the official formula and, importantly, handles the baseball-specific way innings are written in thirds, so 6.1 means six and a third innings rather than 6.1 decimal innings. It also estimates FIP to reveal how much defence and luck shaped the raw ERA.

How it works

ERA scales earned runs to a nine-inning game after converting innings notation:

real IP = whole innings + (thirds digit / 3)   // .1 -> .333, .2 -> .667
ERA     = (ER × 9) / real IP

FIP isolates pitcher-controlled outcomes using the standard formula with a constant near 3.10 to put it on the ERA scale:

FIP = (13×HR + 3×(BB + HBP) − 2×K) / IP + 3.10

Worked example

A pitcher with 18 earned runs over 50.2 innings pitched has a real IP of 50.667 (50 + 2/3), so ERA = 18 × 9 / 50.667 ≈ 3.20. If that same pitcher struck out 55, walked 12, hit 3 batters, and allowed 4 home runs, FIP would be roughly: (13×4 + 3×(12+3) − 2×55) / 50.667 + 3.10 ≈ (52 + 45 − 110) / 50.667 + 3.10 ≈ -0.53 / 50.667 + 3.10 ≈ 3.09. A FIP about a tenth below ERA suggests the pitcher was very slightly unlucky but not dramatically so.

Always enter innings in thirds notation (.1 or .2), never as plain decimals, or the result will be wrong.

Interpreting ERA in context

ERA alone does not tell the whole story. A 3.20 ERA means very different things in a high-run-environment ballpark versus a pitcher’s park, in an era of high offense versus low offense, and at the MLB level versus a minor league. Context matters.

General ERA benchmarks in the modern MLB era:

ERA rangeGeneral label
Below 2.50Elite, ace-caliber
2.50 – 3.50Well above average
3.50 – 4.25Above average to average
4.25 – 5.00Below average
Above 5.00Replacement-level or worse

These thresholds shift with league context. In a high-offense season or a hitter-friendly park, a 4.25 ERA might still represent above-average performance. Park-adjusted metrics like ERA+ (from Baseball Reference) correct for this, where 100 is exactly average and higher is better.

ERA versus FIP: what the gap means

When ERA and FIP diverge significantly, the gap signals something specific:

  • ERA well above FIP: The pitcher is outperforming their underlying “stuff” — likely benefiting from excellent defense or good luck on balls in play. ERA may drop in coming outings.
  • ERA well below FIP: The pitcher has been unlucky — giving up hard contact that found holes, or receiving poor defensive support. This pitcher may look worse soon if the regression is real, but it can also mean they are genuinely skilled at managing contact quality in ways FIP does not capture.

FIP is not a perfect predictor of future ERA either, since some pitchers consistently outperform FIP through spin rates, pitch sequencing, or elite command. But a persistent large gap in either direction is worth investigating rather than ignoring.