We answer this question extensively in this interactive article "Should I rent or buy a property in Germany".
Generally, this comparison starts with comparing your current rental expenditure to the cost and benefit of owning a similarly sized own home.
It’s important to understand, in this example, that the cost of buying is not 1,020 euros per month. It’s only the interest of 1.5% or 437 Euro per month. So you save every month 1.020 - 437 euros. However, you also have to take into account maintenance cost and homeowners insurance on the minus side, and the appreciation on the plus side.
In our rent-or-buy-calculator, we then also add that the rent can increase, while the property price increase is compounding. In other words the higher the value of the property over time, the higher the euro amount of a given percentage price increase.
To calculate whether renting or buying is better for you, you can read this interactive article and change the parameters to fit your case.