๐ฐ Retained Earnings Calculator
By ToolNimba Editorial Team ยท Reviewed by ToolNimba Review Team, corporate accounting and financial statement content ยท Updated 2026-06-20
This calculator provides an estimate for planning and learning only and is not financial, accounting, tax, or investment advice. Retained earnings can also be affected by prior-period adjustments, stock dividends, accounting changes, and restatements that this simple tool does not capture. Confirm every figure against your audited financial statements and consult a qualified accountant before relying on the result.
Please enter valid numbers. Dividends cannot be negative.
Retained earnings are the cumulative profits a company has kept rather than paid out to shareholders as dividends. This calculator applies the standard formula so you can find ending retained earnings in seconds: enter your beginning balance, the period's net income or loss, and any dividends paid. It works for a profitable year or a loss, and it flags when the balance turns into an accumulated deficit.
What is the Retained Earnings Calculator?
Retained earnings sit in the equity section of the balance sheet and represent every dollar of profit the company has earned since it began, minus every dollar it has ever distributed to owners as dividends. Each accounting period you start with the closing balance from last period (beginning retained earnings), add the net income the business earned this period, and subtract the dividends declared to shareholders. The result is the new ending balance, which then becomes next period's opening figure. This rolling calculation is exactly what a statement of retained earnings sets out.
The formula is short but every term matters. Net income is the bottom-line profit after all expenses, interest, and taxes, taken straight from the income statement. If the company lost money, net income is negative, and the formula still works: a loss reduces retained earnings just as a profit increases them. Dividends are the portion of profit paid out to shareholders in cash or, in some cases, stock; only cash dividends reduce the cash-based retained earnings figure in the same straightforward way, while stock dividends are handled differently in formal accounting.
Retained earnings are not a pile of cash sitting in a bank account. They are an accounting measure of accumulated profit that has typically already been reinvested in inventory, equipment, debt repayment, or growth. A company can show large retained earnings yet hold very little cash, and a fast-growing firm may deliberately keep its retained earnings high by paying no dividends at all. Reading the balance alongside the cash flow statement tells you where that profit actually went.
When accumulated losses and dividends exceed accumulated profits, retained earnings become negative, a condition called an accumulated deficit. This is common for young companies and startups that are still investing heavily before turning profitable, but for an established business a deficit can be a warning sign worth investigating. Tracking the change in retained earnings from one period to the next, which this calculator shows, is a quick way to see whether the company is building or eroding its equity base over time.
When to use it
- Completing the statement of retained earnings line on a balance sheet or annual report.
- Checking how a profitable or loss-making year changes a company equity before finalising the books.
- Modelling how different dividend payouts would affect the ending retained earnings balance.
- Teaching or studying the retained earnings formula with instant, correct results for any inputs.
How to use the Retained Earnings Calculator
- Enter the beginning retained earnings, which is last period closing balance.
- Enter the net income for the period; use a negative number if the business made a loss.
- Enter the dividends paid to shareholders during the period (enter 0 if none).
- Read the ending retained earnings, the change this period, and the retention rate.
Formula & method
Worked examples
A company begins the year with $120,000 in retained earnings, earns $45,000 in net income, and pays $15,000 in dividends.
- Start with beginning retained earnings = $120,000
- Add net income = 120,000 + 45,000 = $165,000
- Subtract dividends = 165,000 - 15,000 = $150,000
- Change this period = 150,000 - 120,000 = +$30,000
Result: Ending retained earnings $150,000, up $30,000 for the year
A startup opens the year with $80,000 in retained earnings, records a $30,000 net loss, and pays no dividends.
- Start with beginning retained earnings = $80,000
- Add the net loss (a negative number) = 80,000 + (-30,000) = $50,000
- Subtract dividends = 50,000 - 0 = $50,000
- Change this period = 50,000 - 80,000 = -$30,000
Result: Ending retained earnings $50,000, down $30,000 because of the loss
How net income and dividends move ending retained earnings
| Beginning RE | Net income | Dividends | Ending RE |
|---|---|---|---|
| $100,000 | $40,000 | $0 | $140,000 |
| $100,000 | $40,000 | $10,000 | $130,000 |
| $120,000 | $45,000 | $15,000 | $150,000 |
| $80,000 | -$30,000 | $0 | $50,000 |
| $10,000 | -$25,000 | $0 | -$15,000 (deficit) |
What each input means and where to find it
| Input | Where it comes from |
|---|---|
| Beginning retained earnings | The ending retained earnings from the prior period balance sheet |
| Net income or loss | The bottom line of the current income statement |
| Dividends paid | Cash dividends declared to shareholders during the period |
| Ending retained earnings | Reported in the equity section of the current balance sheet |
Common mistakes to avoid
- Entering a net loss as a positive number. A loss must reduce retained earnings, so it has to be entered as a negative net income. Typing the loss as a positive figure adds it instead of subtracting it and overstates the ending balance by twice the loss.
- Treating retained earnings as available cash. Retained earnings measure accumulated profit, not money in the bank. Most of that profit has usually been reinvested in assets or used to repay debt, so a high balance does not mean the company can write a large cheque today.
- Forgetting to subtract dividends. Dividends are a distribution of profit to owners and reduce retained earnings. Adding net income but omitting the dividends paid leaves the ending balance too high and breaks the link to the balance sheet.
- Using revenue instead of net income. The formula uses net income, the profit after all expenses, interest, and taxes, not total revenue or gross profit. Plugging in revenue ignores the cost of running the business and produces a wildly inflated result.
Glossary
- Retained earnings
- The cumulative net profit a company has kept since inception, after subtracting all dividends ever paid. It is reported in shareholders equity on the balance sheet.
- Beginning retained earnings
- The retained earnings balance carried over from the end of the previous accounting period; the starting point for this period calculation.
- Net income
- The bottom-line profit from the income statement after all expenses, interest, and taxes. A negative value is a net loss.
- Dividends
- Distributions of profit paid to shareholders. Cash dividends reduce retained earnings in the standard formula.
- Accumulated deficit
- A negative retained earnings balance that occurs when cumulative losses and dividends exceed cumulative profits.
- Statement of retained earnings
- A financial statement that reconciles the beginning balance to the ending balance by showing net income added and dividends subtracted.
Frequently asked questions
What is the retained earnings formula?
Ending retained earnings = beginning retained earnings + net income - dividends paid. You start with last period closing balance, add the profit earned this period, and subtract any dividends distributed to shareholders. The result becomes the opening balance for the next period.
How do I calculate retained earnings with a net loss?
Enter the loss as a negative net income, then apply the same formula. For example, beginning retained earnings of $80,000 plus a -$30,000 loss minus $0 dividends gives $50,000. The loss simply reduces the balance instead of increasing it.
Are retained earnings the same as cash?
No. Retained earnings are an accounting measure of accumulated profit, not a cash balance. Most retained profit has already been reinvested in inventory, equipment, or debt repayment, so a company can show high retained earnings while holding little cash.
Can retained earnings be negative?
Yes. When cumulative losses and dividends exceed cumulative profits, retained earnings turn negative, which is called an accumulated deficit. This is common for young or fast-growing companies still investing heavily before they reach sustained profitability.
Do dividends reduce retained earnings?
Yes. Dividends are a distribution of profit to shareholders, so cash dividends are subtracted in the formula and lower the ending retained earnings. Paying no dividends keeps all of the period net income inside the company as retained earnings.
Where do I find beginning retained earnings?
Beginning retained earnings equal the ending retained earnings reported on the prior period balance sheet. The two figures always link together, so this period opening balance is simply last period closing balance carried forward.
Sources
- Retained Earnings: What They Are and How to Calculate Them , Investopedia
- Statement of Retained Earnings , Corporate Finance Institute