Skip to content
Trade P/L zone chart

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.

+$9,000
Net profit
60.00%
Net return
$9,000
Gross P/L
-$0.00
Fee impact

Quick Conversion

Formula: Profit = (sell − buy) × shares − fees

Buy / Sell Zone Chart

Stock P/L Zone ChartShaded zone between buy and sell prices, colored green for gains and red for losses.$128$165$202$239$276BUY$150.00SELL$240.00GAIN+$9,000entryexit
Trade inputs
Total cost
$15,000
Net proceeds
$24,000

Trade presets

P/L conversion table (100 shares, $0 fees)

Buy → SellGross $Return %
$100 → $110+$100010.0%
$100 → $125+$250025.0%
$100 → $150+$500050.0%
$100 → $200+$10000100.0%
$100 → $300+$20000200.0%
$100 → $95$-500-5.0%
$100 → $75$-2500-25.0%
$100 → $50$-5000-50.0%
$100 → $25$-7500-75.0%
$50 → $75+$250050.0%

Bought in tranches? See Stock Average Calculator →

Formula

Net = (sell − buy) × shares − feeBuy − feeSell
Both buy and sell commissions adjust cost basis per IRS Pub 550. Realized gain reports on Form 8949 / Schedule D.

Worked: 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

  1. Enter ticker and shares. Ticker is for the trade log; shares drives the dollar P/L.
  2. Buy and sell price. Per-share entry and exit. The chart shades green or red automatically.
  3. Add fees. Commission per side. Zero for most US stocks since 2019 but matters for OTC, crypto, futures.
  4. Read the badge. Top of chart shows gross dollar P/L; cards show net and percent return.
  5. Log the trade. Bookmark to keep a P/L journal — great for tax-time and habit tracking.

Stock profit calculator — frequently asked questions

Have more questions? Contact us

What traders say

4.9
Based on 5,560 reviews

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.

V
Vihaan Aditya Krishnamurthy
Active retail swing trader, options-heavy
May 22, 2026

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.

A
Aleksandra Magdalena Wiśniewska-Kowalczyk
Wealth advisor, tax-efficient investing
April 29, 2026

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.

C
Chukwuemeka Obinwa Chinedumere
CFA charterholder, multi-asset portfolio manager
April 4, 2026

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.

B
Bronwyn Anthea van der Linde-Pretorius
Crypto investor, taxlot tracker
March 15, 2026

Love using our calculator?

Related financial calculators

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Stock Profit Calculator — P/L Zone Chart

Loading articles...