Capital Gains Yield Calculator
Free capital gains yield calculator: find the (P1-P0)/P0 price-only return on a stock, excluding dividends. Distinct from total return and ROI.
Capital Gains Yield Calculator
Background.
A capital gains yield calculator answers one narrow, specific question and deliberately answers nothing else: how much did the share price itself go up or down, with dividends and fees left completely out of the picture? Capital gains yield is defined as (current price minus purchase price) divided by purchase price — a pure price-appreciation ratio. That narrowness is not a limitation; it is the entire reason this calculator exists as a separate tool from Quanta's stock-return calculator and ROI calculator, both of which already ship and already answer broader questions.
Quanta's stock-return calculator computes total return: capital gain plus dividends received, net of commissions, plus an annualized CAGR figure and a separate dividend-yield line. It is the right tool whenever you want the complete picture of what a stock position actually earned you. Quanta's ROI calculator is a generic (final value minus initial investment) divided by initial investment tool that works for any asset or business context, not specifically shares, and likewise optionally annualizes via CAGR. Capital gains yield sits underneath both of those broader tools as one clean, isolated component: it is exactly the capital-gain leg of total return, with the dividend-income leg — covered by Quanta's dividend yield calculator — stripped out entirely, and with no fee-netting applied at all.
The reason this isolation matters in practice is that mixing price return and income return together can obscure exactly where an investment's performance actually came from. A stock that trades flat for a year but pays a healthy dividend has a capital gains yield of roughly zero and a total return driven entirely by income. A high-growth stock that pays no dividend at all has a capital gains yield that equals its entire total return, because there is no income leg to add. Comparing two positions on total return alone can hide this structural difference; comparing them on capital gains yield and dividend yield separately reveals it immediately, and that decomposition is exactly what Bodie, Kane and Marcus's Investments textbook teaches as the standard way to analyze total stock return.
Capital gains yield is also a fundamentally different question from a capital gains tax calculation. Capital gains yield tells you what percentage return the share price itself produced; a capital gains tax calculator (Quanta ships one separately) tells you how much tax you owe on a realized gain, which depends on your holding period, tax bracket, and jurisdiction rather than on the raw percentage return at all. Confusing the two — assuming a calculator that reports one is answering the question the other addresses — is a common source of DIY tax-planning errors.
This calculator takes a purchase price, a current price, a share count, and a holding period. It returns the capital gains yield as a percentage, the total dollar capital gain across your position, and an annualized capital gains yield computed the same way CAGR is computed but applied strictly to price. A price that has not moved at all correctly returns a yield of exactly zero, and a total wipeout to a price of zero correctly returns a yield of exactly -100 percent rather than an error.
What is capital gains yield calculator?
Capital gains yield is the percentage change in a security's price over a holding period, calculated as the ending (current) price minus the beginning (purchase) price, divided by the beginning price. It is one of exactly two components that make up a stock's total return, the other being dividend yield — the income received from cash distributions. Total return, capital gains yield, and dividend yield are related by a simple identity: total return equals capital gains yield plus dividend yield (approximately, for a single period with no reinvestment complications). Capital gains yield deliberately captures only the price-movement half of that identity. It says nothing about dividends paid during the holding period, nothing about commissions or fees incurred buying or selling, and nothing about taxes owed on any realized gain. This narrow scope is what makes it a useful diagnostic tool: by isolating price performance from income performance, an investor or analyst can see exactly which lever — price appreciation or dividend income — drove a stock's results, a decomposition that is standard practice in equity performance analysis.
How to use this calculator.
- Enter the purchase price per share — your entry price, excluding any commissions.
- Enter the current price per share — today's market price, or your exit price if the position has been sold. Enter 0 for a total wipeout.
- Enter the number of shares, used only to compute the total dollar capital gain — it has no effect on the percentage yield itself.
- Enter the holding period in years, used only for the annualized figure.
- Read the capital gains yield — the pure price-return percentage, with no dividends or fees included.
- If you want the full picture including dividends and fees, use Quanta's stock-return calculator; if you want the income side alone, use the dividend yield calculator.
The formula.
Capital gains yield is computed directly: subtract the purchase price per share from the current price per share, divide by the purchase price per share, and multiply by 100 to express as a percentage. No dividends, commissions, or fees enter this calculation at all — it is deliberately the narrowest possible slice of stock performance, isolating price movement alone. The total dollar capital gain scales that same price difference by the number of shares held: shares multiplied by (current price minus purchase price). The annualized capital gains yield applies the identical compounding logic used by Quanta's CAGR calculator, but to price alone rather than to a full ending value: it raises the price ratio (current price divided by purchase price) to the power of one divided by the number of holding years, then subtracts one and multiplies by 100. When the current price equals zero — a total loss — the price ratio is exactly zero, and the annualized figure correctly resolves to exactly -100 percent rather than an undefined result, because zero raised to any positive fractional power is zero.
A worked example.
An investor bought 100 shares at $50 each two years ago; the shares now trade at $65. The capital gains yield is (65 minus 50) divided by 50, times 100, which equals 30 percent — the share price alone rose by 30 percent over the holding period, with no reference to any dividends the stock may or may not have paid along the way. The total dollar capital gain across the full 100-share position is 100 times (65 minus 50), or $1,500. To annualize the yield, the calculator raises the price ratio (65 divided by 50, or 1.3) to the power of one-half (since the holding period is 2 years), which is the square root of 1.3, approximately 1.14018; subtracting 1 and multiplying by 100 gives an annualized capital gains yield of approximately 14.02 percent per year. If this same stock had also paid, say, $2 per share in dividends over the two years, the capital gains yield calculator would still report exactly 30 percent and $1,500 — those dividend dollars simply are not part of this calculation, and an investor wanting the combined figure would add the dividend income separately or use Quanta's stock-return calculator, which performs that combination automatically.
Frequently asked questions.
Why does this calculator exclude dividends entirely?
How is capital gains yield different from total return?
How is this different from Quanta's ROI calculator?
Is capital gains yield the same as a capital gains tax calculation?
Can capital gains yield be negative?
Why does the annualized figure use the same math as CAGR?
References& sources.
- [1]IRS Publication 550 (2025) — Investment Income and Expenses, including cost-basis rules and capital gain/loss treatment for U.S. taxable accounts.
- [2]U.S. Securities and Exchange Commission, Investor.gov — Total Return glossary entry, defining total return as price appreciation plus reinvested dividends/interest.
- [3]Bodie, Z., Kane, A., and Marcus, A.J. — Investments, 12th edition. Chapter 5 decomposes total stock return into capital gain and dividend yield components.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled