⚾ Baseball ERA Calculator
Calculate standard 9-inning ERA from earned runs and innings pitched, with optional custom bases for shortened-game comparisons.
Enter pitching details
Result
Enter earned runs and innings pitched to see the ERA and calculation steps.
Calculation steps
How to read ERA
Formula
ERA = (earned runs × 9) ÷ innings pitched
For official/pro records, ERA is earned runs scaled to nine innings, matching the MLB Glossary definition.
Out-count note
- 5⅓ innings means 5 innings + 1 out, not 5.1.
- 5⅔ innings means 5 innings + 2 outs, not 5.2.
- This calculator converts thirds of an inning into exact outs internally.
ERA calculation basis
Calculate standard 9-inning ERA and compare custom inning bases carefully
Earned Run Average (ERA) in U.S./MLB-style records is earned runs scaled to nine innings. This calculator separates completed innings and additional outs, so 5⅔ innings is handled correctly, and non-9-inning bases are clearly treated as custom comparisons.
What this ERA calculator helps you check
Out-count based calculation
Enter completed innings and extra outs separately, so records like 5⅔ innings are not accidentally treated as decimal numbers.
9-inning standard plus custom bases
Use the standard 9-inning ERA by default. Switch to 7, 6, 5, or a custom base only for shortened-game or league-specific comparisons.
Formula and breakdown
Along with the ERA value, the calculator shows total outs, converted innings pitched, and the formula used for easy record checking.
Examples and copy
Try a quality start, scoreless outing, or 7-inning example quickly, then copy the result into notes or a team stat sheet.
How to use it
- Enter earned runs — Use the earned-run value from the box score, excluding unearned runs.
- Enter innings pitched — Type completed innings as a whole number and choose 0, 1, or 2 additional outs. 5⅔ innings is 5 innings + 2 outs.
- Select the ERA base — Use 9 innings for standard professional records. Choose another base only when the comparison itself is meant to use a shortened or custom game length.
- Review the result — Check the ERA, innings pitched, total outs, and formula breakdown together.
- Copy if needed — Copy the result for a team sheet, game recap, or personal stat note.
Calculation method and interpretation
Standard ERA shows how many earned runs the entered pitching line would allow per nine innings. When you choose a non-9 base, treat it as a custom comparison rather than an official MLB-style ERA.
completed innings × 3 + additional outs
total outs ÷ 3
earned runs × 9 ÷ innings pitched
rounded to two decimal places
When it is useful
Post-game pitching notes
Calculate ERA from earned runs and innings pitched right after a game, then turn it into a concise review line.
Shortened-game comparisons
For 7-inning games or amateur leagues, use a custom base only when everyone in the comparison is being evaluated on that same shortened-game basis.
Record entry checks
Before entering stats into a website or spreadsheet, confirm the out count and rounded ERA value.
Notes for accurate interpretation
Check the inputs and scoring basis first
- ERA is based on earned runs, not total runs. Errors, passed balls, and scorekeeping changes can change the earned-run value.
- In baseball notation, .1 and .2 mean one out and two outs, not decimal tenths. Use the additional-out selector for these cases.
- Small inning samples can swing dramatically from one or two runs. Read ERA together with season totals, league context, ballpark, and defense.
- Non-9-inning bases are custom comparison settings. Standard professional and MLB-style ERA comparisons use a 9-inning base.
Frequently asked questions
How should I enter 5.2 innings?
5.2 in baseball notation means 5 and two-thirds innings, or 5 innings plus 2 outs. Enter 5 as completed innings and choose 2 additional outs.
Can ERA be calculated if no outs were recorded?
No. With zero recorded outs, the denominator is zero, so ERA cannot be calculated. The calculator shows an input message for this case.
What does ERA 0.00 mean?
It means no earned runs were allowed in the entered innings. Unearned runs do not directly increase ERA.
When should I use a 7-inning base?
Use it only when the game or league is intentionally evaluated on a 7-inning basis, such as some amateur or local league formats. For MLB-style ERA, keep the 9-inning base.