How to calculate
Multiply earned runs by regulation innings and divide by innings pitched. Each out counts as one third of an inning.
Worked example
Use Earned runs 9 · Innings pitched (use .1 or .2 for extra outs) 24 · Innings per regulation game 9. The result is 3.38.
Input and result notes
Use scorebook notation. For example, 6.2 is six innings and two outs, or 6⅔ innings. The result is rounded to the usual display precision.
MLB definition of earned run average