Percentage Gain Calculator

The Percentage Gain Calculator works out the percentage return between the price you paid and the price you sold or now hold at, before you decide whether to hold, sell or reinvest. You enter a buy price and a sell price, or solve for a price that hits a target gain. It returns your percentage gain or loss, the amount gained in money, and the annualized return.

Enter your buy and sell prices to get the percentage gain or loss.

Advanced options
Percentage gain
+20.00%
Gain amount
Annualized (CAGR)
Break-even gain

Gain of 20.00% on the position.

Show the math
+20.00% = (120 − 100) ÷ 100 × 100
eToro
Rated 78/100 by InvestinGoal
  • Minimum deposit: $50
Visit eToro
Reviewed by Filippo Ucchino Founder, InvestinGoal

These results are estimates for educational purposes only and are not financial, investment or tax advice.

What is a percentage gain calculator?

A percentage gain calculator is a tool that computes percentage gain, the change in value between an entry price and an exit price expressed as a percentage of the entry price. The metric it calculates, percentage gain, turns two raw prices into one comparable number: a positive result is a gain, a negative result is a loss, and the size of the number tells you how far the price moved relative to what you paid. Because the change is measured against the entry price rather than a fixed amount, the same 20-point move is a large gain on a cheap stock and a small one on an expensive stock. The calculator handles that division for you and, given a quantity or a holding period, extends the same figure into the money gained and the yearly rate.

Why is the percentage gain calculator important for investors?

The percentage gain calculator is important for investors because it converts two prices into a comparable return, the single number you weigh before deciding whether to hold, sell or reinvest. A raw price move tells you little on its own: rising from $50 to $60 and from $500 to $510 are the same $10, but one is a 20% gain and the other a 2% one, and only the percentage makes two positions or two ideas directly comparable. Sizing every result the same way is a basic habit of investing, because it stops a large-looking dollar figure from disguising a thin return, or a small one from hiding a strong percentage.

Investors reach for the calculator at the point of decision, while there is still a choice to make. You use it to judge a position you have closed or still hold, to test an entry idea against a price target before committing capital, or to check what a stock would return if it reached the level you have in mind. Running the percentage before you act is the point: it keeps the decision anchored to the return rather than to the headline price.

How do you use the percentage gain calculator for stock returns?

To use the percentage gain calculator, pick a mode, enter your buy price and sell price, and the tool returns your percentage gain along with the amount gained and the annualized return.

The steps to use the percentage gain calculator are listed below:

  1. Choose a calculation mode. Select "From prices" to get the percentage from a buy and a sell price, "Solve for exit" to find the sell price a target gain requires, or "Solve for entry" to find the buy price it implies.
  2. Enter your buy / entry price. This is the price you paid for the share, and it is the base the whole percentage is measured against.
  3. Enter your sell / current price. This is the price you sold at or the price the share trades at now, and the gap between it and your entry is the gain or loss.
  4. Set your target gain. In the two solve modes you type the percentage you are aiming for, and the tool returns the missing sell or buy price instead of asking for it.

Advanced options let you add a quantity to see the gain in money, a holding period in years to see the annualized return, and your account currency for formatting. Built around stock prices such as a share bought at $100 and sold at $120, the calculator works the same for any stock investing decision, and pressing Calculate updates the result.

What formula does the percentage gain calculator use?

The formula the percentage gain calculator uses is the exit price minus the entry price, divided by the entry price, times 100.

gain %=exitentryentry×100

In this formula, the entry is the price you bought at, the exit is the price you sold at or the current price, and gain % is the result, positive for a gain and negative for a loss. Dividing by the entry price is what makes the figure a rate rather than a raw amount, so it can be compared across positions of any size.

Plugging in the default prices, (120 − 100) ÷ 100 × 100 = 20%.

The formula measures only the change in price, so it excludes dividends, costs and taxes, which means the figure it returns is the gross price return, not what actually lands in your account.

What is an example of a percentage gain calculation?

