Portfolio LabKnowledgeSign inCreate account

Rent or buy: user cost, purchase costs in 2026 and a 20-year wealth comparison

Basics11 min read · updated 1 September 2026 · 13 sources

Rent or buy? The monthly mortgage payment cannot answer this question. What matters is what living in your own home really costs, including the return the equity would have earned in a brokerage account, and what a renter does with the money saved. Here you calculate the user cost of housing, see the purchase costs as of 2026 and compare wealth after 20 years: a buyer versus a renter who invests the equity and the difference in ETFs. The calculation is an example with clear assumptions, not investment advice.

Asking the right question

A fair comparison keeps the budget the same: buyer and renter spend the same amount on housing and saving month after month. The buyer puts the equity into the home and pays the mortgage instalment, maintenance and property tax. The renter puts the same equity into a brokerage account and keeps adding the difference between the buyer's costs and the rent. Whoever ends up with more wealth has housed themselves better in financial terms. It says nothing about quality of life, security or freedom.

Three mistakes distort many calculations. Principal repayment is not an expense but saving. The purchase costs, by contrast, are gone immediately. And the opportunity cost of the equity, i.e. the return forgone in the brokerage account, is part of the cost of ownership, even though it never appears on a bank statement. A first rough calculation including leverage and concentration risk is in the article total wealth; here we calculate more precisely and over 20 years.

The user cost of housing

Economists measure the cost of ownership with the user cost of housing: what does it cost to live in a home yourself for one year? Poterba (1984) formulated the approach for the housing market, and Himmelberg et al. (2005) calculate a variant of it as the annual cost of ownership, which can be compared directly with the rent. In a simplified form for Germany, where owner-occupiers cannot deduct mortgage interest (Kaas et al. 2021):

User cost = i × D + r × E + m × P + s + C / n − g × P Buying pays off financially if user cost < annual rent
i × D
interest on the loan D
r × E
forgone return on the equity E (opportunity cost)
m × P
maintenance in % of the purchase price P
s
property tax and non-recoverable costs
C / n
purchase costs C, spread over n years of ownership
g × P
expected increase in value

Purchase costs in 2026

ItemAmountStatus and source
Real estate transfer tax3.5% to 6.5% of the purchase price3.5% in Bavaria (the federal statutory rate), 6.5% in North Rhine-Westphalia, for example; Bremen 5.5% since 1 July 2025
Notary and land registryabout 1% to 1.5%depending on the size of the land charge (Verbraucherzentrale)
Estate agentfreely negotiablefor flats and single-family houses, the buyer pays at most as much as the seller

Under federal law, the real estate transfer tax (Grunderwerbsteuer) is 3.5% (GrEStG (1997), § 11); the federal states may set higher rates. North Rhine-Westphalia charges 6.5% (NRW Tax Administration 2026), and Bremen raised its rate to 5.5% on 1 July 2025 (Bremisches Gesetzblatt 2025). For notary and land registry fees, the consumer advice centre Verbraucherzentrale (2024) gives 1 to 1.5%. For estate agents, the commission on flats and single-family houses is split in half: a buyer who is a consumer pays at most as much as the seller, and only once the seller has paid (BGB (1896), §§ 656a–656d). In the example, we assume an illustrative 3.57% for the buyer's share.

Price-to-rent ratio: price versus rent

The simplest measure is the price-to-rent ratio (Kaufpreisfaktor): the purchase price divided by the annual base rent of a comparable home, excluding heating and service charges. In the example, it is €400,000 / €15,000 = 26.7 years' rent. The user cost tells you which ratio would be financially neutral: if it is 4.57% of the price, buying costs the same as renting at 1 / 0.0457 = 21.9 years' rent. Above that, the numbers favour renting; below it, buying.

Comparing the ratio alone is not enough, however. Himmelberg et al. (2005) show that price-to-rent and price-to-income ratios often misrepresent the cost of housing, because the user cost changes with interest rates and expected price increases: when rates are low, high ratios are not a reliable sign of a bubble, and when rates are rising, even moderate ratios can be expensive.

