Share Profit Calculator

This share profit calculator works out the profit or loss on a stock trade after brokerage, fees, and tax. Enter the buy price, the sell price, the number of shares, and your costs, and the share profit calculator returns the net profit, the return on your money, and the break-even price you need to cover the costs.

shares
%
%

Results

Enter your values and press Calculate to see results.

The Share Profit Calculator is part of our Investment collection. Browse more investment to size, convert, and check your work alongside this tool.

What the share profit calculator does

The gap between the buy and sell price is only the gross gain. Brokerage on both trades, fixed fees, and tax on the gain all come out of it. The share profit calculator adds the costs to the purchase, takes them off the sale, and shows what you keep. It also gives the break-even sell price, the lowest price at which the trade covers every cost.

Net profit = (Sell × Qty × (1 − c) − Fee) − (Buy × Qty × (1 + c) + Fee) − Tax

Share profit calculator formula

With brokerage c as a fraction of each trade and a fixed fee per trade:

Cost = Buy × Qty × (1 + c) + Fee
Proceeds = Sell × Qty × (1 − c) − Fee
Return = (Proceeds − Cost − Tax) ÷ Cost × 100

The break-even sell price is (Cost + Fee) ÷ (Qty × (1 − c)). Tax applies only when the trade makes a gain.

Share profit calculator example

You buy 100 shares at 50 and sell at 65, paying 0.1% brokerage on each trade:

Cost = 5,000 × 1.001 = 5,005
Proceeds = 6,500 × 0.999 = 6,493.50
Net profit = 1,488.50, return = 29.74%

Brokerage costs you 11.50 in total. The break-even price is about 50.10, so any sale above that makes money.

How to use the stock profit calculator

Enter the price you paid per share, the price you sold at or plan to sell at, and the number of shares. Add your brokerage as a percentage of each trade, any fixed fee per trade, and the tax rate on gains if you want an after-tax figure. Press Calculate to see the net profit or loss and your return.

Reading your stock profit and loss calculator result

The return is on the money you put in, including buying costs. For a fair comparison across trades held for different lengths of time, turn it into a yearly figure. Small trades suffer most from fixed fees: a 10 fee on a 500 trade is 2% before the price moves at all. The break-even price shows how far the stock must rise before you profit.

When to use a share price profit calculator

  • Checking the real profit on a closed trade
  • Setting a target sell price
  • Seeing how brokerage eats into small trades
  • Working out the price that covers all costs
  • Estimating tax on a gain before you sell

Common share profit calculator mistakes

  • Ignoring costs on the sale. Brokerage applies to both trades.
  • Dividing by the sale value. Return is on the cost.
  • Comparing gains of different lengths. Annualize first.
  • Forgetting tax. Short-term gains are often taxed more.

Tips for using a stock gain calculator

  • Keep a record of every fee on the contract note.
  • Set a target above the break-even price.
  • Check whether your broker charges a minimum fee.

Brokerage calculator: how costs change your share profit

Costs hit twice: once when you buy and again when you sell. On a 0.1% rate the round trip costs about 0.2% of the trade, which is small on a long-term holding but large for an active trader. Someone who trades 100 times a year at 0.2% a round trip gives up about 20% of capital to costs over the year unless the trades earn more. The ROI calculator helps compare that drag across strategies.

Stock percentage gain as a yearly return

A 29.74% gain over three months and the same gain over three years are very different results. To compare them, convert the gain to a yearly rate with the CAGR calculator. To see the raw price move without costs, the percentage change calculator gives it directly: 50 to 65 is a 30% rise.

Stock profit calculator examples with 0.1% brokerage

Buy → sellSharesNet profitReturn
50 → 651001,488.5029.74%
50 → 45100-509.50-10.18%
120 → 13250587.409.78%
10 → 12.510002,477.5024.75%
250 → 30020989.0019.76%

Share Profit Calculator FAQ

How do I calculate profit on shares?

Take the sale value after costs and subtract the purchase value with costs. 100 shares bought at 50 and sold at 65 with 0.1% brokerage gives 1,488.50.

What is the break-even price of a share?

The sell price that covers the buy price and all costs. In the example it is about 50.10.

Does the calculator handle a loss?

Yes. If the sell price is below break-even, it shows a net loss and a negative return. No tax is applied to a loss.

How is percentage gain on a stock worked out?

Divide the net profit by the total cost and multiply by 100: 1,488.50 ÷ 5,005 × 100 = 29.74%.

Related Calculators