Stock Calculator
Enter buy and sell price, shares, order fees, dividends and holding period to see profit, total and annual return, and profit after capital gains tax.
Total profit (gross)
€2,630.02
Total return
52.50%
Annual return
52.50% p.a.
Detailed calculation
Note: These calculations are for informational purposes only and do not replace professional tax or financial advice. All information without guarantee.
FAQ
Frequently Asked Questions
How is stock return calculated?
Stock return consists of price gains (or losses) plus dividends received. The total return is calculated as (current value minus purchase price plus dividends) divided by purchase price, times 100.
What taxes apply to stock profits in Germany?
Stock profits are subject to 25% flat-rate withholding tax plus solidarity surcharge and possibly church tax. The saver's allowance of 1,000 euros per person applies.
Are my entered amounts stored anywhere?
No. All calculations happen exclusively in your browser. Your inputs are never sent to our server or stored. You can safely enter sensitive financial data.
Guide
What is the Stock Calculator?
The stock calculator computes the gain or loss of a stock investment, accounting for purchase price, sale price, dividends, fees and taxes.
How does the Stock Calculator work?
Enter the purchase price, number of shares, sale price and any dividends. The calculator determines the gross profit, deducts transaction costs and computes the flat-rate tax on the gain. The net return is shown as a total and annualised figure.
Key Data and Facts
Flat-rate tax on capital gains and dividends: 26.375%. Stock gains may only be offset against stock losses. Saver lump sum: 1,000 euros/person.
Step-by-Step Guide
How to calculate the profit and return of a stock investment step by step: 1. Enter the purchase data: purchase price per share, number of shares, transaction costs (order fee). 2. Enter the sale data: sale price and order fee. 3. Add dividends: all gross dividends received during the holding period. 4. Calculate the gross profit: (sale price - purchase price) x number of shares + dividends - fees. 5. Calculate taxes: price gains and dividends are subject to 26.375 % withholding tax (incl. Soli). Deduct the saver's allowance (EUR 1,000). Losses on shares can only be offset against gains on shares. 6. Determine the net profit and return. Example: Purchase of 100 shares at EUR 45 = EUR 4,500, order fee EUR 10. Sale at EUR 62 = EUR 6,200, order fee EUR 10. Dividends: 3 years x EUR 1.50 x 100 = EUR 450. Gross profit: 6,200 - 4,500 + 450 - 20 = EUR 2,130. Taxable: 2,130 - 1,000 = EUR 1,130. Tax: 1,130 x 26.375 % = EUR 298. Net profit: EUR 1,832. Return p.a. (3 years): approx. 11.5 %.
Calculation Example
100 shares, purchase at 45 EUR, sale at 62 EUR after 3 years. Dividends: 450 EUR. Gross profit: 2,130 EUR. Tax (after the tax-free allowance): 298 EUR. Net profit: 1,832 EUR. Return: about 11.5 % p. a.
Sources
Official sources
Calculations are based on applicable German laws and official data:
- Deutsche Bundesbank
- Bundesanstalt für Finanzdienstleistungsaufsicht (BaFin)
- Statistisches Bundesamt (Destatis)
Full methodology at Methodology.
Reviewed by Konstantin Iakovlev · Last updated:
Finance
Related Calculators
Retirement Provision Calculator
How much to save for your target pension? From age, retirement age, return and inflation, get the capital needed, monthly savings and the cost of a late start.
Inflation Calculator Germany
See how inflation erodes savings in Germany: enter amount, rate and period to get the purchasing power loss, its halving time and the sum needed to keep value.
Riester Pension Calculator
Riester subsidy 2026 in Germany: 175 € basic allowance plus 300 € per child born from 2008. Get your minimum contribution, subsidy rate and tax benefit.
Withdrawal Plan Calculator
How long will your savings last? From capital, monthly withdrawal and rate, see the duration, interest earned, the capital-preserving payout and a monthly plan.