ERA Calculator
Enter earned runs and innings pitched. Write partial innings the baseball way: 6.1 means six and one third, and 6.2 means six and two thirds.
Result
- Innings pitched as a decimal
- 6.667
- Outs recorded
- 20
Formula
- ERA = earned runs × 9 ÷ innings pitched
- WHIP = (walks + hits) ÷ innings pitched
- One out = one third of an inning
How the ERA Calculator works
Earned run average is the number of earned runs a pitcher allows per nine innings. Runs that score because of fielding errors are unearned and do not count.
Box scores write a third of an inning as .1 and two thirds as .2. Those are not decimals, so 6.2 innings is 6 and 2/3, or 6.667. WHIP measures how many baserunners a pitcher allows per inning.
Worked example
Three earned runs in 6.2 innings: innings = 6 + 2 ÷ 3 = 6.667. ERA = 3 × 9 ÷ 6.667 = 4.05. With 6 hits and 2 walks, WHIP = 8 ÷ 6.667 = 1.20.
Frequently asked questions
What is a good ERA?
In Major League Baseball, under 3.00 is excellent, around 4.00 is about average and above 5.00 is poor. Typical values differ by league and era.
How is ERA calculated for a 7 inning game?
Leagues that play seven innings multiply earned runs by 7 in place of 9. Choose the game length to match your league.
Related calculators
- Batting Average CalculatorCalculate batting average, on-base percentage, slugging percentage and OPS for baseball and softball from at-bats, hits, walks and extra-base hits.
- Winning Percentage CalculatorCalculate winning percentage from wins, losses and ties, and see how many more wins are needed to reach a target percentage.
- Gear Ratio CalculatorCalculate gear ratio from tooth counts with output speed and torque, or find vehicle speed from engine RPM, axle ratio and tire diameter.
- Engine Displacement CalculatorCalculate engine displacement in cc, liters and cubic inches from bore, stroke and number of cylinders.
- Power to Weight Ratio CalculatorCalculate power to weight ratio in hp per pound, hp per ton, watts per kilogram and pounds per horsepower for cars, motorcycles and cyclists.
- Tire Size CalculatorCalculate tire diameter, sidewall height, circumference and revolutions per mile from a metric tire size, and compare two sizes with the speedometer difference.
- Sleep Cycle CalculatorFind the best time to go to bed or wake up based on 90-minute sleep cycles, so you wake at the end of a cycle and not in the middle of deep sleep.
- Animal Gestation CalculatorCalculate the due date for cows, horses, goats, sheep, pigs, dogs, cats and rabbits from the breeding date, with the normal range.
- Mouse Sensitivity ConverterConvert mouse sensitivity between Valorant, CS2, Apex Legends, Overwatch 2, Fortnite and other games, with eDPI and cm per 360.
- Nether Portal CalculatorConvert Minecraft Overworld coordinates to Nether coordinates and back, so linked portals line up. One block in the Nether equals eight in the Overworld.
Related unit converters
Calculations run in your browser and nothing you enter is sent to a server. Results are provided for general information. Check critical figures independently before relying on them.