Free · No Sign-Up · Runs in Your Browser

Trade Calculator

Calculate profit, loss, and ROI on a stock, crypto, or forex trade — enter buy price, sell price, quantity, and fees to see gross profit, net profit after fees, return on investment, and break-even price.

Author: Naeem Ullah
Last Updated: August 18, 2026
No data leaves your browser

Calculate Trade Profit/Loss

Net Profit / Loss

$489.50

ROI

9.79%

Break-Even Price

$50.10

Trade Breakdown

Cost Basis

$5,000.00

Proceeds

$5,500.00

Gross Profit

$500.00

Total Fees

$10.50

Buy-Side Fee: $5.00Sell-Side Fee: $5.50

This calculator estimates profit/loss and ROI from the prices, quantity, and fees entered. It does not account for taxes, margin/borrowing costs on short positions, slippage, or exchange-specific fee tiers — check your broker or exchange's actual fee schedule for exact costs.

How This Calculator Works

For a long trade, gross profit is (sell price − buy price) × quantity; for a short trade, it's (entry price − buy-back price) × quantity. Buy-side and sell-side fee percentages are applied to the cost basis and proceeds respectively, and any flat fees are added on top, to get total fees. Net profit is gross profit minus total fees, and ROI is net profit divided by the original cost basis. Break-even price is the exit price at which net profit equals exactly zero, given the same fee structure.

Worked Example

Long 100 shares — Buy $50 — Sell $55 — 0.1% fee each leg

  • Cost basis: 50 × 100 = $5,000.00
  • Proceeds: 55 × 100 = $5,500.00
  • Gross profit: $500.00
  • Total fees: $10.50
  • Net profit: $489.50 (9.79% ROI)

Change any value in the calculator above to see how the numbers move for your own trade.

Typical Trading Fee Ranges by Venue Type

As of 2026-08-18
Venue TypeTypical Fee RangeNotes
Major stock brokers (US, commission-free)0%Most large US brokers dropped per-trade commissions on stock/ETF trades; regulatory fees are usually negligible on retail-size trades.
Options contracts$0.50–$0.65 per contractOften a flat per-contract fee rather than a percentage — enter it as a flat "other fee."
Large centralized crypto exchanges (maker/taker)0.1%–0.6%Taker fees (market orders) are typically higher than maker fees (limit orders that add liquidity).
Forex brokers (spread-based)Spread only, no commissionCost is usually embedded in the bid/ask spread rather than a separate fee line — approximate it as a small flat "other fee."

Common Mistakes & Edge Cases

  • Ignoring fees on both legs of the tradeOnly entering a sell-side fee (or none at all) understates total cost — most venues charge a fee on both the buy and the sell leg, and on small trades those two fees combined can be a meaningful share of the total profit.
  • Confusing gross profit with net (after-fee) profitA trade that looks profitable on raw price movement alone can be a net loss once entry fees, exit fees, and any flat costs are subtracted — always check net profit, not just the price difference, before judging whether a trade worked.
  • Forgetting fees still apply at the break-even priceBreak-even isn't the same as the entry price — because fees are charged on both legs regardless of outcome, the exit price needs to move slightly further than the entry price just to cover those costs before any profit begins.
  • Mixing up buy price and sell price on a short tradeOn a short trade, "buy price" here means the entry (short-sale) price and "sell price" means the buy-back price used to close the position — entering them in the same order as a long trade will produce a profit/loss with the wrong sign.

Frequently Asked Questions (FAQ)

For a long (buy-then-sell) trade, gross profit is (sell price − buy price) × quantity. For a short (sell-then-buy-back) trade, it's (buy price at entry − buy-back price) × quantity. Subtract buy-side fees, sell-side fees, and any flat fees from gross profit to get net profit, then divide net profit by the original cost basis to get return on investment (ROI).

The break-even price is the exit price at which net profit is exactly zero after accounting for fees — it's always slightly worse than the entry price because entry and exit fees still apply even on a trade that makes no profit. For a long trade, break-even is above the buy price; for a short trade, it's below the entry price.

Gross profit is just the raw price difference times quantity, before any costs. Net profit subtracts trading fees — a percentage-based fee on the buy leg, a percentage-based fee on the sell leg, and any flat fees like withdrawal or network costs — from gross profit. On small or frequent trades, fees can turn a gross-profit trade into a net loss.

Profit is a dollar amount; ROI (return on investment) is that profit expressed as a percentage of the capital risked (the cost basis). A $500 profit on a $10,000 position is a 5% ROI, while the same $500 profit on a $1,000 position is a 50% ROI — ROI lets you compare trades of different sizes on equal footing.

Yes. Selecting "Short" flips the profit formula so profit comes from the price falling rather than rising — enter the entry (short) price as "buy price" and the price you buy back at as "sell price."