Why dividend investors start with two simple ratios
If you hold a few dividend-paying shares, are learning how income portfolios are analysed, or you work with clients who ask "how much income does this portfolio produce?", you meet two numbers again and again: the dividend yield and the yield on cost. They look almost identical, they are both percentages and they are both calculated with one division. Yet they answer different questions, and confusing them is one of the most common errors in income analysis.
This free first lesson shows you how to calculate both correctly in Excel, together with the forward annual dividend and the yearly income of each holding. You will see why a monthly payer and a quarterly payer must be annualised differently, why yield on cost can make an old holding look better than it is, and how a few formulas copied down a column turn a list of positions into a clear income overview.
We use the same fictional five-stock portfolio as the lab above: Harbor Realty Income, Northgate Utilities, Alder Consumer Brands, Westbrook Pharma and Orion Telecom. The companies, prices and dividends are invented for learning. This lesson is educational only and is not investment advice: it explains how the ratios are calculated and read, not which shares anyone should hold.
The core ideas in plain words
A company that pays a dividend usually announces a payment per share and a rhythm: many US companies pay quarterly, many real estate trusts monthly, and some companies twice a year. To compare companies with different rhythms, you first turn every payment into an annual dividend per share.
The forward annual dividend takes the latest declared payment and multiplies it by the number of payments per year: =payment*payments_per_year. It assumes the current rate continues for the next twelve months. The trailing dividend instead adds up the payments actually made in the last twelve months. Both are used; the forward figure reacts faster to a raise or a cut, the trailing one is based on payments that really happened.
The dividend yield divides the annual dividend by today's share price: =annual_dividend/price. It answers the question: "how much yearly cash income does one dollar invested at today's price buy, if the dividend stays the same?" Because the price is in the denominator, the yield rises when the price falls, which is why a very high yield can be a sign that the market doubts the dividend will last.
The yield on cost divides the same annual dividend by your own average purchase price: =annual_dividend/avg_cost. It describes your personal history: if a company has raised its dividend since you bought, your yield on cost rises above the current yield. It is a nice number to look at, but it says nothing about what your money could earn today, because you could sell at today's price and use the cash elsewhere. For any comparison between holdings, the current yield is the relevant one.
Finally, annual income = shares × annual dividend. Adding it across holdings gives the yearly income of the portfolio before taxes and fees. Keep in mind that a yield is not a return: the total return of a share also includes price changes, and dividends can be cut or suspended at any time.
Worked example: the five-stock income portfolio
Here is the whole lab portfolio with every result calculated. In the lab, rows 3 to 6 are already filled in and you calculate row 2, Harbor Realty Income. The formulas are the same in every row.
| Company | Price | Payment | Per year | Shares | Avg cost | Annual div. | Fwd yield | YoC | Income |
|---|---|---|---|---|---|---|---|---|---|
| Harbor Realty Income | $56.40 | $0.27 | 12 | 120 | $48.75 | $3.18 | 5.64% | 6.52% | $381.60 |
| Northgate Utilities | $41.80 | $0.52 | 4 | 200 | $44.10 | $2.08 | 4.98% | 4.72% | $416.00 |
| Alder Consumer Brands | $128.50 | $1.18 | 4 | 45 | $92.30 | $4.72 | 3.67% | 5.11% | $212.40 |
| Westbrook Pharma | $63.20 | $0.79 | 4 | 80 | $58.00 | $3.16 | 5.00% | 5.45% | $252.80 |
| Orion Telecom | $23.75 | $0.62 | 2 | 300 | $27.40 | $1.24 | 5.22% | 4.53% | $372.00 |
| Total | $1,634.80 |
| Cell | Result for Harbor | Value | Excel formula |
|---|---|---|---|
| G2 | Forward annual dividend per share | $3.18 | =C2*D2 |
| H2 | Forward dividend yield | 5.64% | =G2/B2 |
| I2 | Yield on cost | 6.52% | =G2/F2 |
| J2 | Annual income from the position | $381.60 | =E2*G2 |
| J7 | Total annual income | $1,634.80 | =SUM(J2:J6) |
Harbor pays $0.265 every month, so the forward annual dividend is 0.265 × 12 = $3.18. At a price of $56.40 that is a forward yield of 5.64%. You bought at an average of $48.75, so your yield on cost is 6.52%, higher than the current yield because the price has risen since you bought. With 120 shares, the position produces $381.60 a year, and the whole portfolio $1,634.80.
Look at how the two yields differ across the portfolio. Alder Consumer Brands has the lowest forward yield, 3.67%, but a yield on cost of 5.11%, because the shares were bought far below today's price. Orion Telecom is the opposite: bought at $27.40, now at $23.75, so the yield on cost (4.53%) is below the current yield (5.22%). Northgate shows the same pattern on a smaller scale. Neither number says whether a holding is good or bad: they describe the price you paid and the price today.
The portfolio-level view is just as simple. The total market value is $33,091.50 and the total cost is $31,683.50. Dividing the total income by these gives a portfolio forward yield of =J7/SUMPRODUCT(B2:B6,E2:E6) ≈ 4.94% and a portfolio yield on cost of =J7/SUMPRODUCT(F2:F6,E2:E6) ≈ 5.16%. These are value-weighted averages, which is the correct way to average yields: a simple AVERAGE(H2:H6) would give every position the same weight regardless of its size.
Trailing versus forward: the same company, two yields
Data websites often show different yields for the same share, and the reason is usually the definition. Suppose, for example, that Westbrook Pharma paid $0.75 in each of the first two quarters of the last twelve months and then raised the payment to $0.79 for the last two. The trailing annual dividend is the sum of what was actually paid: =SUM(0.75,0.75,0.79,0.79) = $3.08, a trailing yield of 3.08 ÷ 63.20 ≈ 4.87%. The forward annual dividend annualises the latest payment: 0.79 × 4 = $3.16, a forward yield of 5.00%.
Neither figure is wrong. After a raise, the forward yield is higher than the trailing one; after a cut, it is lower. When a source quotes a yield, check which definition it uses and on which date the price was taken, then recompute it in your sheet. In a payment log with one row per payment, the trailing dividend can be calculated with =SUMIFS(amount_column,date_column,">"&EDATE(TODAY(),-12)), which adds all payments of the last twelve months automatically.
Reading the numbers with care
Three questions help you interpret any yield table without reading too much into it. First, is the dividend covered? A company that pays out more than it earns may not be able to keep paying; the second lesson of this course measures that with payout ratios. Second, is the payment regular? One-off or special dividends inflate a forward figure if you multiply them by the frequency. Third, what currency and tax apply? Income from foreign shares may be reduced by withholding tax and moves with exchange rates. The ratios in this lesson are the starting point of an analysis, not its conclusion.
How to build it in Excel, step by step
- Enter one row per holding with company, price, latest payment per share, payments per year, number of shares and average cost per share (columns A to F, as in the lab). Put headers in row 1 and turn on wrap text with Home › Alignment › Wrap Text.
- In G2 type
=C2*D2for the forward annual dividend. Always multiply by the payments-per-year cell, never by a typed 4. - In H2 type
=G2/B2and in I2 type=G2/F2. Select H2:I6 and pressCtrl+Shift+%, then click Increase Decimal twice to show two decimals. - In J2 type
=E2*G2and format it as currency withCtrl+Shift+$. - Select G2:J2 and double-click the fill handle, or select G2:J6 and press
Ctrl+D, to copy the formulas down to every holding. - In J7 add the total with
=SUM(J2:J6)or pressAlt+=(Mac:Cmd+Shift+T). - Optional: convert the range into a table with
Ctrl+T. New holdings added in the next row then get the formulas automatically, and the total can use structured references such as=SUM(Table1[Annual income]). - To chart the yields, select A1:A6, then hold
Ctrl(Mac:Cmd) and add H1:I6, and choose Insert › Charts › Clustered Column. - Add the portfolio yield with
=J7/SUMPRODUCT(B2:B6,E2:E6). PressCtrl+`to view all formulas at once and check that every row uses its own cells.
=TODAY()-date column shows which figures are getting stale.
Common mistakes and how to spot them
- Annualising every payment with 4.
=C2*4treats Harbor's monthly payment as quarterly and gives $1.06 instead of $3.18. If a monthly payer shows a yield of about a third of what you expected, check the multiplier. - Dividing a single payment by the price.
=C2/B2gives the yield of one payment, 0.47% for Harbor. Yields that look tiny usually come from a missing annualisation. - Swapping the denominators. Forward yield divides by today's price (B), yield on cost by your purchase price (F). If both yields are identical for a holding whose price has moved, one formula points at the wrong column.
- Using yield on cost for comparisons. A high yield on cost on an old holding says nothing about the income the same money would produce today. Compare holdings on the current yield.
- Averaging yields with AVERAGE. A plain average ignores position sizes. Use total income divided by total value, as shown above.
- Treating yield as return or as safe. A yield is a ratio of the current dividend to the price. It does not include price changes, and an unusually high yield often reflects doubt about the dividend. Later lessons check payout ratios and cover for exactly this reason.
- Ignoring taxes and special dividends. One-off special dividends should not be multiplied by the payment frequency, and withholding tax reduces the cash you receive. Lab 8 of the course covers both.
Quick reference: functions and shortcuts used
| Function / shortcut | What it does | Example from this lesson |
|---|---|---|
Multiplication * | Annual dividend and income | =C2*D2, =E2*G2 |
Division / | Yields | =G2/B2, =G2/F2 |
SUM(range) | Total income | =SUM(J2:J6) |
SUMPRODUCT(a, b) | Total market value or cost in one step | =SUMPRODUCT(B2:B6,E2:E6) |
Ctrl+D | Fill down the formula from the top cell of a selection | Copy G2:J2 to rows 3–6 |
Ctrl+T | Create a table that extends formulas automatically | Add new holdings |
Ctrl+Shift+% / Ctrl+Shift+$ | Percent / currency format | Yields in H:I, income in J |
Ctrl+` | Show formulas instead of results | Audit the sheet |
Real-world uses
- Personal income tracking. Replace the fictional holdings with your own and you see at a glance how much cash income the portfolio produces per year and which positions contribute most.
- Budgeting with monthly cash flow. Knowing which holdings pay monthly, quarterly or twice a year helps you plan when cash arrives, for example for someone who uses dividend income to cover regular bills.
- Analyst and advisory reports. Portfolio reports routinely show the weighted portfolio yield and income per holding. The SUMPRODUCT approach is the standard way to compute them correctly.
- Exam and course work. Finance courses test the difference between current yield, trailing and forward dividends. Building them yourself makes the definitions stick.
- Checking data providers. Websites differ in whether they show trailing or forward yields. A small sheet lets you recompute the figure and see which definition a source uses.
What you will build in the rest of this course
Lesson 1 is free. The remaining 19 labs are part of the paid course ($9.90 one-time) and move from "how much income?" to "how reliable is it, and how is it measured over time?". All companies and numbers stay fictional.
Payout ratio & dividend cover (EPS and FCF). You check how well a company's dividend is covered by earnings and by free cash flow, the first test of whether a dividend is sustainable.
Dividend growth rate (CAGR) & the Chowder screen. You measure five years of dividend growth and screen six stocks with a yield-plus-growth rule, built with formulas you can adapt.
Dividend reinvestment (DRIP) compounding. You model ten years of reinvested dividends under stated assumptions and compare the income with taking the cash.
Income portfolio: weighted yield & annual income (SUMPRODUCT). You scale today's method to a seven-stock portfolio and calculate the extra capital an income goal would need.
Dividend safety screen with IF & AND. You rate seven stocks SAFE, WATCH or RISK against payout and balance-sheet rules with logical formulas.
Total return = yield + growth vs price-only. You separate price return and dividend return for two fictional stocks and test the yield-plus-growth shortcut against the full calculation.
Ex-dividend timing & withholding tax. You work out which dividends a holder is entitled to around the ex-dividend date and what arrives after withholding tax.
Summary
The annual dividend is the payment times the payments per year: =C2*D2. Divide it by today's price for the forward yield, by your purchase price for the yield on cost, and multiply it by your shares for the income. For the fictional Harbor Realty Income that gives $3.18, 5.64%, 6.52% and $381.60, and $1,634.80 for the whole portfolio. Scroll up to the lab, type the four formulas into row 2 and let the sheet check them. It takes about ten minutes and gives you the foundation for every later lesson.
Frequently asked questions
How do you calculate dividend yield in Excel?
Divide the annual dividend per share by the current share price, for example =G2/B2, and format the cell as a percentage. If you only have the latest payment, first annualise it with =payment*payments_per_year.
What is yield on cost?
Yield on cost is the annual dividend divided by your own average purchase price. It shows the income relative to what you paid, and it rises when a company raises its dividend after you bought.
What is the difference between dividend yield and yield on cost?
Dividend yield uses today's share price, yield on cost uses your historical purchase price. For comparing holdings or alternatives today, the current yield is the relevant measure.
What is a forward dividend yield?
The forward yield annualises the latest declared payment (payment times payments per year) and divides it by the current price. The trailing yield instead uses the payments of the last twelve months.
How do I calculate annual dividend income?
Multiply the number of shares by the annual dividend per share, for example =E2*G2, and add up all holdings with SUM. The result is before taxes and fees.
Is a high dividend yield always good?
No. A yield rises when the price falls, so a very high yield can signal that the market doubts the dividend will be maintained. Payout ratio and dividend cover help judge how sustainable a dividend is.
Keep going: Dividend & Income Investing in Excel
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- Payout ratio & dividend cover (EPS and FCF)
- Dividend growth rate (CAGR) & the Chowder screen
- Dividend reinvestment (DRIP) compounding
- Income portfolio: weighted yield & annual income (SUMPRODUCT)
- Dividend safety screen with IF & AND
- Total return = yield + growth vs price-only
- Ex-dividend timing & withholding tax
- Monthly income calendar: when the dividends actually arrive
- Trailing 12 months, special dividends & forward run-rate
- Checking a dividend log: duplicates, missing payments & typos
- Dividend track record: raise streaks, cuts & flat years
- Real dividend growth: does the income beat inflation?
- Payout projection: when dividend growth outruns earnings
- Cost basis with DRIP lots: average cost, yield on cost & a partial sale
- Foreign dividends: withholding, reclaims & currency conversion
- Stress-testing portfolio income with sector cut scenarios
- Income concentration: which holdings & sectors pay the bills
- Projecting income toward a goal: new money, growth & inflation
- Final project: an income portfolio dashboard for a second investor