Retained earnings are impacted by revenues, operating expenses, cost of goods sold, and depreciation.