Stock Return Calculator
Calculate your investment returns with precision
Use the stock return calculator above to calculate your investment returns with precision. Just select your currency, enter the buy price, sell price, number of shares, holding period, total dividends received, and any broker commission or fees — the tool instantly computes your total profit, return percentage, annualised return, and net gain after fees. Whether you are reviewing a recent trade, comparing two stock investments, or planning your next purchase, this free online stock return calculator gives you clear, accurate numbers in seconds.
Below you will find a step‑by‑step guide to each input field, the formulas used, worked examples in multiple currencies, common mistakes to avoid, and answers to frequently asked questions about stock returns.
How to Use the Stock Return Calculator
The stock return calculator is designed for clarity and speed. There are no complicated wizards or unnecessary fields — just enter what you know about your trade and click Calculate Returns.
- Select Currency: Choose your preferred currency from the dropdown — USD, EUR, GBP, INR, and more. The calculator displays all results (profit, fees, dividends) in your chosen currency for a familiar reference.
- Buy Price (Per Share): Enter the price you paid for one share of the stock. For example, if you purchased Apple shares at $150 each, type 150 in this field. This is the cost basis used to calculate your profit.
- Sell Price (Per Share): Enter the price at which you sold (or plan to sell) one share. For instance, if you sold at $180, type 180. The difference between sell and buy price is your raw capital gain per share.
- Number of Shares: Enter the total quantity of shares you bought. For example, 50 shares. This multiplies your per‑share profit into total profit.
- Holding Period (Days): Enter how many days you held the stock. Default is 365 (one year). The holding period is essential for annualising your return — a 10% gain in 30 days is very different from 10% in 5 years.
- Total Dividends Received: If the stock paid dividends during your holding period, enter the total dividend amount you received (e.g., $120). Leave 0 if no dividends were paid.
- Broker Commission / Fees: Enter all transaction costs — brokerage charges, exchange fees, taxes withheld at sale — combined into one total amount. Even small fees affect your net return.
- Click “Calculate Returns” — The stock return calculator instantly displays your total profit, return percentage, annualised return, and net gain after fees and dividends are included.
- Use the Reset button to clear all fields and run a fresh calculation for another stock or trade.
What Each Field Means and Why It Matters
Currency Selection
Choosing the correct currency keeps your results consistent and easy to interpret. If you trade on Indian exchanges, select INR; if you trade on US exchanges, select USD. The currency setting is purely cosmetic — the math is identical regardless of currency. Learn more about currency formats on Wikipedia’s ISO 4217 currency codes page.
Buy Price & Sell Price
These two numbers determine your raw capital gain. Buy Price is your entry cost; Sell Price is your exit price. The difference (Sell − Buy) multiplied by Number of Shares equals your gross profit before fees and dividends.
Number of Shares
Profit scales linearly with share count. Doubling your shares doubles your profit (and your risk). Always know exactly how many shares you hold — most brokerage statements show this clearly.
Holding Period (Days)
The longer you hold, the more time compounding works in your favour. Holding period also affects tax treatment in many jurisdictions — short‑term gains are usually taxed at a higher rate than long‑term gains. The IRS explains this clearly in their Capital Gains and Losses guide.
Total Dividends Received
Dividends are cash payments many companies pay shareholders, usually quarterly. Including them gives you your total return — both price appreciation and income. Read Investopedia’s dividend overview to understand why dividend stocks often outperform over long periods.
Broker Commission / Fees
Every brokerage charges fees — flat per‑trade commissions, percentage‑based commissions, exchange fees, securities transaction taxes, and account fees. These compound silently and can wipe out otherwise strong returns. Learn more from the U.S. SEC’s investor bulletin on fees.
The Formulas Behind the Stock Return Calculator
1. Gross Profit (Capital Gain)
2. Net Profit (After Dividends & Fees)
3. Total Return (%)
Where Total Investment = Buy Price × Number of Shares.
4. Annualised Return (%)
Annualising lets you compare two trades of different durations on equal footing. A clear explanation is available on Investopedia’s Annualised Rate article.
Worked Example — A Real Trade
Suppose you bought 50 shares of a stock at $150 and sold them at $180 after holding for 365 days. You received $120 in dividends, and your broker charged $25 in commission.
- Total Investment: 50 × $150 = $7,500
- Gross Profit: (180 − 150) × 50 = $1,500
- Add Dividends: $1,500 + $120 = $1,620
- Subtract Fees: $1,620 − $25 = $1,595 Net Profit
- Total Return: (1,595 ÷ 7,500) × 100 = 21.27%
- Annualised Return (365 days): ~21.27%
Total Investment
$7,500
Net Profit
$1,595
Total Return
+21.27%
Annualised
+21.27%/yr
Why Annualised Return Matters
A 10% gain in 90 days is much better than a 10% gain over 3 years — even though both look identical on the surface. Annualisation converts both into equivalent yearly rates so you can compare them honestly. Here’s a quick reference:
| Total Return | Days Held | Annualised Return |
|---|---|---|
| 10% | 30 | ≈ 213.84%/yr |
| 10% | 90 | ≈ 46.41%/yr |
| 10% | 365 | 10.00%/yr |
| 10% | 730 | ≈ 4.88%/yr |
| 50% | 1825 (5 yr) | ≈ 8.45%/yr |
Understanding Capital Gains and Dividends
Your total return on a stock comes from two sources:
- Capital Gains — Profit from selling shares at a higher price than you bought them. Taxed when realised (sold). See the IRS Capital Gains guide for tax rules in the U.S.
- Dividends — Cash payments distributed by the company, usually quarterly. Some are “qualified” and taxed at lower rates. Learn more in Investopedia’s qualified dividend article.
Common Mistakes to Avoid
- Ignoring brokerage fees — A “winning” trade can become a loss after fees. Always include them.
- Forgetting dividends — They can add 2–5% per year to your total return, especially in mature companies.
- Comparing different timeframes without annualising — Always convert to a yearly rate for fair comparison.
- Treating paper gains as realised profit — Until you sell, the gain isn’t real. Use the calculator post‑sale for accurate tracking.
- Mixing currencies — If you traded in EUR but want to compare with a USD investment, convert one to the other first.
Frequently Asked Questions
What is a stock return calculator?
A stock return calculator is a free online tool that computes your total profit, return percentage, and annualised return from a stock trade. You enter buy price, sell price, number of shares, holding period, dividends, and fees — and it gives you accurate results instantly.
How do I calculate stock returns manually?
Calculate gross profit as (Sell Price − Buy Price) × Number of Shares, add dividends, subtract fees to get net profit, then divide net profit by total investment and multiply by 100 for the return percentage.
What is annualised return?
Annualised return converts your total return into an equivalent yearly rate so you can fairly compare investments held for different lengths of time. A 10% gain in 90 days annualises to roughly 46% per year.
Should I include dividends in my return?
Yes. Dividends are part of your total return. Excluding them understates how well a dividend‑paying stock actually performed — sometimes by several percentage points per year.
Does the calculator include taxes?
No. The stock return calculator shows pre‑tax returns. You should factor in your local capital gains tax rate separately to estimate your take‑home profit.
Can I use this for international stocks?
Yes. Use a single currency throughout the calculation. If your stock is in EUR but you want a USD comparison, convert all prices and dividends to USD first using the current exchange rate.
Does the calculator save my data?
No. All calculations happen locally in your browser. Your trade inputs are never stored, shared, or sent to a server. Your data stays completely private.
Is past return a guarantee of future performance?
No. The stock return calculator measures what already happened or what would happen given inputs you provide. Future stock prices, dividends, and fees are uncertain. Always consult a licensed financial advisor before investing.
External Resources
- Investor.gov – U.S. SEC — Official, beginner‑friendly investing education from the U.S. Securities and Exchange Commission. Covers stocks, bonds, fees, and how to avoid scams.
- What Is Return? – Investopedia — Detailed breakdown of return types (total return, annualised return, real return, etc.) with examples.
- Capital Gains and Losses – IRS — Official U.S. tax guidance on how short‑term and long‑term capital gains are taxed.
- Morningstar — Professional stock research, ratings, historical returns, and dividend data for thousands of companies and funds worldwide.
- Rate of Return – Wikipedia — Mathematical background on rate‑of‑return formulas including arithmetic, logarithmic, and annualised returns.
