Retained earnings refers to the portion of a company's net income that is retained by the company rather than distributed to shareholders as dividends. Retained earnings accumulate over time and represent undistributed profits that have been reinvested in the business to fund operations, future growth, or pay down debt. A company calculates its retained earnings for a period by taking the previous period's retained earnings balance, adding net income and subtracting any dividends paid out.