Written by Behdad Karimi Dermeni, CPA · Reviewed by Maryam Ajorloo, CPA
Retained earnings is the total profit a corporation has kept since it started, after paying out dividends or distributions to its owners. The formula is simple: beginning retained earnings, plus net income (or minus a net loss), minus dividends equals ending retained earnings. It sits in equity on your balance sheet, and it is not cash.
If you have ever opened your balance sheet, spotted a line called "retained earnings," and quietly closed the laptop, you are in good company. It sounds like money sitting in a vault somewhere. It isn't. Retained earnings is a running scorecard of what your business has earned and chosen to keep, and once you see how it moves, it is one of the most useful numbers on the page.
This guide covers what retained earnings is, how to calculate it with a worked example, how it shows up for sole proprietors, LLCs, S corps and C corps, and the one situation where the IRS starts asking questions about it.
Want the number to stay right without a year-end scramble? Start free for 30 days and let your books keep score as you go.
The one rule: retained earnings is a memory, not a bank balance
Here is the rule that explains everything else: retained earnings remembers every dollar of profit you kept, even after that dollar has been spent on something else.
Profit goes in. Dividends and distributions come out. Everything else (buying a laptop, paying down a loan, sitting in savings) changes *where* the money is, not how much profit you kept. That is why a business can have healthy retained earnings and a nervous-looking bank account at the same time.
The retained earnings formula
The retained earnings formula has 3 moving parts:
Ending retained earnings = Beginning retained earnings + Net income (or − net loss) − Dividends or distributions
Beginning retained earnings: last year's ending balance. It carries forward every year, forever.
Net income or net loss: the bottom line of your income statement for the period. If you want a refresher on where that number comes from, here is how to read a profit and loss statement.
Dividends or distributions: profit paid out to owners. Salaries are not on this list: wages, including an S corp owner's salary, are an expense that already reduced net income.
That's the whole formula. (Accounting does occasionally keep things simple. Enjoy it while it lasts.)
How to calculate retained earnings: a worked example
Say you run a small consulting corporation that started 3 years ago. Here is how retained earnings moves year by year:
Year 1: beginning retained earnings $0, net income $40,000, no dividends. Ending retained earnings: $40,000.
Year 2: beginning $40,000, net income $65,000, dividends paid $30,000. Ending retained earnings: 40,000 + 65,000 − 30,000 = $75,000.
Year 3: beginning $75,000, a net loss of $10,000 (a big client paused), dividends paid $5,000. Ending retained earnings: 75,000 − 10,000 − 5,000 = $60,000.
Notice that the loss year did not wipe the slate clean. Retained earnings simply absorbed it, because the 2 good years were still remembered.
The statement of retained earnings
A statement of retained earnings is that same calculation written out as a short report for one period. For year 3 it reads:
Retained earnings, beginning of year: $75,000
Less net loss: ($10,000)
Less dividends paid: ($5,000)
Retained earnings, end of year: $60,000
Lenders, investors and your accountant use it to see how profit and payouts changed equity over the year. Many small businesses fold it into the equity section of the balance sheet instead of printing it separately, which is perfectly fine.

Where retained earnings shows up on the balance sheet
Retained earnings lives in the equity section of the balance sheet, next to items like common stock or paid-in capital. Because assets always equal liabilities plus equity, a wrong retained earnings number is usually the reason a balance sheet "doesn't balance." If you want to build one yourself, our free balance sheet template shows exactly where it goes.
At year-end, your income and expense accounts are "closed" into retained earnings. In most accounting software this happens behind the scenes, which is why the number seems to appear by magic on January 1.
One thing we hear often from customers switching from other software: the opening retained earnings doesn't match last year's tax return. The fix is to start from the final year-end balance sheet in last year's financial statements, not from whatever the old software shows after late adjustments. If you are moving over, our QuickBooks migration page walks through bringing your history with you.
Retained earnings is not cash (a quick example)
Back to the consulting corporation with $60,000 of retained earnings. Over those 3 years it also spent $25,000 on equipment and paid $20,000 off a business loan. Its bank balance? Roughly $15,000.
Nothing went wrong. The profit was kept, it just got turned into equipment and a smaller loan. This is why "we have $60,000 in retained earnings, let's pay a $60,000 dividend" is a sentence that should always be followed by a look at the bank account. Retained earnings tells you what you *earned and kept*. The cash flow statement tells you where it went.
Does your business even have retained earnings?
Here is the part most guides skip: the term "retained earnings" really belongs to corporations. How profit is tracked in your books depends on how your business is taxed.
Sole proprietorship or single-member LLC: no retained earnings line. Profit flows into a single owner's equity (or owner's capital) account, and money you take out is an owner's draw that reduces it. Your profit is taxed on your personal return whether you take it out or not.
Multi-member LLC or partnership: each owner has a capital account instead. Profit is split according to the operating agreement, and each member's draws come out of their own account. The partnership return reports these on its capital account analysis. Our guide to LLC bookkeeping covers how to track them.
S corporation: your books show retained earnings on the balance sheet, but the tax return also tracks an accumulated adjustments account (AAA) on Schedule M-2 of Form 1120-S. The two are related but not identical. Shareholders pay tax on the profit each year whether it is distributed or not, so distributions are generally not taxed again (within your stock basis). The IRS instructions for Form 1120-S explain the AAA rules in detail.
C corporation: this is the classic version. The corporation pays tax on its profit, keeps what it doesn't pay out as dividends, and those dividends are taxed again on the shareholders' personal returns.
If you are not sure which bucket you are in, start with how to pay yourself from an LLC, S corp, or sole proprietorship, because the way you pay yourself is exactly what moves this number.
Keeping draws, distributions and salary in the right categories is the part that usually goes wrong, and it is exactly what ReInvestWealth's AI Bookkeeper handles as transactions come in. See how it works.

