Stock Profit Calculator
Calculate stock trade profit, ROI, and break-even price.
A stock profit calculator (or share profit calculator, stock calculator) computes the net gain or loss on a stock trade by comparing your buy price and sell price across your number of shares, after subtracting any broker fees or commissions. It also calculates your return on investment (ROI) percentage and the break-even price needed to cover your costs.
Enter your buy price, sell price, number of shares, and any trading fees to calculate your net profit, ROI, and break-even price.
Worked Calculation Examples
| Scenario | Result | Calculation Step |
|---|---|---|
| 100 shares, bought $45, sold $52, no fees | Profit $700 · ROI ≈ 15.56% | Profit = ($52 − $45) × 100 − $0 = $700. Cost basis = $45 × 100 = $4,500. ROI = $700 ÷ $4,500 × 100 ≈ 15.56%. Break-even price = $45 (no fees to cover). |
| 500 shares, bought $10, sold $10.80, $10 fee each way | Profit $380 · Break-even $10.04 | Profit = ($10.80 − $10) × 500 − $20 = $400 − $20 = $380. Break-even price = $10 + ($20 ÷ 500) = $10.04 - the sell price needed just to cover cost and fees. |
Why Fees Matter More Than Traders Expect
Even small per-trade commissions or spread costs can meaningfully affect returns on short-term or lower-dollar trades, since fees are a fixed cost that eats into gains regardless of trade size. A trade with a small percentage gain can turn into a net loss once fees on both the buy and sell sides are factored in, which is why the break-even price - the sell price needed just to cover your original cost and fees - is a useful number to know before entering a trade.
Realized vs. Unrealized Gains
A gain or loss only becomes realized - and taxable, in most jurisdictions - once you actually sell the shares. Until then, a paper gain or loss based on the current market price is unrealized and can change before you sell. This calculator computes realized profit based on an actual (or hypothetical) buy and sell price you enter.
Short-Term vs. Long-Term Capital Gains Tax Treatment
In the U.S. and many other countries, how long you hold a stock before selling affects how any profit is taxed - gains on shares held for a year or less are commonly taxed as short-term capital gains (often at higher ordinary income tax rates), while gains on shares held longer than a year often qualify for lower long-term capital gains tax rates. This holding-period distinction can meaningfully affect your actual after-tax profit beyond the raw dollar gain this calculator shows. UK investors can still use this as a stock profit calculator UK style estimate for trade math, but tax rules such as capital gains allowances differ by jurisdiction.
How to Use the Stock Profit Calculator
- Open the Stock Profit Calculator and enter the values requested in the input fields.
- Check the units, percentages, dates, or time periods before reading the answer.
- Review the instant result and adjust any value to compare another scenario.
- Use the formula, example, and FAQs below to understand how the stock profit calculator works.
Frequently Asked Questions
How do I calculate net profit on a stock sale including fees?
Subtract your total buy cost (buy price x shares plus fees) from your total sell proceeds (sell price x shares minus fees) to get net profit. This calculator performs that calculation automatically when you enter your prices, share count, and fees.
What is break-even price in stock trading?
Break-even price is the sell price at which your proceeds exactly cover your original purchase cost plus all fees - selling below it means a net loss, even if the sell price is technically higher than your buy price.
How much do trading fees actually affect my returns?
More than many traders expect, especially on smaller trades or smaller percentage gains - fees are a fixed cost on both the buy and sell side, so they represent a larger percentage drag on smaller trades.
What's the difference between realized and unrealized gains?
A gain becomes realized (and generally taxable) only when you actually sell the shares. An unrealized gain is a paper gain based on the current price of shares you still hold, which can still change before you sell.
Are stock profits taxed differently based on how long I held the shares?
In the U.S. and many countries, yes - shares held a year or less are commonly taxed as short-term capital gains at higher ordinary rates, while shares held longer often qualify for lower long-term capital gains rates.
Does this calculator account for taxes on my stock profit?
No, this calculator shows gross and fee-adjusted profit only. Actual after-tax profit depends on your holding period, tax bracket, and jurisdiction - consult a tax professional for that calculation.
Related Calculators
Dividend Calculator
Calculate dividend income, yield, and annual payout.
Crypto Profit Calculator
Calculate crypto trade gain, ROI, and fee-adjusted proceeds.
ROI Calculator
Calculate Return on Investment percentage and total gain.
Loan Calculator
Calculate monthly loan payments, interest charges, and loan payoff terms.
Mortgage Calculator
Estimate home mortgage payments including principal, interest, taxes, and insurance.
Tip Calculator
Split restaurant bills and compute tip percentages per person easily.
Last updated: September 27, 2026.