How to Calculate Retained Earnings: A Simple Guide
You close the month with solid sales, paid your bills, and maybe even transferred money to yourself. Then your accountant asks for retained earnings, and the number doesn't seem to match what's sitting in your bank account.
That confusion is normal. Small business owners, freelancers, and first-time founders often mix up profit, owner pay, and cash on hand. They're related, but they aren't the same thing. Retained earnings helps you separate those ideas so you can see what your business has built over time.
If you're learning how to calculate retained earnings, the good news is that the math is simple. The harder part is knowing which numbers belong in the formula, especially net income. Once that clicks, retained earnings becomes much less intimidating and much more useful.
Table of Contents
- Your Profit Is Not Your Paycheck Understanding Retained Earnings
- The Core Formula for Retained Earnings
- Real-World Calculation Examples
- How to Create a Statement of Retained Earnings
- Common Mistakes to Avoid When Calculating Retained Earnings
- Streamline Your Inputs with XPenses
- Put Your Financial Story to Work
Your Profit Is Not Your Paycheck Understanding Retained Earnings
A lot of owners reach retained earnings through a simple question: “If I made money, why doesn't it feel like I have it?”
Part of that answer is timing. Part is spending. Part is that your business can be profitable while cash is tied up elsewhere. Retained earnings gives you a cumulative view of profit kept in the business after payouts to owners or shareholders. It tells a longer story than one month's bank balance.
For a freelancer, that story may look informal. You earn income, pay business expenses, and take draws when you need to pay yourself. For a corporation, the structure is more formal, with dividends and an equity section on the balance sheet. In both cases, retained earnings helps explain what the business has kept versus what it has distributed.
Retained earnings isn't a pile of cash. It's a running record of profit that stayed in the business over time.
That's why it's useful for decisions that matter. Can you reinvest? Can you afford a larger owner payout? Are you building equity, or are you draining it? Those answers start to come into focus when you stop treating profit like take-home pay.
If you're also trying to separate business income from personal pay, a paycheck calculator for owner planning can help you think more clearly about what belongs to you versus what remains in the business.
The Core Formula for Retained Earnings
A good way to make retained earnings less intimidating is to treat it like a running scoreboard. You start with what the business had kept up to the beginning of the period, add what it earned during the period, and subtract what it paid out to owners.
The formula is:
Beginning Retained Earnings + Net Income - Dividends = Ending Retained Earnings

What retained earnings measures
Retained earnings sits in shareholders' equity. It records how much profit the business has kept over time after distributions to owners or shareholders.
That distinction matters because owners often mix up three different ideas: profit, cash, and pay. Retained earnings tracks accumulated profit kept in the business. Your bank balance tracks cash. Your paycheck, draw, or dividend tracks money taken out.
A company can show positive retained earnings and still feel cash pressure if money is tied up in receivables, inventory, equipment, or debt payments.
The three inputs in plain English
Each part of the formula answers a simple question.
-
Beginning retained earnings
This is your starting balance from the prior period. If last month or last year closed with a certain retained earnings number, that same number becomes the opening balance for the next period. -
Net income or net loss
This is the hardest input for many owners because it depends on clean books. Net income comes from your income statement after revenue and expenses are recorded properly. If your transactions are incomplete or mixed with personal spending, this number gets shaky fast. That is why many small businesses benefit from tools that make expense capture and reporting easier. XPenses helps organize the records behind the number, and its reporting build process for small business visibility shows how better inputs lead to more reliable outputs. -
Dividends or owner distributions
This is the amount paid out instead of kept in the business. For corporations, this usually means dividends. For freelancers and sole proprietors, the practical equivalent is often an owner draw or withdrawal, though the accounting treatment depends on the business structure.
Practical rule: If your opening retained earnings balance is off, your ending balance will be off too. Start by confirming last period's closing number.
The formula stays the same across business types, but the labels around it can feel different.
A freelancer may not maintain a formal retained earnings schedule every month, especially if the business is very small. The bigger challenge is usually getting to accurate net income and separating owner draws from business expenses. A corporation usually has a cleaner equity structure, so dividends and retained earnings are easier to identify, but the company still needs accurate period profit before the formula works.
Here is a simple example. A business starts the period with $25,000 in retained earnings, earns $10,000 in net income, and pays $5,000 to owners. The ending retained earnings balance is $30,000.
| Input | Amount |
|---|---|
| Beginning retained earnings | $25,000 |
| Plus net income | $10,000 |
| Minus distributions | $5,000 |
| Ending retained earnings | $30,000 |
The math is simple. The bookkeeping behind the inputs is where owners usually need the most help.
Real-World Calculation Examples
A real calculation usually gets clearer when you put it into a business you recognize. A freelancer and a corporation can use the same retained earnings formula, but the hard part shows up in different places.

