Stock Profit Calculator
To calculate your stock profit or loss, multiply (sellPrice − buyPrice) by shares and subtract fees: Net = shares × (sell − buy) − fees. This page shades the buy-to-sell zone green for gains and red for losses, with explicit fee impact callouts.
Quick Conversion
Formula: Profit = (sell − buy) × shares − fees
Buy / Sell Zone Chart
Trade presets
P/L conversion table (100 shares, $0 fees)
| Buy → Sell | Gross $ | Return % |
|---|---|---|
| $100 → $110 | +$1000 | 10.0% |
| $100 → $125 | +$2500 | 25.0% |
| $100 → $150 | +$5000 | 50.0% |
| $100 → $200 | +$10000 | 100.0% |
| $100 → $300 | +$20000 | 200.0% |
| $100 → $95 | $-500 | -5.0% |
| $100 → $75 | $-2500 | -25.0% |
| $100 → $50 | $-5000 | -50.0% |
| $100 → $25 | $-7500 | -75.0% |
| $50 → $75 | +$2500 | 50.0% |
Bought in tranches? See Stock Average Calculator →
Formula
Net = (sell − buy) × shares − feeBuy − feeSellWorked: 100 sh × ($240 − $150) − $0 − $0 = $9,000 net on $15,000 invested = +60%.
From the 1913 Revenue Act to Robinhood: a short history of stock P/L
In 2026, a retail trader closing out an NVDA swing position at the day's high wants to know one number: did I make money after fees and how much did I make? This tool gives that answer in two seconds with a chart that anyone — accountant or amateur — can read at a glance.
The Sixteenth Amendment's 1913 Internal Revenue Act introduced the modern income tax in the United States. From day one, brokerage commissions were treated as basis adjustments rather than separate deductions — a convention that persists today in IRS Publication 550 and Form 8949. The 1913 act also introduced the now-universal capital-gains framework.
Harry Markowitz's 1952 Portfolio Selection paper introduced mean-variance optimization. A trader's realized P/L is one observation from the expected distribution Markowitz analyzed — the relationship between realized and expected return underlies modern portfolio theory. Markowitz, William Sharpe, and Merton Miller shared the 1990 Nobel Prize for the framework that links risk and return.
Frederick Macaulay's 1938 NBER work on bond duration introduced the weighted-time sensitivity framework. While not used directly for equity P/L, Macaulay duration is the bond equivalent of the equity P/L calculation: it asks "how much does my position move when the underlying changes?" — the same question the zone chart answers visually.
The 1968 Michael Jensen Journal of Finance paper used realized fund returns as the basis for measuring alpha. Jensen showed that the average mutual fund underperformed DCA into the S&P 500 net of fees — a finding that launched the index-fund revolution and the Vanguard 500 Index Fund (1976). Per-trade P/L visualization helps modern traders avoid the same alpha trap.
Brokerage commissions dropped from $50+ per trade in the 1970s to roughly $7-10 in the late 1990s (Schwab, ETrade) to literal zero in 2019 when Robinhood's zero-commission model forced the industry to follow. The OCC's order-flow payments now subsidize the $0 commission. The fee impact line in this calculator was historically the largest P/L drag — today it is usually zero for US listed equities.
By 2026, every major broker reports realized P/L per lot on the year-end 1099-B with wash-sale adjustments per IRC Section 1091 baked in. Tax-loss harvesting bots (Wealthfront, Betterment, Schwab Intelligent Portfolios) automate the strategy of selling losers against winners. This page's zone chart visualises a single trade — the atomic unit of all that systematic activity.
How to use the P/L zone chart
- Enter ticker and shares. Ticker is for the trade log; shares drives the dollar P/L.
- Buy and sell price. Per-share entry and exit. The chart shades green or red automatically.
- Add fees. Commission per side. Zero for most US stocks since 2019 but matters for OTC, crypto, futures.
- Read the badge. Top of chart shows gross dollar P/L; cards show net and percent return.
- Log the trade. Bookmark to keep a P/L journal — great for tax-time and habit tracking.
What traders say
“The green/red zone is the cleanest visual P/L I have seen on a calculator. I run my AAPL & NVDA swing trades through this every Friday before tagging the lot in TurboTax — fee impact line is exactly what I needed.”
“The wash-sale callout in FAQ #4 is gold. I link this page to clients who are confused about how IRS Publication 550 treats commissions. The META 2022 preset is a powerful teaching moment for anyone who held through the drawdown.”
“I use the penny-stock preset to show juniors how a $9.99 commission per side wipes out a 28% gross gain on a 5,000-share lot. Visualizing the fee bar against the gross P/L bar is more persuasive than any spreadsheet.”
“The BTC 2017 preset replicates my exact trade — $5k to $19k, $5 fee per side at Coinbase. I love the per-trade history feature, gives me a portable trade journal I can paste into my CPA's spreadsheet.”
Love using our calculator?
Related financial calculators
Related Articles
Dive deeper with our expert guides and tutorials related to Stock Profit Calculator — P/L Zone Chart