Leverage and concentration risk

  • Leverage: with 20% equity plus purchase costs, every percentage point of price change moves the equity by a multiple of that, in both directions (see leverage).
  • Concentration risk: a single home in a single place is the opposite of a diversified ETF portfolio. A regional labour market can hit your job and the value of your home at the same time.
  • Interest rate risk: if the fixed-rate period ends before the loan is repaid, the follow-up instalment depends on tomorrow's interest rate.
  • Hedge against rising rents: ownership largely freezes your housing costs. If you stay a long time and live in a region where rents fluctuate strongly, you gain security (Sinai and Souleles 2005).
  • Liquidity: you can sell part of a brokerage account within days, but a home only as a whole, over months and with new transaction costs.

Worked example: wealth after 20 years

Assumptions (illustrative figures, calculated annually): a flat for €400,000 in North Rhine-Westphalia, purchase costs of €46,280, equity of €126,280 (purchase costs plus 20% of the price), a loan of €320,000 at 3.5% with 2% initial repayment and a 20-year fixed-rate period, i.e. an instalment of €17,600 a year. Maintenance of 1% of the purchase price and €1,200 of property tax and non-recoverable costs, both rising with 2% inflation. A comparable base rent of €1,250 a month, also rising by 2% a year. The flat gains 2% in value a year, and the renter's portfolio returns 6% after costs.

Wealth of buyer and renter over 20 years (example)

Figures from the example above. The buyer starts with €80,000 instead of €126,280 because the purchase costs are gone immediately; after that both grow, the renter's portfolio faster at a 6% return than the flat at 2%. After flat-rate tax, the renter keeps €558,624.

The gain from selling an owner-occupied home would be tax-free (EStG § 23 2009); the brokerage account, by contrast, is subject to flat-rate tax, with a 30% partial exemption (Teilfreistellung) for equity funds. We have taken this into account. Not included are estate agent fees on a later sale and the costs of follow-up financing.

Sensitivity: what tips the result

Buyer's lead after 20 years depending on the increase in value

Assumptions as in the example; only the increase in value and the return on the renter's portfolio change; renter after flat-rate tax. Above the zero line, the buyer is ahead: with a 6% ETF return, from about 2.82% increase in value a year.

Variant (otherwise as above)BuyerRenter after taxBuyer's lead
Example above€455,369€558,624−€103,255
Increase in value 3% instead of 2%€583,434€558,624+€24,810
ETF return 4% instead of 6%€455,369€415,543+€39,826
Loan rate 2.5% instead of 3.5%€437,865€450,827−€12,962
Loan rate 4.5% instead of 3.5%€475,156€666,421−€191,265
Rent €1,400 instead of €1,250€455,369€487,396−€32,027
Maintenance 1.5% instead of 1%€455,369€637,767−€182,398

With a 6% ETF return, the buyer only breaks even at an increase in value of about 2.82% a year. Paradoxically, a higher loan rate helps the renter here: the buyer's instalment rises, and the renter invests the larger difference. The example does, however, compare a risky equity portfolio with a leveraged flat. Both results fluctuate strongly, and a 6% equity return over 20 years is an assumption, not a promise.

For advanced readers: risk, taxes and inflation

Strictly speaking, the user cost should also include a risk premium for the price risk of ownership, which our simple formula leaves out. Conversely, the renter bears a rent risk, which Sinai and Souleles (2005) put at the centre of their analysis: where rents fluctuate strongly, ownership is a hedge, and buyers pay a premium for it. Using US data, they found that rent variance one standard deviation higher raises the price-to-rent ratio by 2 to 4%.

Taxes and inflation also shift the calculation. Poterba (1984) showed for the US that, under the American tax system, inflation lowered the user cost and could explain up to 30% of the real rise in house prices in the 1970s. In Germany, owner-occupiers cannot deduct interest, but the gain on a sale after owner occupation is tax-free, and buying incurs a high real estate transfer tax. Kaas et al. (2021) show in a life-cycle model that extensive social housing, high real estate transfer tax and the lack of an interest deduction together explain about two thirds of the gap in the home ownership rate compared with the US.

