About Stock Profit Calculator
Every stock trade tells a story of risk, timing, and transaction costs. A stock profit calculator turns that story into hard numbers, showing whether your position made money and how large the return was after fees. This matters because a profitable-looking sale can quickly become a loss once commissions, platform fees, and taxes are considered. For example, suppose you buy 100 shares at $50 per share and later sell them at $65. The gross gain looks like $1,500, but if your broker charged $10 in total fees, your net profit is $1,490. Your return on the $5,010 total cost is about 29.7%, not 30%. Those small differences add up over dozens of trades and can shape your overall portfolio performance. Use this calculator before you exit a position to set realistic profit targets. Enter the number of shares, your buy price, your intended sell price, and any fees. The tool returns both dollar profit or loss and percentage return. The percentage figure is calculated against your total cost basis, which includes both the purchase price and fees, giving you a more accurate picture than the raw price change. The calculator is also a great teaching tool. New investors often focus only on share price movement and ignore fees. By seeing how $5 or $10 in commissions affects a small trade, you learn to trade in larger blocks or choose low-cost brokers when appropriate.
How It Works
You provide four inputs: shares purchased, buy price per share, sell price per share, and total fees. The tool multiplies shares by buy price and adds fees to determine your total cost basis. It then multiplies shares by sell price to find total revenue. Profit equals revenue minus cost basis. Return percentage equals profit divided by cost basis, multiplied by 100. A negative result means the trade lost money.
Formula & Calculation Logic
The formulas are cost basis = (shares × buy price) + fees, revenue = shares × sell price, profit = revenue − cost basis, and return percent = (profit ÷ cost basis) × 100. The calculation assumes all shares are bought and sold in one transaction and that fees are entered as a single total. It does not include dividends received or capital gains taxes owed.
Step-by-Step Guide
- Step 1: Enter the number of shares traded.
- Step 2: Enter the buy price per share.
- Step 3: Enter the sell price per share.
- Step 4: Enter any broker fees or commissions.
- Step 5: Click Calculate to view profit or loss and return percentage.
Example Calculations
- Scenario 1: You buy 50 shares at $80 and sell at $95 with $7 in fees. Cost basis is $4,007, revenue is $4,750, and profit is $743, a return of about 18.5%.
- Scenario 2: You buy 200 shares at $25 and sell at $22 with $10 in fees. Cost basis is $5,010, revenue is $4,400, and the loss is $610, a return of about -12.2%.
Common Use Cases
- Evaluating a completed stock trade
- Setting price targets before selling a position
- Comparing broker fee structures
- Tracking portfolio strategy performance
Pro Tips
- Include both buy-side and sell-side fees in the total fees field.
- Use percentage return to compare trades of different sizes.
- Do not forget capital gains taxes; set aside part of large profits for tax season.
- Keep a trade log so you can review your average win rate and average return.
Common Mistakes to Avoid
- Ignoring broker commissions when calculating profit
- Confusing gross gain with net return
- Forgetting to include fees on both purchase and sale
- Using the wrong number of shares after a stock split
Why Use This Tool?
- Clear profit/loss number after all fees
- Accurate return percentage based on total cost
- Better decision-making before exiting a trade
- Simple way to track trading performance over time