An example of a percentage gain calculation is a stock bought at $200 and sold at $260 with a quantity of 10 shares, which works out to +30.00% and +$600, worked out as follows:

  1. Percentage gain = (260 − 200) ÷ 200 × 100 = +30.00%.
  2. Gain amount = (260 − 200) × 10 shares = +$600.

The percentage is the primary result, and the $600 is the same gain expressed in money once the quantity is known: 10 shares that each rose $60. Note that the percentage is unaffected by how many shares you hold, so a single share and a thousand shares bought at $200 and sold at $260 both return +30.00%, while only the gain amount scales with the quantity.

How do you read the percentage gain calculator's result?

You read the percentage gain calculator's result by taking the headline percentage as your return on the price you paid, then reading the support cards for what that return means in money and per year. The main output is the percentage gain, shown in green when it is positive and red when it is negative, and it always measures the move relative to your entry price, not to any round number. Two optional cards refine it: gain amount puts the result in money once you enter a quantity, and annualized (CAGR) restates it as a yearly rate once you enter a holding period, so a +100% total over five years reads as +14.87% per year.

OutputWhat it tells you
Percentage gainYour return as a percentage of the entry price, green when positive, red when negative
Gain amountThe profit or loss in money, shown when you enter a quantity
Annualized (CAGR)The equivalent yearly return, shown when you enter a holding period

The number to act on depends on the decision in front of you: the percentage gain compares one position against another, the gain amount tells you what selling would realize, and the annualized rate is the one to use before you decide whether the return justifies keeping the capital tied up rather than reinvesting it elsewhere. A large total gain earned slowly can be a modest yearly rate, which is why the annualized card matters when the holding period is long.

How does the percentage gain calculator measure drawdown recovery?

The percentage gain calculator measures drawdown recovery by showing the break-even gain, the percentage rise needed to return to your entry price after a loss, which is always larger than the loss itself. The reason is that the recovery gain is measured against the reduced price, not the original one: a stock that falls from $50 to $45 is down 10%, but climbing back to $50 from $45 is a rise of 5 on 45, so it takes a +11.11% gain to break even, not +10%. The gap widens fast as losses deepen, and this asymmetry is exactly the mathematics of recovering from a drawdown in investing, where a deep fall demands a disproportionately larger advance to get back to where you started.

Loss takenGain needed to break even
−10%+11.11%
−20%+25.00%
−50%+100.00%

The calculator shows the break-even gain automatically whenever the result is a loss, so you can see the bar the position has to clear before it makes money again. Reading it before you average down or hold on is the point: a 50% loss does not need a 50% gain to recover, it needs the price to double.

What are the limits of the percentage gain calculator?

The limits of the percentage gain calculator are that it returns an estimate built entirely from the two prices you enter, and it measures only the change in price. Because it looks at price alone, it excludes dividends, commissions, spread, taxes, slippage and inflation, so your real return is lower than the gross figure shown: fees and taxes take a cut, while dividends received add a return the price move never captures. On a currency-converted position, the exchange rate at each date moves the real result again.

The annualized card carries its own assumption: it spreads the total gain into a single constant yearly rate and ignores the volatility of the path, so a smooth +14.87% per year and a violent one that ended at the same place look identical. What the tool returns is a price-based estimate to inform a decision, not financial advice, and the figures are only as accurate as the prices you type.

What are common mistakes when using the percentage gain calculator to estimate return on investment?

The most common mistakes when using the percentage gain calculator are treating the price gain as the real return, comparing gains from different holding periods, and reading a loss and its recovery as symmetric. Each one makes the number on screen look better, or simpler, than the investment actually was.

  • Mistaking the price gain for the real return. The percentage gain is a gross price move, so counting it as your return on investment (ROI) overstates the result, because true ROI also folds in dividends received and subtracts commissions and taxes paid. A +30% price gain can be a smaller net return once those are counted, and occasionally a larger one once dividends are added.
  • Comparing gains from different holding periods. A +50% gain over one year and a +50% gain over five are not the same investment, and lining up their total percentages hides the difference. Annualizing both is the only way to compare them fairly, which is what the CAGR card is for.
  • Reading recovery as symmetric. A 20% loss does not need a 20% gain to break even, it needs +25%, so judging a comeback by the size of the fall understates how far the price still has to climb.

