How to Calculate the Percentage Gain or Loss on an Investment

Learning how to calculate the percentage gain of your investment is straightforward and is a critical piece of information in the investor toolbox.

To calculate the percentage gain on an investment, investors need to first determine how much the investment originally cost or the purchase price. Next, the purchase price is subtracted from the selling price of the investment to arrive at the gain or loss on the investment.

If investors don't have the original purchase price, they can obtain it from their broker. Brokerage firms provide trade confirmations in paper form or electronically for every transaction, including the original purchase and the sale price as well as the financial details of the investment.

Key Takeaways

  • In calculating the percentage gain or loss on an investment, investors need to first determine the original cost or purchase price.
  • Next, the purchase price is subtracted from the selling price of the investment to arrive at the gain or loss on the investment.
  • Take the gain or loss from the investment and divide it by the original amount of the investment or purchase price.
  • Finally, multiply the result by 100 to get the percentage change in the investment.
1:15

Calculating The Gain Or Loss On An Investment

Determining Percentage Gain or Loss

  1. Take the selling price and subtract the initial purchase price. The result is the gain or loss.
  2. Take the gain or loss from the investment and divide it by the original amount or purchase price of the investment.
  3. Finally, multiply the result by 100 to arrive at the percentage change in the investment.

If the percentage turns out to be negative because the market value is lower than the original purchase price—also called the cost basis—there's a loss on the investment. If the percentage is positive because the market value or selling price is greater than the original purchase price, there's a gain on the investment.

Formula for Calculating Percentage Gain or Loss

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

  1. The percentage gain or loss calculation will produce the dollar amount equivalent of the gain or loss in the numerator.
  2. The dollar amount of the gain or loss is divided by the original purchase price to create a decimal. The decimal shows how much the gain represents compared to how much was originally invested.
  3. Multiplying the decimal by 100 merely moves the decimal place to provide the percentage gain or loss as compared to the original investment amount.

To determine the percentage gain or loss without selling the investment, the calculation is very similar. The current market price would be substituted for the selling price. The result would be the unrealized gain (or loss), meaning the gain or loss would be unrealized since the investment had not yet been sold.

Why Calculating Percentage Gain or Loss Is Important

Calculating the gain or loss on an investment as a percentage is important because it shows how much was earned as compared to the amount needed to achieve the gain.

For example, if two investors each earned $500 from investing in the same stock, they both had the same amount of gain. At the onset, it appears that both investments achieved the same result. However, if one investor spent $20,000 when the stock was originally purchased, and the second investor spent only $10,000, the second investor performed better because less money was at risk.

Also, the second investor could invest the other $10,000 (assuming both had $20,000 to invest) in a second stock and earn an additional gain.

Examples of Calculating Percentage Gain or Loss

The percentage gain or loss calculation can be used for many types of investments. Below are two examples.

Stock

As an example, let's say an investor bought 100 shares of Intel Corp. (INTC) at $30 per share, which means that it cost $3,000 for the initial investment ($30 price * 100 shares).

The 100 shares were sold for $38 per share, which means that the sale proceeds would be $3,800 ($38 per share * 100). The dollar value of the gain on the investment would be $800 ($3,800 – $3,000).

The percentage gain calculation would be:

  • ($3,800 sale proceeds – $3,000 original cost) / $3,000 = 0.2667 x 100 = 26.67%.

Alternatively, the gain can be calculated using the per-share price, as follows:

  • ($38 selling price – $30 purchase price) / $30 = 0.2666 x 100 = 26.67%.

Index

If an investor wanted to determine how the Dow Jones Industrial Average (DJIA) has performed over a certain period, the same calculation would apply. The Dow is an index that tracks 30 stocks of the most established companies in the United States.

Let's say, as an example, that the Dow opened at 24,000 and closed at 24,480 by the end of the week.

The percentage gain calculation would be:

  • (24,480 – 24,000) / 24,000 = 0.02 x 100 = 2%

Special Considerations: Fees And Dividends

Investing does not come without costs, and this should be reflected in the calculation of percentage gain or loss. The examples above did not consider broker fees and commissions or taxes.

To incorporate transaction costs, reduce the gain (selling price – purchase price) by the costs of investing.

Fees

Using the Intel example above, let's say that the investor was charged $75 in fees from the broker. The percentage gain would be calculated as follows:

  • (($3,800 sale proceeds – $3,000 original cost) – $75) / $3,000 = 0.2416 x 100 = 24.16%.

We can see that the brokerage fee reduced the percentage rate of return on the investment by more than 2% or from 26.67% to 24.16%.

Dividends

If the investment paid out any income or distributions, such as a dividend, the amount would need to be added to the gain amount. A dividend is a cash payment paid to shareholders and is configured on a per-share basis.

Using the Intel example, let's say the company paid a dividend of $2 per share. Since the investor owned 100 shares, Intel would pay $200 split up evenly into four quarterly payments.

The percentage gain would be calculated as follows:

  • (($3,800 sale proceeds – $3,000 original cost) + $200) / $3,000 = 0.3333 x 100 = 33.33%.

Assuming there were no brokerage fees and the stock was held for one year, we can see that the dividend increased the percentage rate of return for the investment by more than 6% or from 26.67% to 33.33%.

If the stock wasn't held for one year and, instead, was held for two quarters, we would add $100 to the gain amount (instead of $200) since the quarterly dividend payments would be $50 each.

By incorporating the transaction costs, account fees, commissions, and dividend income, investors can obtain a more accurate representation of the percentage gain or loss on an investment.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Financial Industry Regulatory Authority. “Cost Basis Basics—Here’s What You Need to Know.”

  2. Financial Industry Regulatory Authority. “Capital Gains and Losses.”

  3. S&P Dow Jones Indices. “Comparing Iconic Indices: The S&P 500 and DJIA.” Page 7.

  4. Bureau of Economic Analysis. “How Are Dividends Defined in the U.S. National Accounts?

Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.
Service
Name
Description
Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.