Retained earnings come from one thing: the profit a corporation has earned over its lifetime and chosen not to pay out. Each accounting period, whatever net income is left after taxes and dividends gets added to the running total in the equity section of the balance sheet. Losses subtract from it. Certain equity transactions, like share buybacks and stock dividends, can also pull the number down. The formula that ties it all together is short:
Ending Retained Earnings = Beginning Retained Earnings + Net Income − Dividends Declared
The beginning balance carries the full history of the business from the day it was incorporated. Everything else that happens in the current year flows through the three variables on the right. The rest of this article walks through what feeds each one, and the rules that limit what the board can actually do with the balance.
Net Income Is the Only Real Source
The only sustainable way retained earnings grow is by running a profitable business. Net income, the bottom line of the income statement, drops directly into the retained earnings account at year end. A corporation gets to that figure by starting with revenue and subtracting materials, labor, rent, interest, depreciation, and every other operating cost.
Taxes come out before anything reaches retained earnings. Domestic C corporations report on IRS Form 1120 and pay a flat 21 percent federal rate on taxable income.1Internal Revenue Service. 2025 Instructions for Form 1120 – U.S. Corporation Income Tax Return State and local income taxes usually stack on top.2Office of the Law Revision Counsel. 26 USC 11 – Tax Imposed What survives all of that is the amount available to keep or distribute.
When expenses exceed revenue, the company posts a net loss, and retained earnings shrink by that amount. One bad year rarely wipes out a well-built balance. A long stretch of losses, a costly settlement, or a failed product launch can erode years of accumulated profit quickly.
Dividends: The Main Outflow
Dividends are the primary force pulling retained earnings down. When the board declares a dividend, the company creates a liability on its books that must be paid on the payment date. Once the cash leaves, those funds are gone from retained earnings for good.
Stock dividends work differently but still reduce the balance. Instead of paying cash, the company issues additional shares to existing holders. No money moves, but the accounting treatment shifts a portion of retained earnings into paid-in capital. Total equity is unchanged; the retained earnings line is smaller.
The choice between paying generous dividends and holding profit back for reinvestment is one of the most consequential calls a board makes. Income-focused shareholders expect regular payouts. Growth-oriented companies often keep most of what they earn.
How Share Buybacks Affect the Balance
Buybacks have become a major channel for returning capital to shareholders, and they hit retained earnings in a way that isn’t always obvious. When a company repurchases its own shares, it records them as treasury stock, reducing total equity.
The direct charge against retained earnings comes when the repurchased shares are retired. If the buyback price exceeds what the company originally received when the shares were issued, the excess is charged against retained earnings. A company buying back shares at $150 that were originally issued at $20 would see the $130 per-share difference reduce retained earnings.
Even when repurchased shares are held as treasury stock rather than retired, the effect on the balance sheet is one-directional. Capital leaves the business and doesn’t come back.
When the Beginning Balance Itself Changes
The starting number in the formula usually just carries over from last year’s ending balance. Occasionally it has to be restated. When a material accounting error from a prior period comes to light, GAAP requires the company to correct beginning retained earnings rather than dump the fix into the current year’s income statement. If last year’s net income was wrong, the balance that rolled forward was wrong too, and the correction belongs where the mistake happened.
These restatements are serious. A “Big R” restatement means reissuing prior-period financial statements with corrected figures. Whether an error qualifies as material depends on both the dollar amount and qualitative factors, viewed from the perspective of a reasonable investor. A prior period adjustment to retained earnings is worth investigating whenever you see one, because it means the company’s reported history was less accurate than investors had been told.
Not All of the Balance Is Freely Available
The total retained earnings number can overstate what the board is actually free to distribute. Portions can be locked up by contract, regulation, or the company’s own decision.
- Debt covenants often cap dividend payments. Lenders want enough equity to stay in the business to service the debt, and when earnings approach a covenant threshold the board has to choose between cutting the dividend and defaulting on the loan.
- Banks and other financial institutions face legal minimum surplus levels. Falling below a state-required threshold can force a transfer out of retained earnings into a separate surplus account before dividends can be paid.
- A board can voluntarily appropriate a portion of retained earnings for a specific purpose, such as a planned expansion or a self-insurance fund. No cash moves, but the appropriation signals that the money is committed.
The SEC requires publicly traded companies to show appropriated and unappropriated retained earnings as separate line items on the balance sheet.3eCFR. 17 CFR 210.5-02 – Balance Sheets Companies must also disclose material restrictions on their ability to pay dividends, including restrictions coming from subsidiary structures or third-party agreements.4SEC. Disclosure Update and Simplification For anyone evaluating a company, the split between restricted and freely available matters more than the headline number.
The IRS Limit on Hoarding Profits
A corporation can’t stockpile earnings indefinitely without a tax consequence. If profits are retained beyond what the business reasonably needs, the IRS can impose an accumulated earnings tax of 20 percent on the excess.5Office of the Law Revision Counsel. 26 USC 531 – Imposition of Accumulated Earnings Tax The tax targets corporations “formed or availed of” to help shareholders dodge individual income tax by accumulating profits instead of paying them out.6Office of the Law Revision Counsel. 26 USC 532 – Corporations Subject to Accumulated Earnings Tax Personal holding companies and tax-exempt organizations are excluded. Every other corporation is potentially in scope, regardless of how many shareholders it has.
Most corporations can accumulate up to $250,000 in earnings and profits without triggering the tax. Service corporations in fields like law, medicine, engineering, accounting, and consulting get a lower $150,000 threshold.7Office of the Law Revision Counsel. 26 USC 535 – Accumulated Taxable Income Above those levels, the company has to show a reasonable business need for holding the money: documented plans for expansion, equipment purchases, debt repayment, or working capital reserves all count. Vague assertions about future growth do not. The issue rarely surfaces until an audit, and closely held businesses that don’t keep board minutes documenting why profits are being retained can get caught with years of excess accumulation to defend.
S Corporations Don’t Use the Same Account
Everything above assumes a C corporation, which pays its own income tax. An S corporation generally doesn’t pay federal income tax at the entity level; income passes through to shareholders, who report it on their individual returns. Because of that structure, S corporations track an Accumulated Adjustments Account rather than building retained earnings the traditional way. The AAA increases with income and decreases with losses and distributions.8Office of the Law Revision Counsel. 26 USC 1368 – Distributions
Distributions from an S corporation with no accumulated earnings and profits from prior C corporation years reduce the shareholder’s stock basis and aren’t taxed until they exceed that basis. When an S corp does carry over old C corporation earnings and profits, ordering rules apply: the AAA balance comes out first tax-free, and anything beyond that is treated as a dividend up to the amount of the old earnings and profits.8Office of the Law Revision Counsel. 26 USC 1368 – Distributions The “retained earnings” line on an S corp’s books usually represents income that has already been taxed at the shareholder level, which is a very different animal from C corporation retained earnings.
When the Number Goes Negative
Retained earnings work like a lifetime scorecard. Net income resets every year; retained earnings carry forward from incorporation. A company with 50 years of mostly profitable operations shows a balance reflecting that entire history, adjusted for every dividend and every loss.
When cumulative losses exceed cumulative profits, the balance goes negative. That’s an accumulated deficit, shown as a negative number in the equity section. Startups and turnaround companies commonly carry deficits for years before turning profitable. A deficit isn’t fatal, but it changes how outsiders treat the company. Lenders may tighten terms or require personal guarantees. Vendors may shorten payment windows. In some states, a company carrying an accumulated deficit cannot legally pay dividends until the deficit is eliminated.
A steadily growing retained earnings balance tells the opposite story: the company has consistently earned more than it has paid out, and it has a cushion against future downturns without needing outside capital.