Stock Profit Calculator

Calculate your profit or loss on a stock trade, including commissions and return percentage.

Total Profit / Loss
$0
Return %
0%
Total Cost
$0
Total Revenue
$0

Stock Profit Calculation

This calculator shows the profit or loss from a stock trade after accounting for commissions. Enter the price you bought at, the price you sold at, how many shares, and any per-trade commission fees. Most modern brokers charge zero commission, but the field is there if yours does.

The formula is: Total Cost = (Buy Price x Shares) + Commission. Total Revenue = (Sell Price x Shares) - Commission. Profit = Revenue - Cost. Return % = (Profit / Cost) x 100.

Frequently Asked Questions

How do I calculate stock profit?

Subtract your total cost (buy price times shares, plus any commissions) from your total revenue (sell price times shares, minus any commissions). A positive number is a profit; a negative number is a loss. The return percentage tells you how much you gained or lost relative to what you spent.

Should I include commissions?

Yes, commissions reduce your actual profit. Many brokers now offer commission-free trading, in which case you can leave it at zero. If your broker charges per trade, include the fee for both the buy and sell sides. The calculator applies the commission to both transactions.

What is the difference between short-term and long-term gains?

Short-term capital gains apply to stocks held for one year or less and are taxed at your ordinary income rate. Long-term gains apply to stocks held longer than one year and receive a lower tax rate (0%, 15%, or 20% depending on your income). Holding longer can significantly reduce your tax bill.

Do I have to pay tax on stock profits?

Yes, stock profits are subject to capital gains tax in most countries. In the US, you owe taxes on realized gains (when you sell). Unrealized gains (stocks you still hold) are not taxed. You can also deduct up to $3,000 in capital losses per year against your other income.