The question is how long you stay
Renting and buying are usually compared on the monthly payment, which is the one comparison guaranteed to mislead. Buying front-loads a large cost, gives some of it back at the end, and charges for a set of things a tenant never pays. Whether it wins depends almost entirely on how long the money stays in the property, because the costs of buying and selling are paid once and have to be spread over the years you are there.
That is what the break-even year on this page is. Every row of the table is its own complete comparison, with the home bought at the start and sold at the end of that year, and the cost of selling taken off. It is not a running total: selling happens once, and a comparison that leaves it out flatters buying in every single year.
Everything is in today's money
Both sides are discounted at the return you would earn on the money if you did not buy. That single rate does two jobs. It makes a payment ten years away comparable with one next month, and it charges the buyer for the deposit being tied up in a house rather than invested. A comparison that builds a separate investment account for the renter is doing the same thing with two numbers that have to be kept in step; this does it with one.
Turn the rate up and renting improves, because the money the renter is not spending on a deposit works harder. Turn it down and buying improves. It is the most sensitive input on the page after house price growth, and it is worth moving both before treating any answer as settled.
The costs people forget
Maintenance is the big one, and it is charged here as a share of what the home is worth at the time rather than of what it cost, because that is how it behaves. Property tax, insurance and any service charge are the rest of the running costs a tenant does not pay. On the way in there are buying costs, and on the way out the cost of selling, which is usually the larger of the two and the one most often left out of the comparison entirely.
What is not here is as important. There is no tax relief on mortgage interest and no tax on the gain when the home is sold, because both depend on where you live, on the rest of your return, and on rules that change. House prices cannot fall on this form, so a growth rate of nothing is the pessimistic case available. The full list sits beside the method note, and it is worth reading before treating the verdict as a decision.