Yield on cost calculator

Enter every buy of one dividend stock or ETF, reinvested dividends included, and the dividend it pays now. You get your average cost, your yield on cost, today’s yield, and how fast the dividend has grown since your first buy.

Your buys

One row per purchase of the same stock or ETF, for the shares you still hold. Dates are optional; they are needed only for dividend growth, measured from your earliest buy. Put any commission into the price if you want it in your cost. The example below is filled in; replace it with your own numbers, in one currency.

The dividend per share

What one share pays now, before tax. Enter the yearly total, or one payment and how often it comes.

The first gives your dividend growth per year. The second gives today’s yield.

Looking ahead: an assumption

What your yield on cost would become if the dividend kept growing at a steady rate, with no new buys and no reinvestment. Dividends can be cut, so treat this as arithmetic, not a forecast.

Your result

Yield on cost

—

Annual dividend ÷ average cost per share

Current yield

—

Annual dividend ÷ today’s price

Gap

—

Yield on cost minus current yield, in points

Average cost

—

Per share

Total cost

—

All buys

Annual income

—

Shares × dividend per year

Dividend growth

—

Per year, since your first buy

    Worked out in your browser. What you type is not sent anywhere and not saved.

    What yield on cost is

    Yield on cost is the dividend a share pays now, as a percentage of what you paid for it:

    yield on cost = annual dividend per share ÷ your average cost per share

    If you bought more than once, the cost is your average cost per share: everything you paid, divided by the shares you hold. The same figure comes out if you divide your whole year of dividend income by your whole cost.

    The price you paid never changes, so yield on cost moves only when the dividend moves or when you buy more.

    This is the dividend-investing meaning. In property development, yield on cost means net operating income ÷ total project cost, and this calculator does not cover it.

    Worked example: two buys and a DRIP

    This is the example filled into the calculator above. Seven years ago you bought 100 shares at $20.00. Three years ago you bought 50 more at $30.00. The company now pays $0.50 a quarter, which is $2.00 a year.

    Two cash buys of the same stock
    BuySharesPriceCost
    7 years ago100$20.00$2,000.00
    3 years ago50$30.00$1,500.00
    Total150$23.33 avg$3,500.00

    Your average cost is $3,500 ÷ 150 = $23.33 a share. Your yield on cost is $2.00 ÷ $23.33 = 8.57%. Check it the other way: 150 shares × $2.00 = $300 a year, and $300 ÷ $3,500 = 8.57%.

    Two shortcuts give the wrong answer here. Averaging the two prices, ($20 + $30) ÷ 2 = $25, gives 8.00%, because it treats a 50-share buy like a 100-share buy. Using only the first price gives 10.00%, which is true for those 100 shares but not for the holding.

    Now add a DRIP. Over the last year the dividend was $0.48 a quarter. Your 150 shares paid $288, and the plan reinvested it in 9 shares at about $32.00.

    The same holding after a year of reinvested dividends, dividend $2.00 a year
    SharesCostIncome a yearYield on cost
    Total cost basis159$3,788.00$318.008.39%
    Cash you put in159$3,500.00$318.009.09%

    The reinvested shares raise your income from $300 to $318. Counted at the $288 they cost, they pull the average cost up to $23.82 and the yield on cost down to 8.39%, because they were bought at $32, above your average. Counted as free, since no new money left your bank, the yield on cost rises to 9.09%. If the share now trades at $40.00, the current yield is $2.00 ÷ $40.00 = 5.00%, so yield on cost is 3.39 points higher.

    Yield on cost vs current yield

    Current yield is the same dividend divided by today’s share price. It is what a buyer gets today, and what the money now sitting in your holding earns at its market value. Yield on cost is the same dividend divided by the price you paid.

    Yield on cost alone can make a holding look better than it is, for two reasons.

    • It says nothing about the price. Two investors each bought at $40.00, and each stock now pays $2.00 a year. Both have a yield on cost of 5.00%. One stock now trades at $80, the other at $20. The same 5.00% hides a $40 gain per share in one case and a $20 loss in the other.
    • It is measured against old money. Bought at $20 ten years ago, now trading at $80 and paying $2.00: yield on cost is 10.00%, current yield 2.50%. The 10% is on $20 you put in a decade ago. A share you could sell for $80 today pays you $2.00, which is 2.50% of what it is worth now. Whatever that $80 could earn somewhere else, the comparison is with 2.50%, not 10%.

    To see how a holding has really done, price and dividends together, work out your money-weighted return. Yield on cost answers a narrower question: how much cash does each dollar I paid send back to me every year.

    Why reinvested dividends change the number

    A dividend reinvestment plan (DRIP) buys more shares with each payment. Those shares raise your income, but whether they raise your cost depends on how you count them. Both ways are defensible, and they answer different questions.

    • On the cash you put in: reinvested shares cost you nothing new, so only your own deposits count as cost. This yield on cost climbs every quarter, even when the dividend is flat, because the share count grows and the cost does not. It answers: what does the money I paid in myself now pay me?
    • On total cost basis: each reinvested dividend was income you received and chose to spend on shares, so it is added to the cost. This is the cost your broker shows for the holding. It answers: what does every dollar in this holding pay me, including dividends I could have spent?

    The cash version is always the higher of the two once any shares were reinvested. If you compare holdings, use the same version for all of them. Tick “Some shares came from reinvested dividends” in the calculator, mark which rows were reinvested, and it shows both.

    Dividend growth and yield on cost

    If you buy nothing more and reinvest nothing, your yield on cost grows at exactly the rate the dividend grows. In the example, the dividend was $1.40 a year when you first bought and is $2.00 now, seven years later:

    growth per year = (2.00 ÷ 1.40)1/7 − 1 = 5.23%

    On the first lot alone, that took yield on cost from $1.40 ÷ $20 = 7.00% on the day you bought to $2.00 ÷ $20 = 10.00% today.

    The Rule of 72 gives a quick feel for the speed: divide 72 by the growth rate to get roughly the years it takes the dividend, and your yield on cost with it, to double. The exact figure is ln 2 ÷ ln(1 + rate).

    Years for a dividend to double at a steady growth rate
    Growth per yearRule of 72Exact
    3%24.0 years23.4 years
    5%14.4 years14.2 years
    7%10.3 years10.2 years
    10%7.2 years7.3 years

    At the example’s 5.23% a year, 72 ÷ 5.23 is about 13.8 years; the exact answer is 13.6. If that pace held, the 8.39% yield on cost on total cost basis would reach about 16.8% in under 14 years. Ten more years at 5% multiplies it by 1.0510 = 1.63, to 13.67%: the figure the calculator’s look-ahead line shows for the example, next to 14.80% on the cash you put in.

    The arithmetic runs the other way too. A 25% dividend cut takes 8.39% to 6.30% in one step, and a growth rate measured over the past says nothing certain about the next ten years. The same doubling arithmetic sits behind the compound interest calculator, if you want to see how a steady rate builds over time.

    Stock Stats for iPhone

    Your yield on cost for every holding, kept up to date

    A calculator needs you to look up the dividend and add up your buys. Stock Stats works out yield and yield on cost for each holding from the dividends you were actually paid and the buys you recorded, and updates them each time you sync or add a dividend.

    • For each holding, the dividends paid over the last 12 months, scaled to the shares you hold today, so a holding you added to during the year is not understated.
    • Yield divides that income by what the holding is worth today. Yield on cost divides it by what you paid for the shares you hold: your average cost, with commissions and reinvested buys included.
    • Income per year and per month, every dividend received, and growth: your last 12 months of income against the 12 before. A monthly income chart shows the trend over time.
    • Bring dividends and buys in by syncing from Interactive Brokers with a read-only Flex token, by CSV import with presets for Interactive Brokers, Schwab and Fidelity, or by hand.
    • A projection of your dividends over the next 12 months, built from your own payment history. More on the dividend tracker app for iPhone.
    Download on the App Store

    Yield on cost questions

    What is a good yield on cost?

    There is no target number. Yield on cost rises with every dividend raise while you hold, so a share held for ten years will usually show a higher figure than a recent buy of the same stock. Read it next to the current yield, which is what the same money would earn if you bought the share today.

    Should yield on cost include reinvested dividends?

    That depends on the question you are asking. Counting reinvested shares as free gives the yield on the cash you paid in yourself. Adding the reinvested amounts to the cost gives the yield on your full cost basis, which is the cost your broker shows. The calculator shows both when you tick the reinvested-dividends box.

    Do I use the dividend before or after tax?

    Use the dividend before tax, as the company declares it, so your figure compares with published yields. If tax is withheld, your yield on cost after tax is lower by the same share: with 15% withheld, 8.00% becomes 6.80%.

    Why does my broker or app show a different yield on cost?

    Usually for one of four reasons. It may use the dividends paid over the last 12 months instead of the current rate. It may add commissions to your cost. After a sale, a broker that sells your oldest shares first keeps the cost of the newer ones, which changes the average. After a split, both the share count and the price must be the split-adjusted ones.

    Is anything I enter stored or sent?

    No. The calculation runs in your browser. What you type is not sent anywhere and is not saved. Reloading the page brings back the example.