Retained earnings accounting rests on one equation: the ending balance equals the beginning balance plus net income minus dividends. That number carries forward from year to year in the stockholders’ equity section of the balance sheet, moves through specific journal entries at year-end, and is disclosed on a reconciliation statement that ties the income statement back to the balance sheet. The mechanics are straightforward. The judgment lives in the inputs.
The Formula and Its Inputs
Ending Retained Earnings = Beginning Retained Earnings + Net Income − Dividends.
The beginning balance comes from the prior year’s balance sheet. Net income (or net loss) comes from the current period’s income statement. Dividends include both cash and stock dividends declared during the period. The IRS uses the same structure on Schedule M-2 of Form 1120, which requires C-corporations to reconcile the opening balance of unappropriated retained earnings to the closing balance by adding net income per books and subtracting distributions and other decreases.1Internal Revenue Service. Form 1120
The equation looks simple because the complexity is upstream. Net income absorbs every judgment call about revenue recognition, depreciation, and expense timing before it ever reaches this line.
What Moves the Balance
Net Income and Net Loss
Profit is the primary driver. When revenue exceeds all expenses and taxes, net income flows into retained earnings and increases the balance. A net loss pulls the balance down. Enough accumulated losses can turn the balance negative.
Dividends
Cash dividends reduce retained earnings dollar for dollar. Stock dividends don’t send cash out, but they still reduce the account: the corporation transfers an amount equal to the fair value (for a small stock dividend) or par value (for a large one) of the new shares from retained earnings into common stock and additional paid-in capital. Total stockholders’ equity is unchanged. The retained earnings line shrinks.
Treasury Stock Transactions
When a corporation buys back its own shares and retires them at a price above the original issue price, the excess is charged against additional paid-in capital first. Any remaining shortfall is debited to retained earnings. The same logic applies when treasury shares are resold below cost and prior treasury paid-in capital can’t absorb the loss. Nothing hits net income, but retained earnings quietly erodes.
Prior Period Adjustments
If the company discovers an error in an earlier year’s financials, such as miscounted revenue or an overlooked expense, FASB ASC 250 keeps the correction out of the current year’s income statement. Instead, the company restates the beginning retained earnings balance for the earliest period presented, as if the error had never happened. A note disclosing the nature and amount of the adjustment is required, and the opening number on the current year’s statement may no longer match the closing number from last year’s.
How to Record Retained Earnings Entries
Closing Entries at Year-End
Retained earnings is a permanent account. It doesn’t reset at the start of each year the way revenue and expense accounts do. At year-end, the closing process funnels every temporary account into retained earnings through an intermediary called Income Summary.
For a profitable year, the closing entry debits Income Summary and credits Retained Earnings. For a loss year, the entry flips: debit Retained Earnings, credit Income Summary. Once posted, temporary accounts sit at zero and the full year’s results rest in retained earnings.
Cash Dividend Entries
Cash dividends generate two entries. On the declaration date, the board creates a legal obligation to pay, recorded by debiting Retained Earnings and crediting Dividends Payable. On the payment date, the company debits Dividends Payable and credits Cash. The record date between those two events determines which shareholders qualify, but no journal entry is needed on that date.
Stock Dividend Entries
For a small stock dividend, typically under 20–25% of outstanding shares, the entry debits Retained Earnings at the fair market value of the new shares and credits Common Stock at par value, with any excess going to Additional Paid-In Capital. For a large stock dividend above that threshold, the entry is recorded at par value only, so the debit to retained earnings is smaller. In both cases, retained earnings decreases and the paid-in capital accounts increase by the same total amount.
Reporting on the Financial Statements
Balance Sheet Placement
Retained earnings appears as a line item in stockholders’ equity, listed below common stock and additional paid-in capital. When accumulated losses exceed all prior profits, the line reads as a negative number and is labeled “accumulated deficit.” Either way, it must appear as a separate line on the face of the balance sheet, not buried in a footnote.
Statement of Retained Earnings
Most corporations present a standalone reconciliation, sometimes called the Statement of Retained Earnings, or fold it into the Statement of Stockholders’ Equity. It starts with the opening balance, adds net income or subtracts a net loss, subtracts dividends, reflects any prior period adjustments, and lands on the closing balance. This report is the bridge between the income statement and the balance sheet.
SEC Reconciliation for Public Companies
Publicly traded companies follow SEC Regulation S-X, which requires a reconciliation of beginning to ending stockholders’ equity balances for each period a statement of comprehensive income is filed.2eCFR. 17 CFR 210.3-04 – Changes in Stockholders Equity The 10-K annual report includes at least two years of comparative equity reconciliation, three for larger filers. Every change to retained earnings during each period must be itemized: net income, dividends, share repurchases, prior period corrections, and other adjustments.
Schedule M-2 on Form 1120
C-corporations completing Schedule M-2 on Form 1120 start with the beginning unappropriated retained earnings balance, add net income per books and any other increases, then subtract cash, stock, and property distributions along with other decreases to arrive at the ending balance.1Internal Revenue Service. Form 1120 The retained earnings number on the books will almost never match cumulative taxable income, because book accounting and tax accounting apply different rules for recognizing revenue and expenses.
Appropriated Retained Earnings
A board of directors can designate a portion of retained earnings as “appropriated,” signaling that those funds are earmarked and not available for dividends. This typically responds to a loan covenant or bond indenture requiring a minimum equity cushion, or a board commitment to a major capital project.
Appropriations are a disclosure tool, not a cash transaction. No money moves to a separate bank account. The statements simply split retained earnings into appropriated and unappropriated buckets. When the underlying obligation is satisfied, the board passes a resolution releasing the restriction, and the amount moves back to unappropriated retained earnings.
When the Balance Goes Negative
When accumulated losses and dividends exceed all profits the company has ever earned, retained earnings turns negative and the balance sheet labels it an “accumulated deficit.” Most states prohibit dividend payments when retained earnings is negative, or more broadly when a dividend would leave the company unable to pay its debts as they come due. State corporate statutes generally apply two tests before any distribution: an equity solvency test asking whether the company can still pay its bills, and a balance sheet test asking whether total assets still exceed total liabilities plus any liquidation preferences on preferred stock. Directors who approve dividends in violation of these rules face personal liability.
Tax Traps Tied to the Balance
Accumulated Earnings Tax on C-Corporations
The IRS imposes a 20% accumulated earnings tax on companies that retain profits beyond the reasonable needs of the business to help shareholders avoid personal income tax on dividends.3Office of the Law Revision Counsel. 26 USC 531 – Imposition of Accumulated Earnings Tax It applies to any corporation formed or used to dodge shareholder-level tax by piling up earnings instead of distributing them.4Office of the Law Revision Counsel. 26 USC 532 – Corporations Subject to Accumulated Earnings Tax
Every corporation gets an accumulated earnings credit that shelters at least $250,000 of total accumulated earnings from the tax. For professional service corporations in fields like health, law, engineering, accounting, and consulting, the credit drops to $150,000.5Office of the Law Revision Counsel. 26 USC 535 – Accumulated Taxable Income Accumulations above those thresholds are safe if the corporation can show a genuine business purpose, such as planned expansion, equipment purchases, debt retirement, or product liability reserves.6Office of the Law Revision Counsel. 26 USC 537 – Reasonable Needs of the Business
The tax doesn’t apply to S-corporations, personal holding companies, tax-exempt organizations, or passive foreign investment companies.4Office of the Law Revision Counsel. 26 USC 532 – Corporations Subject to Accumulated Earnings Tax The practical risk falls on privately held C-corporations whose owners prefer to leave profits in the business rather than take taxable dividends. If the IRS challenges the accumulation, the corporation carries the burden of proving the funds serve a real business need.
S-Corporations and the AAA
S-corporations report retained earnings on the balance sheet the same way C-corporations do, but the tax treatment differs. Because S-corp income passes through to shareholders and is taxed on their personal returns, the company also tracks an Accumulated Adjustments Account (AAA). The AAA increases with income items and decreases with losses, non-deductible expenses, and distributions.7eCFR. 26 CFR 1.1368-2 – Accumulated Adjustments Account (AAA)
The AAA determines whether distributions to shareholders are tax-free returns of already-taxed income or taxable events. Distributions within the AAA are generally not taxed again at the shareholder level. This distinction matters most during S-corp to C-corp conversions and when a company with prior C-corp history still carries old earnings and profits alongside its AAA balance.
Certification Exposure for Public Company Officers
Under the Sarbanes-Oxley Act, the CEO and CFO must personally certify that the company’s periodic financial reports fairly present its financial condition.8U.S. Department of Labor. Sarbanes-Oxley Act of 2002, Public Law 107-204 An executive who willfully certifies a report knowing it doesn’t meet the law’s requirements faces fines up to $5,000,000 and up to 20 years in prison.9Office of the Law Revision Counsel. 18 USC 1350 – Failure of Corporate Officers to Certify Financial Reports Because retained earnings absorbs every revenue, expense, and dividend decision, a misstatement almost anywhere in the financial statements eventually flows through this account.