Skip to content
aksoneri

Stock Profit / Loss Calculator

How much you actually made on a stock position — from price, from dividends, and after fees.

Result

Currency

How many shares you bought.

Per share, when you bought.

Per share, right now.

When you opened the position. Dates affect only the annualized return, not the profit.

When you closed it, or today's date. Determines how long you held it.

Total profit

6.230 €

Total return
+41,48 %
Annualized return
+12,26 %
Real annualized return
+10,06 %
Current value
21.000 €
Price gain
6.000 €
Dividend income
250 €
Break-even price
147,70 €
Total cost
15.020 €

How it's calculated

Total cost includes the commissions, not just the shares: if you paid €15,000 for the shares and a €20 commission, the position cost you €15,020. The return is calculated on that figure because that's what you actually put in.

Profit splits into two parts because the sources are different. The price gain comes from market movement and you only realize it when you sell. Dividend income you've already received in cash, regardless of where the price has gone.

The break-even price is where the position lands at zero once we account for commissions and subtract the dividends received. If today's price is above it, you're in profit; if not, you aren't — even when the price looks higher than what you paid.

Example

100 shares bought at €150 that are worth €210 today, with a €2.50 dividend per share and €20 in commissions: total profit comes to €6,230, or about 41% over three years — which works out to roughly 12% a year.

Frequently asked questions

Why isn't the break-even price the same as the buy price?
Because commissions raise the cost and dividends lower it. After €20 in commissions and €250 in dividends received, the position hits zero at a price lower than what you paid — the dividends have already covered part of it.
Should I use this for taxes?
Not as a document. Rules for capital-gains tax and dividend tax vary by country, and we haven't calculated any taxes here. Use it to understand the position, not for a tax return.
Why does the annualized return look low compared to the total return?
Because total return doesn't account for time. 41% over three years is about 12% a year, not 41%. The annualized return is the figure you can compare to a savings account or another investment.