And finally, the holding period: the purchase costs are incurred once. If you sell again after five years, you have to spread €46,280 of purchase costs and the estate agent fees of the sale over five years instead of 20. In the user cost, that means €9,256 a year instead of €2,314.

What the research shows

For the US, Beracha and Johnson (2012) compared buying with renting and investing the difference over more than 30 years: with a holding period equal to the average length of stay, renting was the better investment strategy for most of the period. In their interpretation, this is because the urge to own pushes prices above fundamental value. In the long run, residential property was nevertheless a surprisingly profitable asset class: Jordà et al. (2019) find real total returns for 16 countries since 1870 similar to those of equities, with lower volatility. That applies to diversified holdings, however, not to a single flat.

In Germany, according to the Bundesbank's household wealth survey, only just over two in five households lived in their own home in 2023 (Deutsche Bundesbank 2025). According to Kaas et al. (2021), the low rate is largely a result of the framework conditions. Taken together, the research argues neither in principle for buying nor for renting; it shows that prices relative to rents, interest rates, the holding period and your own rent risk are what decide.

Limitations and common mistakes

  • Comparing the instalment with the rent: the instalment includes principal repayment, i.e. saving. Compare user cost with rent, or wealth at the end.
  • A renter without discipline: the renter's advantage only arises if the difference is actually invested. If you spend it, you lose the comparison.
  • Underestimating maintenance: heating, roof and mandatory renovation come in bursts. In the example, 0.5 percentage points more maintenance cost the buyer almost €80,000 of their lead.
  • One number for 20 years: increases in value, returns and interest rates fluctuate. Calculate ranges rather than a single point.
  • Forgetting the purchase costs: they arise immediately on purchase and again on sale if an estate agent is involved.
  • Counting only money: freedom to remodel, protection from eviction, flexibility to move and security in old age are real but personal values.

How Portfolio Lab calculates it

Portfolio Lab does not simulate the value of a home or the mortgage loan. You can, however, play through the renter's side in detail: in the Backtest, you invest a starting capital such as the €126,280 plus a monthly contribution and see, with German taxes, what would have become of it historically. In Financial goals, you plan with the types “Savings rate”, “Goal (one-off)”, for example equity for a later purchase, and “Withdrawal (recurring)” for rent in retirement, optionally with annual growth; Monte Carlo shows the range of portfolio values.

You can find listed real estate as monthly series under Asset classes, and more on rental yield and valuation in the article real estate as an investment. How the app calculates savings plans is described in the Financial goals methodology.

Frequently asked questions

Is buying better than renting?

It depends on the purchase price, rent, interest rate, increase in value, maintenance and whether the renter invests the difference. In the example with a €400,000 purchase price and €1,250 rent, the renter is €103,255 ahead after 20 years; with an increase in value of 3% instead of 2% a year, the result reverses.

How high are the purchase costs in Germany in 2026?

Real estate transfer tax between 3.5% (Bavaria) and 6.5% (North Rhine-Westphalia, for example), notary and land registry about 1 to 1.5%, plus an estate agent where applicable, whose fees the buyer of a flat bears at most half of. In the example in North Rhine-Westphalia, they come to 11.57% of the purchase price.

What price-to-rent ratio is still good value?

The financially neutral ratio is the reciprocal of the user cost: costs of 4.57% of the price correspond to 21.9 years' rent. With lower interest rates or a higher expected increase in value, a higher ratio is justifiable.

How do I compare renting and buying correctly?

Keep the budget the same: the renter invests the equity and, each year, the difference between the buyer's costs and the rent. After 10 or 20 years, compare the wealth of both: the home minus outstanding debt versus the portfolio after tax.

Do I have to pay tax on the gain when I sell my own home?

Not if you lived in the home yourself either exclusively between purchase and sale, or in the year of sale and the two preceding years. Otherwise, the gain is taxable within ten years of the purchase.

