PS. If you can arrange to earn nothing in 2018/19, then the loan charge works out even better.
That's probably not realistic for many people, which is why I gave examples of £40k and £100k.
There may be ways to reduce it even more by utilizing tax reliefs eg. making pension contributions in 2018/19.