formula for calculating retained earnings

Retained Earnings Calculator

Use this quick calculator to find ending retained earnings for an accounting period.

Ending Retained Earnings = Beginning Retained Earnings + Net Income − Dividends

Tip: You can enter values with commas (for example, 1,250,000).

What is the formula for retained earnings?

The standard formula is straightforward and appears on most accounting references:

Retained Earnings (Ending) = Retained Earnings (Beginning) + Net Income − Dividends

Retained earnings represent the cumulative profits a company keeps after paying dividends to shareholders. Over time, this account increases when the business earns profit and decreases when it has losses or distributes cash to owners.

Why retained earnings matter

Retained earnings are important because they show how much profit has been reinvested in the business rather than paid out. Lenders, investors, and management all watch this number closely.

  • For business owners: It helps evaluate growth capacity without external financing.
  • For investors: It gives context on dividend policy and long-term value creation.
  • For lenders: It provides insight into financial stability and internal capital.

Step-by-step breakdown of the calculation

1) Start with beginning retained earnings

This is the ending retained earnings from the prior accounting period. You can find it in last period’s balance sheet or the current statement of retained earnings.

2) Add net income (or subtract net loss)

Net income comes from the income statement. If the company had a loss, use a negative value. That automatically reduces retained earnings.

3) Subtract dividends

Dividends include cash dividends and, depending on reporting conventions, stock dividends that reduce retained earnings. The key idea is that any profit distributed to shareholders is no longer retained by the company.

Example calculation

Suppose a company reports:

  • Beginning retained earnings: $400,000
  • Net income: $90,000
  • Dividends paid: $25,000

Using the formula:

$400,000 + $90,000 − $25,000 = $465,000 ending retained earnings

Quick reference table

Component Where it comes from Effect on retained earnings
Beginning retained earnings Prior period balance sheet Starting point
Net income Current period income statement Increases retained earnings
Net loss Current period income statement Decreases retained earnings
Dividends Board declaration / equity records Decreases retained earnings

Common mistakes to avoid

  • Forgetting dividends: This is the most frequent error in retained earnings calculations.
  • Using revenue instead of net income: Only final profit after expenses belongs in the formula.
  • Mixing periods: All values should come from the same accounting period.
  • Ignoring net loss signs: A loss should reduce retained earnings, not increase it.

How retained earnings differ from cash

A common misconception is that retained earnings equals cash in the bank. It does not. Retained earnings are an equity account, not a cash account. A company may have high retained earnings but low cash if funds were used for inventory, equipment, debt payments, or expansion.

Where retained earnings appear in financial statements

On the balance sheet, retained earnings appear under shareholders’ equity. Many companies also prepare a separate statement of retained earnings showing beginning balance, profit/loss, dividends, and ending balance.

Final takeaway

If you remember one line, remember this:

Ending retained earnings = beginning retained earnings + net income − dividends

Use the calculator above whenever you want a fast, accurate result for financial analysis, bookkeeping checks, or exam preparation.

🔗 Related Calculators