Literature

  1. Beracha, Eli; Johnson, Ken H. (2012): Lessons from Over 30 Years of Buy versus Rent Decisions: Is the American Dream Always Wise?. Real Estate Economics 40 (2), pp. 217–247. doi:10.1111/j.1540-6229.2011.00321.x
  2. Deutsche Bundesbank (2025): Household wealth and finances in Germany: Results of the 2023 household wealth survey (Monatsbericht April 2025). Deutsche Bundesbank, 10.4.2025; abgerufen am 25.10.2026. Source
  3. Deutscher Bundestag (1997): Grunderwerbsteuergesetz (GrEStG), § 3 (Ausnahmen) und § 11 (Steuersatz). Neufassung vom 26.2.1997, zuletzt geändert durch Art. 9 des Gesetzes vom 29.6.2026 (BGBl. 2026 I Nr. 197); Fassung auf gesetze-im-internet.de, abgerufen am 26.10.2026. Source
  4. Deutscher Bundestag (2009): Einkommensteuergesetz (EStG), § 23 Private Veräußerungsgeschäfte. Bundesgesetzblatt; Fassung auf gesetze-im-internet.de, abgerufen am 25.10.2026. Source
  5. Deutscher Reichstag (1896): Bürgerliches Gesetzbuch (BGB), §§ 2, 168, 430, 518, 528–530, 656a–656d, 672, 1626, 1629, 1642, 1649 und 2325. Neufassung vom 2.1.2002, zuletzt geändert durch Art. 6 des Gesetzes vom 23.7.2026 (BGBl. 2026 I Nr. 226); Fassung auf gesetze-im-internet.de, abgerufen am 26.10.2026. Source
  6. Freie Hansestadt Bremen (2025): Zweites Gesetz zur Änderung des Gesetzes über die Festsetzung des Steuersatzes für die Grunderwerbsteuer vom 22. Januar 2025. Gesetzblatt der Freien Hansestadt Bremen 2025, Nr. 9 vom 5.2.2025; abgerufen am 26.10.2026. Source
  7. Himmelberg, Charles; Mayer, Christopher; Sinai, Todd (2005): Assessing High House Prices: Bubbles, Fundamentals and Misperceptions. Journal of Economic Perspectives 19 (4), pp. 67–92. doi:10.1257/089533005775196769
  8. Jordà, Òscar; Knoll, Katharina; Kuvshinov, Dmitry; Schularick, Moritz; Taylor, Alan M. (2019): The Rate of Return on Everything, 1870–2015. The Quarterly Journal of Economics 134 (3), pp. 1225–1298. doi:10.1093/qje/qjz012
  9. Kaas, Leo; Kocharkov, Georgi; Preugschat, Edgar; Siassi, Nawid (2021): Low Homeownership in Germany—a Quantitative Exploration. Journal of the European Economic Association 19 (1), pp. 128–164. doi:10.1093/jeea/jvaa004
  10. Oberfinanzdirektion Nordrhein-Westfalen (2026): Grunderwerbsteuer: Wissenswertes beim Grundstücks- oder Immobilienerwerb. Finanzverwaltung Nordrhein-Westfalen; abgerufen am 26.10.2026. Source
  11. Poterba, James M. (1984): Tax Subsidies to Owner-Occupied Housing: An Asset-Market Approach. The Quarterly Journal of Economics 99 (4), pp. 729. doi:10.2307/1883123
  12. Sinai, Todd; Souleles, Nicholas S. (2005): Owner-Occupied Housing as a Hedge Against Rent Risk. The Quarterly Journal of Economics 120 (2), pp. 763–789. doi:10.1093/qje/120.2.763
  13. Verbraucherzentrale (2024): Immobilienfinanzierung: So berechnen Sie, was Sie sich leisten können. verbraucherzentrale.de, Stand 6.11.2024; abgerufen am 26.10.2026. Source

Full bibliography

This article explains a method; it is not investment or tax advice. Worked examples are simplified and rounded. All terms in the glossary.