The same loan arithmetic, three different sets of rules: escrow and PMI in the US, semi-annual compounding and CMHC in Canada, council tax and stamp duty in the UK.
A monthly payment is a small piece of arithmetic wrapped in a large set of local conventions. Compounding frequency changes the rate; whether insurance is mandatory and financed changes the balance; how property tax is levied changes the recurring line. Keeping one engine and switching the conventions is the only way to compare countries without comparing three different models.