Stock Profit Calculator (After Fees)

The profit on a share trade is the difference between what you receive when you sell and everything you paid to buy, after commissions and percentage-based fees on both sides. This calculator works it out, with an optional tax rate you enter, and shows the sale price at which the trade only breaks even.

For information only, not financial or investment advice.

Inputs

$
$
$
$
%
Advanced options (1)
%

Results

Net profit
$1,470.48
Gross profit (before costs)
$1,500.00
Commissions and fees
$29.52
Tax
$0.00
Return on total cost
16.21
%
Breakeven sale price
$45.44

    RefINV-TRD-008
    MethodProfit = shares × (sell − buy) − commissions − fees − tax
    CurrencyUSD
    Date2026-11-24

    Working

    Money amounts are plain numbers shown in the currency chosen at the top of the page (symbol only; nothing is converted and no exchange rates are used).

    1. Total costshares × price × (1 + fee %) + commission200 × $45.30 × 1.001 + $4.95 = $9,074.01
    2. Net proceedsshares × price × (1 − fee %) − commission200 × $52.80 × 0.999 − $4.95 = $10,544.49
    3. Profit before taxproceeds − cost$10,544.49 − $9,074.01 = $1,470.48 (gross $1,500.00 less fees $29.52)
    4. Profit after taxprofit − tax rate × profit (if positive)$1,470.48 − $0.00 = $1,470.48
    5. Breakeven sale price(cost + sale commission) ÷ (shares × (1 − fee %))($9,074.01 + $4.95) ÷ (200 × 0.999) = $45.44

    Costs that are easy to forget

    Besides the broker’s commission, many markets charge fees as a percentage of the trade value: exchange and clearing fees, stamp duty on purchases in some countries or a securities transaction tax on both sides in others. Enter the combined percentage that applies to you. Small trades are hit hardest by fixed commissions, which is why the breakeven price can sit noticeably above the purchase price.

    Assumptions and limits

    • The same percentage fee on purchase and sale; edit the commissions for one-sided charges.
    • Tax is applied to a positive profit at the rate you enter; losses are not offset.
    • Dividends received are not included.

    References

    • Bodie, Kane and Marcus, Investments, McGraw-Hill (trading costs).
    • U.S. Securities and Exchange Commission, Investor.gov: Brokerage Fees.

    Questions

    What is the profit on 200 shares bought at 45.30 and sold at 52.80 with 4.95 commissions and 0.1% fees?
    1,470.48: a gross gain of 1,500.00 less 29.52 of costs, a 16.21% return on the total cost of 9,074.01.
    At what price does the trade break even?
    45.44, slightly above the 45.30 purchase price because of the costs on both sides.

    For information only, not financial or investment advice. Results depend on the figures you enter and on the assumptions listed above; lenders, banks and product providers may calculate differently. Read the disclaimer.