For both business types, the math is short. Start with the prior period's ending retained earnings, add net income or subtract a net loss, and subtract dividends or owner distributions. Mercury's retained earnings formula guide also notes that fuller presentations may deduct stock dividends as well.
Example one for a freelancer
A freelance graphic designer might finish the month with strong sales, pay a few personal bills from the business account, and then wonder why the numbers no longer make sense. That confusion usually starts with net income, not the formula itself.
For a freelancer or sole proprietor, owner draws are not operating expenses. They should not sit beside software subscriptions, travel, or contractor costs on the income statement. They are money taken out by the owner.
Here is a simple example:
| Input | Amount |
|---|---|
| Beginning retained earnings or opening equity balance | $8,000 |
| Plus net income for the period | $6,000 |
| Minus owner draw | $2,500 |
| Ending retained earnings or closing equity balance | $11,500 |
The arithmetic is easy. The cleanup work is harder.
If the owner draw was accidentally categorized as an expense, net income would look too low before you even start the retained earnings calculation. That is why freelancers often struggle with this step. They are usually not debating the formula. They are trying to separate business spending from personal withdrawals and get to an accurate profit number.
XPenses helps with the part that causes the most errors. It pulls transactions into one place, makes categorization easier to review, and gives you a cleaner path to net income before you apply the retained earnings formula.
Example two for a small corporation
A small corporation usually has more formal records, so distributions are easier to spot. Instead of owner draws, you are usually looking at dividends approved and paid during the period.
Suppose the company begins with $50,000 in retained earnings, earns $20,000 in net income, and pays $5,000 in dividends.
| Input | Amount |
|---|---|
| Beginning retained earnings | $50,000 |
| Plus net income | $20,000 |
| Minus dividends | $5,000 |
| Ending retained earnings | $65,000 |
That tells a useful story. The business generated profit, kept part of it inside the company, and distributed part of it to shareholders.
The journal entry for a dividend payment is also easier to track in a corporation because it is usually recorded through equity rather than through operating expenses:
| Account | Entry direction |
|---|---|
| Dividends or retained earnings related equity account | Debit |
| Cash | Credit |
The same rule applies here. If dividends get mixed into normal expenses, net income and retained earnings can both end up wrong.
The comparison is simple:
- Freelancers usually need help separating owner draws from expenses
- Corporations usually need clean dividend records
- Both need an accurate net income figure first
Retained earnings works like a running score of what the business kept. The formula gives you the answer, but good records give you the right answer. For many small businesses, net income is the input that takes the most work to trust, which is exactly why a tool like XPenses is useful before you start calculating.
How to Create a Statement of Retained Earnings
You finish the month with a profit on paper, but your banker asks for a statement of retained earnings. That request can feel more formal than the math is.
A statement of retained earnings is a short roll-forward of equity. It shows where the balance started, what profit added during the period, what distributions reduced it, and where the balance ended. For a freelancer operating as a sole proprietor, this statement usually matters less as a formal report because owner draws are not the same as corporate retained earnings. For a corporation, it is a standard way to show how much profit stayed in the business instead of being paid out.
The tricky part is rarely the layout. It is getting a net income number you trust. If your expenses are scattered across cards, receipts, and reimbursements, the statement can look neat while still being wrong. That is why clean bookkeeping comes first, and why a consistent reporting process like the one described in how XPenses built its reporting system makes this much easier to maintain.
What belongs on the statement
A basic statement includes four lines:
- Beginning retained earnings
- Plus net income for the period
- Minus dividends
- Ending retained earnings
You can picture it as a simple bridge from the old balance to the new one. Nothing fancy. The value of the statement is that it explains the change clearly enough for an owner, accountant, or lender to follow without hunting through the general ledger.
Sample statement format
Below is a simple format you can reuse.
Sample Statement of Retained Earnings (For the Year Ended December 31, 2025)
| Item | Amount |
|---|---|
| Beginning retained earnings | [Insert beginning balance] |
| Add net income | [Insert net income] |
| Less dividends | [Insert dividends] |
| Ending retained earnings | [Insert ending balance] |
If you run a corporation, this statement should line up with the equity section of your balance sheet. If you are a freelancer or single-member business owner, use the same idea carefully. You may be tracking owner's equity and draws rather than formal retained earnings. The format is still useful because it helps you separate business profit from money you took out personally.
Keep the presentation clean and plain. A good statement does one job well. It shows how profit stayed in the business, or did not, during the period.
Common Mistakes to Avoid When Calculating Retained Earnings
Most mistakes happen before the final line of math. Owners usually don't struggle with addition and subtraction. They struggle with classification.

