Earned Run Average (ERA) = (Earned Runs ÷ Innings Pitched) × 9
Count only earned runs allowed by the pitcher
Use the total innings pitched
Multiply the result by 9 to get the ERA per nine innings
Example: 20 earned runs ÷ 50 innings pitched × 9 = 3.60 ERA
