The longest distance on the mainland in the UK is around:
Explanation:
"The UK is located in the north west of Europe. The longest distance on the mainland is from John O’Groats on the north coast of Scotland to Land’s End in the south-west corner of England. It is about 870 miles"