Introduction
The Stock Profit Calculator helps you figure out how much money you made or lost on a stock trade. Just enter the price you bought a stock at, the price you sold it at, and the number of shares you traded. The calculator will show you your total profit or loss in dollars and as a percentage. You can also include broker fees and commissions to get a more accurate result. Whether you are a beginner learning about investing or an experienced trader tracking your returns, this tool makes it quick and simple to see how your stock investments performed.
How to Use Our Stock Profit Calculator
Enter your stock purchase and sale details below to find out how much profit or loss you made on your investment.
Buy Price Per Share: Type in the price you paid for each share of stock when you bought it. This is your cost per share in dollars.
Number of Shares: Enter the total number of shares you bought. This tells the calculator how many shares were part of your trade.
Sell Price Per Share: Type in the price you sold each share for. This is the amount you received per share when you closed your position.
Buying Commission: Enter any fee or commission you paid when you bought the stock. If your broker charges no fees, type in zero.
Selling Commission: Enter any fee or commission you paid when you sold the stock. If your broker charges no fees, type in zero.
Stock Profit Calculator – Figure Out Your Real Gains
When you buy and sell stocks, the price change is only part of the story. Your actual profit depends on several other costs that eat into your returns. This stock profit calculator helps you find your true net profit by accounting for the number of shares traded, broker commissions, and capital gains taxes — all in one place.
What Is Stock Profit?
Stock profit is the money you make (or lose) after buying shares at one price and selling them at a different price. If you buy 100 shares at $50 each and sell them at $75 each, your gross profit is $2,500. But that's not the whole picture. You still need to subtract fees and taxes to find your net profit — the money that actually stays in your pocket. To understand how your returns stack up over time, you can also use our ROI Calculator to measure performance across different investments.
Costs That Affect Your Profit
Two main costs reduce your stock profit:
- Broker Commissions: These are fees your brokerage charges when you buy or sell shares. Some brokers charge a flat fee per trade (like $9.99), while others charge a percentage of the trade value. Many modern online brokers now offer commission-free trading, which means you can set these to $0.
- Capital Gains Tax: When you sell a stock for more than you paid, the government taxes that gain. In the United States, short-term capital gains (stocks held for one year or less) are taxed at your regular income tax rate, which can range from 10% to 37%. Long-term capital gains (stocks held for more than one year) are taxed at lower rates — typically 0%, 15%, or 20%, depending on your income. If you hold stocks in a tax-advantaged account like a Roth IRA or 401(k), you can set the tax rate to 0%. For a deeper look at how taxes impact your trades, try our Capital Gains Tax Calculator.
Key Terms Explained
- Return on Investment (ROI): This tells you how much profit you made compared to how much you spent. An ROI of 40% means you earned 40 cents for every dollar you invested. Our ROI Calculator can help you analyze returns across your entire portfolio.
- Break-Even Sell Price: This is the minimum price per share you need to sell at just to get back all the money you put in, including commissions. Selling above this price means profit; selling below means a loss. For a broader look at break-even analysis in business and investing, check out our Break Even Calculator.
- Net Profit Per Share: Your total net profit divided by the number of shares you traded. This makes it easy to compare trades of different sizes.
How to Use This Calculator
Enter the number of shares you bought, the price you paid per share, and the price you sold (or plan to sell) at. Then add your broker commissions and your tax rate. The calculator instantly shows your net profit, ROI, break-even price, and a full cost breakdown. You can also explore "What-If" scenarios to see how your profit would change at different sell prices, and use the comparison table to evaluate multiple trades side by side.
Tips for Maximizing Stock Profit
Keeping costs low is one of the simplest ways to increase your returns. Choose a broker with low or zero commissions. Hold investments for more than one year when possible to qualify for the lower long-term capital gains tax rate. And always calculate your break-even price before entering a trade so you know exactly what target you need to hit just to avoid a loss.
If you're building wealth over time rather than making individual trades, consider exploring strategies like dollar-cost averaging to reduce the impact of market volatility. For dividend-paying stocks, our Dividend Calculator and Dividend Yield Calculator can help you estimate the income side of your returns. And to see how your gains compound over the long run, our Compound Interest Calculator and Investment Calculator are valuable planning tools. If you're investing within a retirement account, our Roth IRA Calculator and 401k Calculator can help you project your tax-advantaged growth.