LiteFolio

Stock profit and return calculator

Enter what you paid per share, what you sold for (or the current price), and how many shares. Add the buying and selling fees if you have them. The calculator shows the profit or loss, the return on what you invested and the price you need to break even. Taxes are not included. Everything is calculated in your browser.

Free app that keeps every buy and sell you enter and shows the profit or loss of each holding, without linking a brokerage account, for iPhone and Android.

More about LiteFolio

Formulas and a worked example

The return compares the profit with what you actually paid, fees included, so a fee lowers the return even when the price went up.

Item Formula Example
Cost buy price × shares + buying fee 50 × 100 + 5 = 5,005
Sale proceeds sell price × shares − selling fee 65 × 100 − 5 = 6,495
Profit / loss sale proceeds − cost 6,495 − 5,005 = 1,490
Return (%) profit ÷ cost × 100 1,490 ÷ 5,005 × 100 = 29.77%

Example: 100 shares bought at 50 with a fee of 5 and sold at 65 with a fee of 5. Without fees the gain would be (65 − 50) × 100 = 1,500, or 30%.

LiteFolio keeps every buy, sell and dividend in one timeline and works out your average cost and dividend income for each holding, with no brokerage connection.

More about LiteFolio

FAQ

How do I calculate the profit and return on a stock?

Subtract what you paid from what you received: (sell price − buy price) × shares − fees. Divide that profit by what you paid, fees included, and multiply by 100 for the return. For 100 shares bought at 50 with a fee of 5 and sold at 65 with a fee of 5: cost 5,005, proceeds 6,495, profit 1,490, return 1,490 ÷ 5,005 × 100 = 29.77%.

Are fees and taxes included?

Fees are included if you enter them: the buying fee is added to the cost and the selling fee is taken from the proceeds. Taxes are not included, because the tax on gains differs by country, account type and how long you held the shares. Check your broker's statement or your tax authority for the tax.

What if I bought the same stock at different prices?

Use the average cost calculator first: it divides the total you paid, fees included, by the total shares. Enter that average as the buy price here with the buying fee left at 0, because the fees are already in the average, and enter the number of shares you are selling.

At what price do I break even?

The break-even sell price is (cost + selling fee) ÷ shares. In the example above it is (5,005 + 5) ÷ 100 = 50.10, a little above the buy price of 50 because both fees have to be covered. A price above it shows a profit before tax; below it, a loss.

Keep your numbers in one place

LiteFolio is a free portfolio tracker for iPhone and Android: record stocks, ETFs, trades and dividends yourself and see average cost, cost basis, profit and dividend income per holding.

More about LiteFolio