Germany taxes capital gains in two very different ways. Gains on shares and funds face a flat Abgeltungsteuer, while gains on real property are ordinary income unless you held the property long enough. This calculator applies the right rule for each.
How it works
For shares and funds the gain above the Sparer-Pauschbetrag is taxed at a flat 25 percent, plus the Solidaritätszuschlag on the tax, plus optional church tax:
taxable gain = max(0, gain − Sparer-Pauschbetrag)
base tax = taxable gain × 25%
soli = base tax × 5.5%
church tax = base tax × (8% or 9%) [optional]
total = base tax + soli + church tax
For real property, a sale within the 10-year speculation period is taxed at your personal income-tax rate. Sold after 10 years, or if it was your own home in the year of sale and the two prior years, the gain is tax-free.
Example
A 20,000 EUR gain on shares, single, no church tax. After the 1,000 EUR allowance, 19,000 EUR is taxable. Base tax is 4,750 EUR, the Soli adds 261.25 EUR, so the total is 5,011.25 EUR — an effective 25.06 percent of the original gain.
Notes
This is a simplified model. It ignores loss offsets, the Vorabpauschale and Teilfreistellung on funds, and the Günstigerprüfung. Treat the property result as income that stacks on your other income. Everything runs in your browser.