Retained Earnings Calculator: From Trial Balance to Ending Balance


Retained Earnings Calculator

Calculate the ending balance of retained earnings using trial balance figures.



The retained earnings balance from the end of the previous period. Found on the prior period’s Balance Sheet.


The company’s profit or loss for the current period. Found on the Income Statement. Use a negative value for a net loss.


The total amount of dividends paid out to shareholders during the period. Found on the Statement of Cash Flows.


Ending Balance of Retained Earnings

$120,000.00

This is the final retained earnings amount that will appear on the current period’s Balance Sheet.

Chart illustrating the change in retained earnings.

What Does it Mean to Calculate the Ending Balance of Retained Earnings Using a Trial Balance?

To calculate the ending balance of retained earnings using a trial balance is a fundamental accounting process. A trial balance lists all the general ledger accounts and their balances, but it doesn’t directly show the ending retained earnings. Instead, you extract key figures from it—specifically, revenues, expenses (to find net income), and dividends—to determine the final retained earnings figure for the period. This calculation forms the Statement of Retained Earnings, which bridges the gap between the Income Statement and the Balance Sheet.

This process is crucial for assessing a company’s financial health. The resulting figure shows how much of the company’s profit was reinvested back into the business rather than being distributed to shareholders. Understanding this helps in making strategic decisions, as explained in our guide on the retained earnings formula.

The Retained Earnings Formula and Explanation

The formula to calculate the ending balance of retained earnings is straightforward and serves as a core principle in accrual accounting. It connects the profits of a period with the cumulative equity of a company.

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

Variable Explanations
Variable Meaning Unit (Inferred) Typical Source
Beginning Retained Earnings The cumulative earnings retained from all previous periods. Currency (e.g., USD, EUR) Prior Period’s Balance Sheet
Net Income The company’s profit for the current period (Revenues – Expenses). A net loss is subtracted. Currency (e.g., USD, EUR) Current Period’s Income Statement
Dividends Distributions of profit to shareholders (cash or stock). Currency (e.g., USD, EUR) Statement of Cash Flows / Trial Balance

Practical Examples

Example 1: A Profitable Growth Company

A software company starts the year with $500,000 in retained earnings. The trial balance shows revenues of $300,000 and expenses of $180,000, resulting in a net income of $120,000. They decide to pay out $20,000 in dividends to early investors.

  • Inputs:
    • Beginning Retained Earnings: $500,000
    • Net Income: $120,000
    • Dividends: $20,000
  • Calculation: $500,000 + $120,000 – $20,000
  • Result: The ending balance of retained earnings is $600,000.

Example 2: A Company with a Net Loss

A manufacturing firm has a beginning retained earnings balance of $200,000. Due to market challenges, it incurs a net loss of $30,000 for the period. Despite the loss, it has a policy to pay a stable dividend and distributes $10,000.

  • Inputs:
    • Beginning Retained Earnings: $200,000
    • Net Income: -$30,000 (a loss)
    • Dividends: $10,000
  • Calculation: $200,000 – $30,000 – $10,000
  • Result: The ending balance of retained earnings is $160,000. This demonstrates how both losses and dividends reduce the equity account. For more information see our article about what is a trial balance.

How to Use This Retained Earnings Calculator

This tool simplifies the process to calculate the ending balance of retained earnings using trial balance figures.

  1. Select Currency: Choose the appropriate currency for your financial statements.
  2. Enter Beginning Retained Earnings: Input the ending balance from the previous accounting period’s balance sheet.
  3. Enter Net Income or Loss: Calculate this from your current trial balance (Total Revenues – Total Expenses) and enter it. Use a negative number for a net loss.
  4. Enter Dividends Paid: Input the total cash and stock dividends declared and paid during the period.
  5. Review the Result: The calculator instantly shows the Ending Retained Earnings, along with a summary table and a visual chart breaking down the components.

Key Factors That Affect Retained Earnings

Several business activities and decisions can significantly impact a company’s retained earnings. Understanding these factors is crucial for strategic financial management.

  • Profitability (Net Income): This is the primary driver. Higher revenues or lower expenses lead to higher net income, which increases retained earnings.
  • Dividend Policy: A company’s decision on how much profit to distribute to shareholders directly reduces retained earnings. Aggressive dividend policies limit the funds available for reinvestment.
  • Economic Conditions: A recession can lead to lower sales and a net loss, eroding the retained earnings balance.
  • Major Capital Expenditures: While not a direct formula component, using retained earnings to fund large purchases (like new factories) is a strategic use of this equity, impacting future growth. You can explore this in our guide to the net income effect on equity.
  • Stock Buybacks: Companies can use retained earnings to repurchase their own stock, which can increase earnings per share but reduces the retained earnings balance.
  • Accounting Changes: A change in accounting principles (e.g., inventory valuation) can sometimes require a retroactive adjustment to the beginning retained earnings balance.

Frequently Asked Questions (FAQ)

1. Where do I find the beginning retained earnings?

You find it on the Balance Sheet from the end of the prior period. It’s listed in the Shareholder’s Equity section.

2. What if my company has a net loss?

If you have a net loss, you subtract that amount in the formula (or enter it as a negative number in the calculator). A loss reduces retained earnings.

3. Can retained earnings be negative?

Yes. If a company has cumulative losses that exceed its cumulative profits, the retained earnings balance will be negative, often called an “accumulated deficit.”

4. How is this different from the statement of retained earnings?

This calculator performs the calculation shown on a Statement of Retained Earnings. The statement is the formal financial report that presents this calculation.

5. Do all companies pay dividends?

No. Many growth-focused companies, especially startups, retain all their earnings to fuel expansion and do not pay dividends.

6. What’s the difference between retained earnings and net income?

Net income is the profit for a single period (e.g., one year). Retained earnings are the cumulative profits built up over the entire life of the company, minus all dividends ever paid.

7. Does a high retained earnings balance always mean a company is healthy?

Generally, it’s a positive sign of historical profitability. However, it could also mean the company isn’t finding good opportunities for reinvestment or isn’t rewarding shareholders. Context is key.

8. How do I get Net Income from a trial balance?

You sum up all revenue accounts and subtract the sum of all expense accounts from the adjusted trial balance. The result is the net income for the period. See our article discussing how dividends affect retained earnings for more information.

Related Tools and Internal Resources

Explore these related financial calculators and guides to deepen your understanding of corporate finance:

© 2026 Your Company Name. All Rights Reserved. This calculator is for informational purposes only and should not be considered financial advice.



Leave a Reply

Your email address will not be published. Required fields are marked *