Retained earnings represent the portion of a company's net income that is kept for future use instead of being paid out as dividends. The formula to calculate retained earnings is net income minus dividends. An increase in retained earnings occurs when net income rises or dividends decrease.