How to Calculate Rate of Return on a Stock (ROI)
Understand your investment's performance with our easy-to-use Stock Rate of Return calculator.
Stock Rate of Return Calculator
Calculation Results
Stock Performance Over Time (Simulated)
Note: This chart simulates a hypothetical linear growth/decline of the stock price from purchase to current/selling price. It does not represent actual historical stock performance.
| Metric | Description | Value | Unit |
|---|---|---|---|
| Total Return | Overall percentage gain or loss on the investment, including dividends. | — | % |
| Capital Gain/Loss | Percentage change in the stock's price from purchase to sale. | — | % |
| Dividend Yield | Total dividends received as a percentage of the initial investment. | — | % |
| Holding Period | The duration the stock was held, in days. | — | days |
| Annualized ROI | The compounded annual growth rate of the investment. | — | % per year |
What is Rate of Return on a Stock?
The rate of return on a stock, often referred to as Return on Investment (ROI), is a key metric used by investors to measure the profitability of an investment relative to its cost. It quantizes how much money an investor has made or lost on a stock over a specific period, expressed as a percentage of the initial investment. Understanding your stock's ROI is crucial for making informed decisions about buying, selling, or holding a particular security. This calculation helps you compare the performance of different investments and assess whether your investment strategy is yielding satisfactory results.
Anyone who invests in the stock market can benefit from calculating the rate of return. Whether you are a seasoned investor managing a large portfolio or a beginner making your first stock purchase, knowing your ROI provides clarity on your financial performance. Common misunderstandings often revolve around what to include in the calculation: only capital appreciation, or also dividends? This calculator considers both for a comprehensive view.
Stock ROI Formula and Explanation
The fundamental formula for calculating the Rate of Return (ROI) on a stock is:
ROI (%) = [(Selling Price – Purchase Price + Dividends Received) / Purchase Price] * 100
For investments that are still being held (not sold), the 'Selling Price' is replaced by the 'Current Price'.
To provide a more insightful view, we also calculate key components:
Capital Gain/Loss (%) = [(Current/Selling Price – Purchase Price) / Purchase Price] * 100
Dividend Yield (%) = (Total Dividends Received / Purchase Price) * 100
Annualized ROI (%) = [((1 + Total ROI / 100)^(1 / Number of Years)) – 1] * 100
Variables Explained:
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Purchase Price | The price paid per share when acquiring the stock. | Currency (e.g., USD, EUR) | Positive Number |
| Current Price | The current market price per share of the stock. | Currency (e.g., USD, EUR) | Positive Number |
| Selling Price | The price per share at which the stock was sold. | Currency (e.g., USD, EUR) | Positive Number |
| Dividends Received | Total cash payments made by the company to shareholders per share. | Currency (e.g., USD, EUR) | Non-negative Number |
| Holding Period | The time duration between purchasing and selling (or current date), measured in days. | Days | Positive Integer |
| Number of Years | The holding period converted into years. | Years | Positive Number (can be fractional) |
Practical Examples
Example 1: Profitable Investment with Dividends
Sarah bought 100 shares of TechCorp at $50 per share on January 1, 2023. She received a total of $2.00 in dividends per share over the next year. On January 1, 2024, she sold the shares for $65 per share.
- Purchase Price: $50.00
- Current/Selling Price: $65.00
- Total Dividends Received: $2.00
- Purchase Date: 2023-01-01
- Selling Date: 2024-01-01
Calculation: Capital Gain = $65.00 – $50.00 = $15.00 Total Gain = $15.00 + $2.00 = $17.00 Total Return = ($17.00 / $50.00) * 100 = 34.0% Holding Period = 366 days (including leap year) Number of Years = 366 / 365.25 ≈ 1.002 years Annualized ROI = [((1 + 0.34)^(1/1.002)) – 1] * 100 ≈ 33.9% per year
Sarah achieved a 34.0% total return on her TechCorp investment over one year, with an annualized ROI of approximately 33.9%.
Example 2: Investment Held (No Dividends)
John bought 50 shares of Growth Inc. at $100 per share on March 1, 2024. The stock is currently trading at $115 per share on June 1, 2024. He has not received any dividends.
- Purchase Price: $100.00
- Current Price: $115.00
- Total Dividends Received: $0.00
- Purchase Date: 2024-03-01
- Selling Date: (Not Sold)
Calculation: Capital Gain = $115.00 – $100.00 = $15.00 Total Gain = $15.00 + $0.00 = $15.00 Total Return = ($15.00 / $100.00) * 100 = 15.0% Holding Period = 92 days (March 31, April 30, May 31, June 1) Number of Years = 92 / 365.25 ≈ 0.252 years Annualized ROI = [((1 + 0.15)^(1/0.252)) – 1] * 100 ≈ 72.8% per year
John has a 15.0% total return on Growth Inc. in just over three months, indicating a strong annualized performance of about 72.8%.
How to Use This Stock ROI Calculator
- Enter Purchase Price: Input the exact amount you paid for each share of the stock.
- Select Purchase Date: Choose the date you acquired the stock. This is crucial for calculating the holding period.
- Enter Current Price: Input the stock's current market price per share if you are still holding the investment.
- Enter Selling Price (Optional): If you have sold the stock, enter the price you sold it for per share. Leave this blank if you are still holding.
- Select Selling Date (Optional): If you entered a selling price, select the date you sold the stock.
- Enter Total Dividends Received: Input the total amount of dividends you received per share during your ownership period.
- Click 'Calculate ROI': The calculator will instantly display your Total Return, Capital Gain/Loss, Dividend Yield, Holding Period, and Annualized ROI.
- Interpret Results: A positive total return indicates a profit, while a negative value signifies a loss. The annualized ROI helps understand performance on a yearly basis, even for shorter holding periods.
- Copy Results: Use the 'Copy Results' button to easily transfer the calculated metrics.
- Reset: Click 'Reset' to clear all fields and start a new calculation.
Key Factors That Affect Stock Rate of Return
- Stock Price Movement: The most significant factor. An increase in stock price contributes positively to capital gains, while a decrease leads to losses. Market sentiment, company performance, and economic conditions heavily influence this.
- Dividends: Companies that pay regular dividends can significantly boost the total return, especially for long-term investors. Dividend reinvestment further compounds these gains.
- Purchase Price: Buying a stock at a lower price inherently sets a higher potential for return, assuming the price appreciates.
- Holding Period: The length of time you hold a stock impacts both the total return (more time for price appreciation and dividends) and the annualized return (compounding effects over longer periods). Shorter periods can lead to very high annualized rates if gains are significant, but may not be sustainable.
- Market Conditions: Broader economic trends (bull vs. bear markets), industry performance, and geopolitical events can broadly affect stock prices and therefore your ROI.
- Company Performance: A company's profitability, growth prospects, management quality, and competitive advantages are fundamental drivers of its stock price and dividend policy.
- Transaction Costs: While not directly in the basic ROI formula, brokerage fees and taxes on gains and dividends reduce your net return.
FAQ
- What is the difference between Total Return and Annualized ROI?
- Total Return shows the overall profit or loss as a percentage of your initial investment over the entire holding period. Annualized ROI converts this return into an equivalent yearly rate, allowing for easier comparison of investments held for different durations.
- Should I include brokerage fees and taxes in the calculation?
- For a true 'net' rate of return, yes. However, this calculator focuses on the gross return from the stock itself (price appreciation and dividends). You would typically subtract fees and taxes from the calculated return to find your actual take-home profit.
- What if I bought the stock at different prices (average cost)?
- If you have an average cost basis per share, use that figure as your 'Purchase Price'. For example, if you bought 100 shares at $50 and another 100 at $60, your average cost is $55 ($5500 total cost / 200 shares).
- How accurate is the Annualized ROI calculation for short periods?
- Annualized ROI for very short periods (e.g., a few days or weeks) can be misleadingly high. It assumes the same rate of return can be consistently achieved year after year, which is often unrealistic.
- Does the calculator handle different currencies?
- The calculator itself is unitless for currency inputs. You simply enter the numerical values in whatever currency you transacted in (e.g., USD, EUR, JPY). Ensure all inputs are in the same currency.
- What if the stock price goes down?
- If the selling or current price is lower than the purchase price, and not offset by dividends, the Capital Gain/Loss and Total Return will be negative, indicating a loss.
- How do I input dividends if they were reinvested?
- If dividends were automatically used to buy more shares, you should adjust your 'Purchase Price' to reflect the effective lower cost basis of your total holdings, and account for any fractional shares or cash generated. Alternatively, if you received cash dividends that you later used to buy more shares yourself, you would include those dividends as received in this calculation, and the new shares would be treated as a separate purchase.
- Can I calculate ROI for mutual funds or ETFs?
- Yes, the core principle of calculating return based on purchase price, current/selling price, and distributions (like dividends or capital gains distributions for funds) is the same. You would use the fund's NAV (Net Asset Value) per share as the price.
Related Tools and Resources
- Stock Performance Tracker: Monitor multiple stock investments over time.
- Dividend Reinvestment Calculator: See how reinvesting dividends can grow your investment.
- Capital Gains Tax Calculator: Estimate the taxes owed on your investment profits.
- Portfolio Analysis Tool: Get a comprehensive overview of your entire investment portfolio.
- Compounding Interest Calculator: Understand the power of compounding on savings and investments.
- Guide to Stock Valuation Models: Learn different methods to determine a stock's intrinsic value.