# Calculating Investment Percentage Gains or Losses – Investopedia

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.
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.

$text{Investment percentage gain} = frac{text{Price sold} – text{purchase price}}{text{purchase price}} times 100$

Investment percentage gain=purchase pricePrice soldpurchase price×100﻿
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.
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. The percentage gain or loss calculation can be used for many types of investments. Below are two examples. 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:
Alternatively, the gain can be calculated using the per-share price, as follows:
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:
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.
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: 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%. 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: 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.
Financial Industry Regulatory Authority. “Cost Basis Basics—Here’s What You Need to Know.”
Financial Industry Regulatory Authority. “Capital Gains and Losses.”
S&P Dow Jones Indices. “Comparing Iconic Indices: The S&P 500 and DJIA.” Page 7.
Bureau of Economic Analysis. “How Are Dividends Defined in the U.S. National Accounts?