Formula

ERA = (Number of earned runs * 9) / (Number of innings pitched)