Mistakes that change the answer
The opening balance is one of the biggest trouble spots. For a technically correct statement, the opening retained earnings balance should equal the prior period's closing balance because retained earnings is cumulative. Common pitfalls also include misclassifying dividends as operating expenses or forgetting stock dividends, which can overstate ending retained earnings, according to Workday's guide to calculating and forecasting retained earnings.
Here are the errors I see most often:
-
Treating retained earnings like cash
Owners look at the balance and expect that exact amount to be available in the bank. It may not be. The business may have used cash for inventory, equipment, debt payments, or unpaid invoices. -
Recording dividends as expenses
Dividends reduce equity. They are not part of normal operating costs. If you book them as expenses, you shrink net income and distort the retained earnings calculation. -
Using the wrong beginning balance
If the opening number doesn't match the prior closing balance, the whole roll-forward becomes unreliable. -
Forgetting that losses move in the opposite direction A net loss reduces retained earnings. Owners sometimes mechanically “add income” without stopping to ask whether the period ended in a loss.
A quick accuracy check
A simple review process catches a lot of problems:
- Pull the prior period balance sheet and verify the opening retained earnings balance.
- Review the income statement for the final net income or loss number.
- Scan equity transactions for dividends, draws, or stock-related distributions.
- Reconcile to total equity so the figure makes sense within the balance sheet.
Check the equity section after you calculate retained earnings. If the number doesn't reconcile with the rest of the balance sheet, something upstream is probably misclassified.
This is one of those places where careful bookkeeping saves you from cleanup later.
Streamline Your Inputs with XPenses
Most retained earnings errors start with one input: net income. If revenue is incomplete, expenses are miscategorized, or receipts are missing, the retained earnings formula will still calculate cleanly. It will just produce the wrong answer.
That's why the necessary groundwork often happens before the formula. Freelancers need income records in one place. Contractors need receipts attached to transactions. Small teams need a consistent way to categorize expenses and track outgoing money without relying on memory at month-end.
![]()
Why net income is where errors start
Beginning retained earnings is usually stable. Dividends are often easy to spot if you've recorded them properly. Net income is the slippery part because it depends on all the daily admin work owners tend to postpone.
That includes:
- Income tracking so invoices and payments don't get lost
- Expense categorization so personal and business spending don't blur together
- Receipt capture so transactions have backup
- Reporting organization so you're not rebuilding the period from bank exports
When those inputs are messy, you can't confidently calculate retained earnings. You're guessing at the most important number in the formula.
What a cleaner workflow looks like
A more practical workflow is simple. Record income as it comes in. Categorize expenses as they happen. Attach receipts right away. Review reports regularly instead of waiting for tax season.
That's the everyday problem XPenses is built to solve for freelancers, contractors, and small business teams. It brings expense tracking, income tracking, invoicing, receipt capture, and reporting into one workspace so the numbers behind net income are easier to trust.
Cleaner inputs make retained earnings easier to calculate because you're not reconstructing the year from scattered records.
You still need to understand the formula. Software doesn't replace that. But it does remove a lot of the friction around gathering the right numbers in the first place.
Put Your Financial Story to Work
Retained earnings gives you a clearer answer to a common business question: what has the business kept over time? Once you know how to calculate retained earnings, you can connect current profit, owner payouts, and accumulated equity without mixing them up.
That helps with more than bookkeeping. It helps you decide whether to reinvest, distribute profits, hold back cash, or prepare for conversations with an accountant or lender. For freelancers, it creates separation between business performance and personal withdrawals. For corporations, it sharpens the link between dividends and equity.
Use the process in this guide with your own numbers. Start with the prior balance, confirm net income, subtract distributions, and check that the final figure fits the rest of your balance sheet.
Then make the next calculation easier by keeping cleaner records all year.
Xpenses, Inc. helps freelancers, contractors, and small business teams keep the underlying numbers organized before year-end reporting gets stressful. If you want a simpler way to track income, categorize expenses, capture receipts, and keep records ready for calculations like retained earnings, explore Xpenses, Inc..