Sub topic 7
Rolling retained earnings forward with dividends
This chapter assumes you can read a simple income statement and balance sheet and know the terms revenue, expense, asset, liability and equity. It also assumes you can follow short Python or spreadsheet formulas. Earlier chapters showed that net income feeds the start of the cash flow statement. Here you build the second link: net income into the equity section of the balance sheet, reduced by dividends.
What retained earnings measures
Retained earnings is the cumulative profit a company has kept instead of paying out to owners. It is one line inside shareholders' equity, usually next to share capital (money owners paid in). Retained earnings changes only through a few events, so each period it can be rebuilt from the prior balance:
closing retained earnings = opening retained earnings + net income - dividendsThis is a roll-forward. It is the simplest schedule in the model, and an error in it throws the balance sheet out by exactly the amount of the error.
The roll-forward and its two ends
The opening balance is the prior period's closing balance. It is never typed in again after the first period. Net income comes from the bottom of the income statement. Dividends come from an assumption, and the same figure also appears on the cash flow statement as a financing outflow.
The same dividend number is therefore used in two places: it reduces equity, and it reduces cash. If the model uses it in only one of them, the balance sheet will not balance. The mismatch will equal the dividend.
A worked example
The earlier example in this tutorial used a single equity figure of 200 and produced net income of 67.8 and dividends of 20. To show the roll-forward, split that 200 into two parts. These are illustrative figures: share capital of 120 and retained earnings of 80.
| Line | Amount |
|---|---|
| Opening retained earnings | 80.0 |
| Plus net income | 67.8 |
| Less dividends | 20.0 |
| Closing retained earnings | 127.8 |
| Share capital (unchanged) | 120.0 |
| Total closing equity | 247.8 |
Total equity of 247.8 matches the earlier model's opening["equity"] + net_income - dividends. Splitting equity into two lines changes nothing in the totals. It only makes the mechanics visible.
share_capital = 120.0
opening_re = 80.0
net_income = 67.8
dividends = 20.0
closing_re = opening_re + net_income - dividends
total_equity = share_capital + closing_re
print(round(closing_re, 2)) # 127.8
print(round(total_equity, 2)) # 247.8
assert abs(total_equity - 247.8) < 1e-6Setting the dividend assumption
Dividends are a decision by the board, not a result of the accounting, so they are a driver. Two forecasting styles are common.
- Fixed amount. Dividends are a number per period, such as 20.0. This suits a company with a stable dividend policy.
- Payout ratio. Dividends equal a percentage of net income, such as 30%. This keeps dividends in proportion to profit as the forecast changes.
The payout ratio looks neat but has a failure mode. If net income is negative, 0.30 * net_income is a negative dividend, which would add cash to the company. A model should floor the result at zero. A second guard is to cap dividends so they cannot exceed the cash available, which is discussed below.
The function below rolls retained earnings across several periods using a payout ratio with a zero floor. The fourth period is a loss year to exercise the floor.
def roll_forward(opening_re, net_incomes, payout_ratio):
rows = []
re_balance = opening_re
for ni in net_incomes:
dividends = max(0.0, payout_ratio * ni)
closing = re_balance + ni - dividends
rows.append((re_balance, ni, dividends, closing))
re_balance = closing
return rows
rows = roll_forward(80.0, [67.8, 75.0, 82.0, -10.0], 0.30)
for year, (opening, ni, div, closing) in enumerate(rows, start=1):
print(year, round(opening, 2), round(ni, 2), round(div, 2), round(closing, 2))
# 1 80.0 67.8 20.34 127.46
# 2 127.46 75.0 22.5 179.96
# 3 179.96 82.0 24.6 237.36
# 4 237.36 -10.0 0.0 227.36Notice that each row's opening balance equals the previous row's closing balance. In a spreadsheet, this means the opening cell in year 2 points at the closing cell in year 1, not at a typed number.
Where the dividend goes on the other statements
The dividend never appears on the income statement. It is a distribution of profit, not an expense, so it does not reduce net income. Treating it as an expense is a common mistake. It would reduce net income, which would then reduce retained earnings a second time through the roll-forward.
On the cash flow statement, dividends paid are a financing outflow. The indirect method starts from net income, which is before dividends, so the dividend appears only in the financing section. In the earlier model, financing cash flow was -debt_repayment - dividends, which is -30.
The three effects of one 20.0 dividend are:
| Statement | Effect |
|---|---|
| Income statement | None |
| Cash flow statement | Financing outflow of 20.0 |
| Balance sheet | Retained earnings lower by 20.0, ending cash lower by 20.0 |
On the balance sheet the dividend reduces an equity line and an asset line by the same amount, so the accounting equation still holds.
Declared versus paid
The simple model assumes dividends are paid in the same period they are declared. In practice a company may declare a dividend at year end and pay it next month. Between those dates, retained earnings has already fallen, but cash has not. The difference sits in a liability called dividends payable.
If you model this, the roll-forward uses the declared amount, and the cash flow statement uses the paid amount: declared minus the increase in dividends payable. Then dividends payable behaves like any other liability. An increase in it provides cash, relative to the declared amount. For most forecasting models, paying in the same period is a reasonable simplification, but state it as an assumption.
Edge cases to handle
- Negative retained earnings. After large cumulative losses the balance can fall below zero. This is called an accumulated deficit. The roll-forward formula still works, and the balance sheet still balances. Do not floor the balance at zero.
- Dividends larger than cash. A fixed dividend can push forecast cash negative. The model should flag this, or limit dividends to what the company can afford. A revolver, covered in a later chapter, is another way to fund the shortfall.
- Dividend sign. Store dividends as a positive number in the assumptions. Subtract them in the roll-forward, and subtract them again in financing cash flow. Mixing a positive input with a negative one in different places is a common way to double the effect or cancel it out.
- First period. The opening retained earnings comes from the last actual balance sheet. Only that cell is hard-coded. Every later opening balance is a link.
A quick self-check
You can test the roll-forward without the rest of the model. Retained earnings should rise by exactly net income minus dividends each period. Equal increases are not required, but the change must match.
opening_re, net_income, dividends = 80.0, 67.8, 20.0
closing_re = opening_re + net_income - dividends
change = closing_re - opening_re
assert abs(change - (net_income - dividends)) < 1e-6
print(round(change, 2)) # 47.8If this test passes but the balance sheet still fails, the roll-forward is not the cause. The error is in another schedule or in a link elsewhere.
Exercise
A company starts the year with retained earnings of 150.0. It earns net income of 90.0 and pays out 40% of net income as dividends. What is closing retained earnings, what is the financing cash flow effect of the dividend, and what is the effect of the dividend on the income statement?
Show answer
Dividends are 0.40 × 90.0 = 36.0. Closing retained earnings = 150.0 + 90.0 − 36.0 = 204.0. The dividend is a financing cash outflow of 36.0 (shown as −36.0 in the financing section). It has no effect on the income statement, because a dividend is a distribution of profit and not an expense.
Exercise
In a model, the dividend is subtracted from retained earnings but left out of the cash flow statement. The dividend is 20.0. By how much does the balance sheet fail to balance, and which side is larger?
Show answer
The balance sheet is off by 20.0. Equity falls by 20.0 but ending cash does not, so assets are 20.0 higher than liabilities plus equity.