Convert with Convertly

Guides Calculators Finance calculators

How to use the Stock Investment Calculator

The Stock Investment Calculator works out net profit / loss, return and cost basis from shares, buy price per share and sell price per share.

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

  1. Open the Stock Investment Calculator.
  2. Enter Shares.
  3. Enter Buy price per share.
  4. Enter Sell price per share.
  5. Add commission, total, taxes / levies, total and dividends received if you want them included, or leave them empty.
  6. Press Calculate. Every field that needs fixing is listed next to it.
  7. Read the main result first, then the other lines. Open Formula and assumptions to see how it was worked out.
  8. 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):

Shares10
Buy price per share100000
Sell price per share100000
Commission, total (optional)10
Taxes / levies, total (optional)10
Dividends received (optional)10

the calculator gives:

Net profit / lossPKR -10.00
Return-0%
Cost basisPKR 1,000,005.00
Net proceedsPKR 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.

Common questions

Do I have to fill in every field?

Every field except those marked optional must be filled in. If something is missing or out of range, the calculator tells you which field to fix.

Can I save or share a result?

Yes. Use Copy for the result text, Share where your browser supports it, and add the calculator to your favourites. History is kept only in this browser, and you can switch it off or delete it.

Are my numbers uploaded?

No. The calculation runs in your browser.

More guides: Finance calculators

Convertly on your Android phone

Convert, scan and sign documents on your phone, with nothing uploaded.

Get it onGoogle Play