Retained earnings
The profit a company has kept since it began, rather than paid out as dividends
In briefRetained earnings are the total profit a company has earned since it began, minus the dividends it has declared. They sit in the equity section of the balance sheet. The figure grows when the company is profitable and shrinks when it loses money or pays dividends.
The formula
Ending retained earnings = beginning retained earnings + net income - dividends
A net loss is subtracted in place of net income. OpenStax adds that a declared stock dividend reduces retained earnings, just as a cash dividend does. If the balance falls below zero, it is called a deficit.
Retained earnings calculator
Change the numbers to see the result. Everything is calculated on this page; nothing is sent or saved.
- Ending retained earnings
- -
Illustration only, not financial, tax or investment advice.
Worked example
A company starts the year with $40,000 of retained earnings, earns $25,000 and declares $10,000 of dividends.
| Line | Amount |
|---|---|
| Beginning retained earnings | $40,000 |
| Plus net income | $25,000 |
| Less dividends declared | $10,000 |
| Ending retained earnings | $55,000 |
The check is $40,000 + $25,000 = $65,000, and $65,000 - $10,000 = $55,000. If the same company had lost $25,000 and paid no dividend, the ending balance would be $15,000.
Example: Costco, fiscal 2026
Costco's 10-K for the 52 weeks ended August 30, 2026, filed October 7, 2026, shows the roll-forward in its statement of equity. Amounts are in millions of dollars.
| Line | Amount |
|---|---|
| Retained earnings, August 31, 2025 | $22,650 |
| Plus net income | $9,226 |
| Less cash dividend declared | $2,458 |
| Less repurchases of common stock | $827 |
| Retained earnings, August 30, 2026 | $28,591 |
The check is 22,650 + 9,226 - 2,458 - 827 = 28,591. This shows that share repurchases can also reduce retained earnings, which the simple formula leaves out. The dates will change with each annual report.
Restricted and appropriated amounts
Part of retained earnings can be restricted, OpenStax explains. Some restrictions come from state law, and others from contracts such as loan covenants, which often limit dividends to protect lenders. A board can also appropriate retained earnings for a purpose such as future expansion. An appropriation does not set aside cash. It signals that the amount is not available for dividends.
Common confusion
- Retained earnings are not cash. They are an equity account, a record of past profit. The money may have been spent on inventory, equipment or debt payments. Costco's balance of $28.6 billion does not mean it holds that amount in cash.
- Retained earnings are not net income. Net income is one period's profit. Retained earnings add up every period since the start.
- Retained earnings are not the same as total equity. Equity also includes money paid in by shareholders for stock.
- A deficit is not necessarily bankruptcy. SEC data show that Apple, a profitable company, reported an accumulated deficit of about $14.3 billion at September 27, 2025. By September 26, 2026, its balance had turned positive, at about $13.7 billion.
Related entries
- Net incomeWhat is left of a company's revenue after every expense has been subtracted
- Balance sheetA snapshot of what a business owns, what it owes and what is left for owners on one date
- Income statementThe financial statement that shows revenue, costs and profit over a period
- Earnings per share (EPS)A company's profit divided by the number of its shares
- Assets vs. liabilitiesWhat a business owns, and what it owes
- Stock buybackHow a company buys its own shares, and what changes when it does