Negative retained earnings (an accumulated deficit)
When losses and payouts add up to more than total profit, retained earnings goes negative. Accountants call this an accumulated deficit, which sounds dramatic and usually isn't.
Most new businesses spend their first year or 2 here. You invest in setup, the revenue catches up later, and the deficit shrinks as profits roll in. What matters is the direction: a deficit that gets smaller every year tells a lender a much better story than a positive number that keeps shrinking.
The one thing to watch: paying yourself distributions while the business is running a deficit can create tax problems, especially in an S corp where distributions above your basis become taxable. That is a conversation for your accountant before the transfer, not after.
When too much retained earnings gets the IRS's attention
Here is a problem most small businesses would love to have. A C corporation that piles up profit beyond the reasonable needs of the business, instead of paying dividends, can owe the accumulated earnings tax: an extra 20% on the excess.
According to IRS Publication 542, the general rule of thumb is:
$250,000 of accumulated earnings is generally considered within the reasonable needs of most businesses.
$150,000 is the limit for corporations whose main business is services in accounting, actuarial science, architecture, consulting, engineering, health (including veterinary services), law, or the performing arts.
Above those amounts, the corporation needs a real business reason for keeping the money: planned equipment, an expansion, paying off debt, or enough working capital to get through a slow season. This is not a form you file every year. It typically comes up in an exam, and the IRS can look back further than you might expect (here is how far back the IRS can audit businesses). The best defense is boring: written plans and clean books that show what the money is for.
S corporations, LLCs and sole proprietorships generally do not face this tax, because their profit is already taxed to the owners each year.
How to calculate retained earnings in 5 steps
Find your beginning retained earnings. Use the ending balance sheet from last year's financial statements (or the retained earnings line on last year's corporate return).
Get this year's net income or loss. Take the bottom line from your income statement for the same period.
Total your dividends or distributions. Add up every payout to owners during the year. Leave out salaries and expense reimbursements.
Apply the formula. Beginning retained earnings, plus net income (or minus a net loss), minus dividends or distributions.
Check it against your balance sheet. Assets should equal liabilities plus equity. If they don't, retained earnings is the first place to look.
Practical tips
Record payouts as payouts. A distribution booked as an expense understates profit and makes retained earnings wrong in 2 places at once.
Keep business and personal money apart. One business bank account makes every draw, distribution and contribution easy to spot. (Your future self, and your accountant, will thank you.)
Look at the number monthly, not annually. With real-time financial reports, you see your income statement and balance sheet move as the year goes, instead of meeting retained earnings once a year like a distant cousin at a reunion.
Frequently asked questions
Is retained earnings an asset?
No. Retained earnings is part of equity, not an asset. It records profit the business has kept, but that profit may already be sitting in equipment, receivables or a paid-down loan rather than in cash.
Is retained earnings a debit or credit?
Retained earnings normally has a credit balance, because it is an equity account. Net income increases it with a credit. Net losses and dividends reduce it with a debit. A debit balance means the business has an accumulated deficit.
What is the difference between retained earnings and net income?
Net income is the profit for one period, like a single year. Retained earnings is the running total of all net income since the business started, minus every dividend or distribution paid out over that time.
How does the IRS determine excessive retained earnings?
For C corporations, the IRS looks at whether accumulated earnings go beyond the reasonable needs of the business. Generally $250,000 is considered reasonable ($150,000 for certain service businesses). Above that, documented plans for the money matter, or a 20% accumulated earnings tax can apply.
Do sole proprietors have retained earnings?
Not as a separate line. A sole proprietor or single-member LLC tracks profit in owner's equity, and owner's draws reduce it. The retained earnings label belongs to corporations, including S corps.
Keep the scorecard honest all year
Retained earnings is only as accurate as the books underneath it: every sale, every expense, every draw and distribution in the right place. Connect your bank, let the AI Bookkeeper categorize your transactions, and watch your income statement and balance sheet stay current all year. CPA-level clean books, built by CPAs. Start free for 30 days.
A note from our CPAs: This guide is educational and covers the general rules for US small business owners. Tax situations vary, so for advice on your specific circumstances, talk to your accountant. (If they use ReInvestWealth, they'll already have clean books to work from.)
Written by Behdad Karimi Dermeni, CPA
Co-founder of ReInvestWealth and a founding community builder at Stripe. Behdad built ReInvestWealth to give smart, busy entrepreneurs CPA-level accounting without the CPA-level price tag. Read more · Connect on LinkedIn
Reviewed by Maryam Ajorloo, CPA
Maryam Ajorloo is the co-founder of ReInvestWealth and a CPA who specializes in small business tax and everyday bookkeeping. She helps entrepreneurs keep clean, audit-ready books and make sense of write-offs, filing deadlines, and the numbers behind their business. Read more · Connect on LinkedIn




