How to Calculate the Percentage Gain or Loss on an Investment

Learning how to calculate the percentage gain of your investment is quite easy and is a critical piece of any investor toolbox. It's important to keep an eye on your brokerage account and understand where you are financially—and it's not difficult. All it takes is a little bookkeeping and either a simple calculator or a pad of paper for doing the math.

Determining Percentage Gain or Loss

  1. Take the amount that you have gained on the investment and divide it by the amount invested. To calculate the gain, take the price for which you sold the investment and subtract from it the price that you initially paid for it.
  2. Now that you have your gain, divide the gain by the original amount of the investment.
  3. Finally, multiply your answer by 100 to get the percentage change in your investment.

If the percentage turns out to be negative, resulting from the market value being lower than the book value, you have lost on your investment. If the percentage is positive, resulting from market value being greater than book value, you have gained on your investment.

Here is what the formula looks like:

Investment percentage gain=Price soldpurchase pricepurchase price×100\text{Investment percentage gain} = \frac{\text{Price sold} - \text{purchase price}}{\text{purchase price}} \times 100

As a hypothetical example, imagine if you if you bought 100 shares of Intel Corp. (INTC) @ $30/share on May 18, 2016, your total investment value is $3,000. If you sold the 100 shares on May 17, 2017, for $38/share, your proceeds from the sale would be $3,800. Your realized gain can be calculated as ($3,800 - $3,000) / $3,000 = 26.67%. Alternatively, you can calculate your gain using the per share price, which would look like ($38 - $30) / $30 = 26.67%.

If you just want to know how much loss or gain you've made so far without selling, the same process works and you can use the current market price in the place of the price sold, but the gain (or loss) calculated would be an unrealized gain (or loss).

This basic formula is used every day to find out exactly how many percentage points indexes, stocks, interest rates, and so on have changed over a given period of time. For example, if the Dow Jones Industrial Average (DJIA) opens at 24,000 and closes at 24,480 today, the formula would show that the percentage change over the day was 2.00% [(24,480 – 24,000) / (24,000)].

Factoring in Costs And Any Income or Distributions

Investing does not come without costs and this should be reflected in the calculation of your percent gain or loss. The above is an illustration of the calculation without costs, such as commissions and taxes.

To incorporate costs, reduce the gain (market price - price purchased) by the costs of investing. By incorporating these costs you will get a more accurate representation of your gain or loss.

Also, if your investment paid out any income or distributions, such as a dividend, you will need to add this amount to the gain amount.

Compete Risk Free with $100,000 in Virtual Cash

Put your trading skills to the test with our FREE Stock Simulator. Compete with thousands of Investopedia traders and trade your way to the top! Submit trades in a virtual environment before you start risking your own money. Practice trading strategies so that when you're ready to enter the real market, you've had the practice you need.