What the Stock Investment Calculator does
The Stock Investment Calculator works out net profit / loss, return and cost basis from shares, buy price per share and sell price per share. Loan instalments (EMI), mortgage, savings, interest, investment growth, tax and currency estimates.
It runs in your browser and nothing you type is uploaded.
Before you start
You need 3 values and may add 3 optional ones:
- Shares: A number: greater than zero.
- Buy price per share: A number: greater than zero.
- Sell price per share: A number: greater than zero.
- Commission, total (optional): A number: zero or more.
- Taxes / levies, total (optional): A number: zero or more.
- Dividends received (optional): A number: zero or more.
Step by step
- Open the Stock Investment Calculator.
- Enter Shares.
- Enter Buy price per share.
- Enter Sell price per share.
- Add commission, total, taxes / levies, total and dividends received if you want them included, or leave them empty.
- Press Calculate. Every field that needs fixing is listed next to it.
- Read the main result first, then the other lines. Open Formula and assumptions to see how it was worked out.
- Use Copy to keep the result, and add the calculator to your favourites if you use it often.
A worked example
With these sample values (they are only an illustration; use your own):
| Shares | 10 |
|---|---|
| Buy price per share | 100000 |
| Sell price per share | 100000 |
| Commission, total (optional) | 10 |
| Taxes / levies, total (optional) | 10 |
| Dividends received (optional) | 10 |
the calculator gives:
| Net profit / loss | PKR -10.00 |
|---|---|
| Return | -0% |
| Cost basis | PKR 1,000,005.00 |
| Net proceeds | PKR 999,985.00 |
Money is shown with PKR as the currency label (you can change it in the calculator settings). The example is the real output of this calculator.
Reading your result
The result lists: net profit / loss, return, cost basis and net proceeds.
The formula it uses:
P/L = proceeds − cost basis + dividends
- Total commission is split evenly between buying and selling.
Common mistakes
- Use the same units for every value.
- Type numbers without currency symbols; commas are fine.
- Optional fields can stay empty. Required fields cannot.
- Treat the result as an estimate: real quotes, rules and rounding can differ.