That's incorrect for the UK, though the gov page is confusingly worded. The basic rate is applied to £37,700 of income but you have to add the tax allowance of £12,570 onto that, so the 40% rate kicks in at £50,270.
Edit: plus it's not exactly the UK since Scotland has different tax rates and services but I think it's confusing enough already.