Profit after brokerage & taxes. The Stock Profit Calculator takes buy price per share, sell price per share, number of shares, brokerage and charges (each side), tax rate on the gain and returns net profit after charges and tax plus gross gain, brokerage and charges, tax on the gain, net return on investment. Results update as you type, and the formula is shown under the result so you can repeat it in your own spreadsheet.
Investment maths is about comparing money at different points in time on a fair basis. Compound rates, discounting and annualised returns let you compare options of different sizes and durations. Use the worked example below to check the maths against your own figures.
How the Stock Profit Calculator works
Brokerage, exchange fees and transaction taxes are charged on both the purchase and the sale, and capital gains tax takes a share of what is left. Enter your broker's all-in percentage for a realistic figure.
Worked example
With the example values (buy price per share of $100, sell price per share of $125, number of shares of 100, brokerage and charges (each side) of 0.2%, tax rate on the gain of 15%), the net profit after charges and tax is $2,086.75; gross gain $2,500.00, brokerage and charges $45.00, tax on the gain $368.25, net return on investment 20.87%. Change any figure above and the result updates immediately; use Copy results to paste the summary into a note or email.
Related Calculators
Frequently Asked Questions
How is net profit after charges and tax calculated?
net profit = gross gain − charges on both trades − tax on the taxable gain.
Which figures do I need?
Buy price per share, sell price per share, number of shares, brokerage and charges (each side), tax rate on the gain. Take them from the same period and the same set of accounts or reports so the ratio is consistent, and check the example values as a guide to the units expected.
Does the calculator account for taxes and fees?
Only where there is an input for them. For a true net return, add fees and taxes to your inputs or use the stock and crypto profit calculators, which include them.






