A little context. A clearer answer.
When this calculator is useful
Separate the share-price movement from the cash actually spent and received. For a related calculation, try Dividend reinvestment calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Number of shares | Number of shares. Enter the same positive share quantity for purchase and sale, including fractional shares if applicable. | 100 |
| Purchase price per share | Purchase price per share. Enter purchase and sale prices per share and total fees for each transaction in the same currency. | 50 USD |
| Sale price per share | Sale price per share. Enter purchase and sale prices per share and total fees for each transaction in the same currency. | 65 USD |
| Total purchase fees | Total purchase fees. Enter purchase and sale prices per share and total fees for each transaction in the same currency. | 5 USD |
| Total sale fees | Total sale fees. Enter purchase and sale prices per share and total fees for each transaction in the same currency. | 5 USD |
How the calculation works
- Enter the same positive share quantity for purchase and sale, including fractional shares if applicable.
- Enter purchase and sale prices per share and total fees for each transaction in the same currency.
- Compare net proceeds with purchase cost. Breakeven includes the entered sale fee and purchase fee.
C = q × b + fᵦ; S = q × s − fₛ; [Net profit or loss] = S − C; [Return on purchase cost] = 100(S − C)/C; [Breakeven sale price per share] = (C + fₛ)/qA worked example
Number of shares: 100; Purchase price per share: 50; Sale price per share: 65; Total purchase fees: 5; Total sale fees: 5. Net profit or loss: 1490; Return on purchase cost ≈ 29.77023%; Breakeven sale price per share: 50.10.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
One purchase and one sale of the same share quantity, in one currency. Fees are fixed totals for each transaction. No dividends, taxes, foreign exchange, short selling or live prices. A zero purchase cost makes percentage return undefined.
Frequently asked questions
What should I enter?
Enter the same positive share quantity for purchase and sale, including fractional shares if applicable. Enter purchase and sale prices per share and total fees for each transaction in the same currency.
How is the result calculated?
Compare net proceeds with purchase cost. Breakeven includes the entered sale fee and purchase fee.
What does the model leave out?
One purchase and one sale of the same share quantity, in one currency. Fees are fixed totals for each transaction. No dividends, taxes, foreign exchange, short selling or live prices. A zero purchase cost makes percentage return undefined.