Buying a home or renting and investing the difference, from the same money: what each choice leaves you after the years you stay, with the costs of owning, buying and selling. Free to use on any site, with one line of HTML and nothing to sign up for.
This is the real widget. Try changing the numbers.
Calculator by smartfin.fyi
<iframe src="https://smartfin.fyi/embed/rent-vs-buy.html"
width="100%" height="3300" style="border:0"
title="Rent vs buy calculator" loading="lazy"></iframe>
<p style="font-size:12px;margin:6px 0 0">Calculator by <a href="https://smartfin.fyi/rent-vs-buy-calculator.html">smartfin.fyi</a></p>
Terms: there aren't many. Use it on any site, including commercial ones, at no cost. We may improve the calculator over time, so the embedded version can change. If it ever needs to be retired, this page will say so first.
The complete rent vs buy calculator on smartfin.fyi adds where the money goes, a chart of both choices, the year-by-year table, the difference at other growth rates and the full method.