Free to use, no account
Stock Profit Calculator
Estimate the realized gain or loss on one stock sale using your purchase lots, sale price and transaction fees.
How do I calculate profit on a stock sale?
Add the shares you bought as separate lots, enter the amount sold and sale price, and include any buy or sell fees. Choose weighted-average cost or FIFO to allocate the purchase basis. The result is an estimate before tax, not a broker statement or tax calculation.
Frequently asked questions
How do I calculate profit on a stock sale?
Add the shares you bought as separate lots, enter the amount sold and sale price, and include any buy or sell fees. Choose weighted-average cost or FIFO to allocate the purchase basis. The result is an estimate before tax, not a broker statement or tax calculation.
Are my stock details uploaded?
No. The calculation runs locally in this browser. Your prices, share amounts and fees are not sent to a processing service.
How much profit is 10 shares bought at 20 and sold at 30?
Before fees and taxes, 10 × (30 − 20) equals 100 in the same currency. This calculator shows 100 when all 10 shares are sold and fees are zero.
What is the difference between FIFO and average cost?
FIFO allocates the cost of the earliest purchase lots first. Weighted-average cost uses the average cost of all entered shares, including their buy fees. Broker and tax rules may require a different method; verify before filing.
Does this calculate taxes or include dividends?
No. It estimates one sale before tax and does not include dividends, tax rates, wash sales, corporate actions or local reporting rules.
What does the break-even sale price mean?
It is the sale price per share that would cover the cost basis assigned to the shares sold plus the entered sale fee. It excludes taxes and other charges not entered here.