What is the difference between a percentage gain calculation and a CAGR calculation?

The difference between a percentage gain calculation and a CAGR calculation is that a percentage gain calculation measures the total change between two prices and ignores time, while a CAGR calculation converts that same change into the equivalent compound annual rate. A percentage gain calculation answers how much a price moved in total; a CAGR calculation answers how fast it moved per year, which is the figure that lets you compare investments held for different lengths of time.

AttributePercentage gain calculationCAGR calculation
What it measuresTotal change between two pricesEquivalent compound annual rate
Treatment of timeIgnores how long you heldBuilt around the holding period
Example+100% over any period+14.87% per year over 5 years
Role on this calculatorThe primary resultAn Advanced card, shown when you add a holding period

The two describe the same investment from different angles, and the confusion between them is where a headline gain misleads: +100% sounds large, but spread over five years it is +14.87% a year, and over ten it would be far less. This calculator returns the total percentage gain as its main output and offers the annualized rate as a supporting card, so the total and the yearly view sit side by side without one being mistaken for the other.

Which calculators are related to the percentage gain calculator?

The calculators related to the percentage gain calculator cover the steps around measuring a return, from projecting a gain forward to weighing it against the risk taken to earn it.

The calculators related to the percentage gain calculator are listed below:

  • Compound interest calculator: projects how a gain grows when it is reinvested and compounds over time, the natural next step after measuring a single return.
  • Drawdown calculator: measures the peak-to-trough fall behind the break-even gain, turning recovery into a dedicated risk metric.
  • Forex profit calculator: expresses the same profit or loss in money on a forex trade rather than as a percentage on a stock.
  • Risk/reward ratio calculator: sets a target gain against the risk accepted to reach it, before the position is opened.
  • Kelly criterion calculator: uses a strategy's win rate and payoff to suggest how much capital to stake on each position.
  • Sharpe ratio calculator: adjusts a return for the volatility taken to earn it, so two percentage gains can be compared on risk.
  • Risk of ruin calculator: estimates the chance a run of losses wipes out an account at a given risk per trade.
  • Win rate calculator: measures how often trades win, the frequency that pairs with the size of each gain.

FAQ

How do I calculate percentage gain on a stock?

You calculate percentage gain on a stock by subtracting the buy price from the sell price, dividing the result by the buy price, and multiplying by 100. A share bought at $100 and sold at $120 gives (120 − 100) ÷ 100 × 100, or +20%. A negative result is a loss rather than a gain, and because the figure is a price move it ignores dividends and fees.

How do I calculate the sell price for a target gain?

To find the sell price for a target gain, multiply your buy price by 1 plus the target expressed as a decimal. For a $100 share and a 25% target, that is $100 × 1.25 = $125. The calculator does this in its Solve for exit mode: enter the buy price and the target gain, and it returns the sell price you need to reach it.

Why is my percentage gain different from my broker's real return?

Your percentage gain differs from your broker's figure because this calculator measures only the change in price, while your real return also reflects dividends received, commissions and taxes paid, and any currency conversion. Dividends push your real return above the price gain, while fees and taxes pull it below. A broker statement nets all of these out, so the two rarely match exactly.

How do I turn a total gain into an annualized return?

You turn a total gain into an annualized return with the CAGR formula: divide the ending value by the starting value, raise the result to the power of 1 divided by the number of years, then subtract 1. A holding that doubled over five years, a +100% total, works out to about +14.87% per year. Enter a holding period and the calculator shows this automatically.

This tool is for education, not financial advice. The percentage gain is a gross price return that excludes dividends, costs and taxes, so your real return will differ. Investing carries the risk of losing money.

Select your language

English (Nigeria) country flag English (Nigeria)