Audited ·Last updated 27 Jul 2026·3 citations·Tier 2·0 uses

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

Your per-share entry price. Excludes any commissions or fees — this calculator is price-only.
$
The current or exit price per share. Enter 0 for a total wipeout.
$
Used only to compute the total dollar gain — the percentage yield does not depend on share count.
Time held, in years. Used only for the annualized figure — the total capital gains yield does not depend on holding period.
yrs
Capital gains yield
30.00
The price-only percentage return: (current price minus purchase price) divided by purchase price. Excludes dividends and any fees entirely.
Total capital gain
$1,500.00
Annualized capital gains yield
14.02%

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.

  1. Enter the purchase price per share — your entry price, excluding any commissions.
  2. 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.
  3. Enter the number of shares, used only to compute the total dollar capital gain — it has no effect on the percentage yield itself.
  4. Enter the holding period in years, used only for the annualized figure.
  5. Read the capital gains yield — the pure price-return percentage, with no dividends or fees included.
  6. 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.

CGY = (P₁ − P₀) ⁄ P₀ × 100

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.

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.

shares100
current Price Per Share65
holding Years2
purchase Price Per Share50

Frequently asked questions.

Why does this calculator exclude dividends entirely?
Because isolating the price-movement component of return from the income component is the entire point of the metric. Total return is the sum of capital gains yield and dividend yield; by reporting capital gains yield on its own, this calculator lets you see exactly how much of a stock's performance came from the market repricing the shares versus how much came from cash distributions. Quanta's stock-return calculator already combines both components into a single total-return figure for anyone who wants the complete picture in one pass; this calculator exists specifically for the cases where you want the price-only component isolated and labeled as such.
How is capital gains yield different from total return?
Total return equals capital gains yield plus dividend yield (for a single holding period with no complicating reinvestment timing). Capital gains yield captures only the price-appreciation piece; total return captures both the price-appreciation piece and the income piece together. A stock that trades flat but pays a solid dividend can have a total return well above zero while its capital gains yield sits at essentially zero — the two numbers are answering genuinely different questions, and reporting only total return can obscure exactly where the performance came from.
How is this different from Quanta's ROI calculator?
The ROI calculator is a generic tool: (final value minus initial investment) divided by initial investment, applicable to any asset, business project, or investment type, with an optional CAGR annualization. It is not specific to share prices and does not distinguish between price appreciation and dividend income — if you feed it a stock's final value including reinvested dividends, its output is closer to total return than to capital gains yield alone. This calculator is deliberately narrower and share-price-specific: it excludes dividends and fees by design, so that the reported percentage is unambiguously the price-only component.
Is capital gains yield the same as a capital gains tax calculation?
No, and confusing the two is a common mistake. Capital gains yield is a percentage return — how much the share price itself moved. A capital gains tax calculation, which Quanta provides as a separate dedicated calculator, determines how much tax is owed on a realized gain, which depends on your holding period (short-term versus long-term, per IRS Publication 550), your tax bracket, and your jurisdiction — not on the raw percentage return by itself. A large capital gains yield does not by itself tell you your tax liability, and a capital gains tax bill does not tell you what percentage return you actually earned.
Can capital gains yield be negative?
Yes. Any time the current price is below the purchase price, capital gains yield is negative, reflecting a price decline. This is a completely normal, correctly handled outcome — it does not mean the position necessarily lost money overall if dividends received during the holding period were large enough to offset the price decline, which is exactly the kind of situation where checking dividend yield and capital gains yield separately, rather than relying on price movement alone, gives the clearer picture.
Why does the annualized figure use the same math as CAGR?
Because annualizing a price ratio over multiple years is mathematically identical whether the ratio comes from a full investment value (as in CAGR) or from a share price alone (as here) — both are a beginning-to-ending ratio raised to the power of one divided by the number of years, minus one. The distinction is only in what value is being annualized: CAGR, as computed by Quanta's dedicated CAGR calculator, typically applies to a full portfolio or investment value that may include dividends and contributions, while this calculator applies the identical compounding formula strictly to price, keeping the price-only framing consistent from the raw yield all the way through to the annualized figure.

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon