How it works
Net profit = shares × (sale price − purchase price) − combined transaction fees.
Uses one purchase price and currency. Dividends, splits, foreign exchange and taxes are excluded. This does not choose a tax-lot accounting method.
Before you rely on the result
Calculations keep full browser-number precision. Money amounts are displayed to two decimal places; other results use up to 12 significant digits. Very large values may lose precision.
How the net profit or loss changes with shares sold
Other inputs keep their starting values: Purchase price per share: 42.1; Sale price per share: 48.75; Total purchase and sale fees: 9.98. Examples only, not recommendations.
| Shares sold | Net profit or loss |
|---|---|
| 25 | 156.27 |
| 50 | 322.52 |
| 100 | 655.02 |
Cite this page
ToolOctopus. “Stock profit calculator.” Updated . https://tooloctopus.com/stock-profit-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.