Since Bath is a city in Somerset and Surrey is a county in Southeast England, the distance depends on the specific points measured. However, the approximate road distance from Bath city center to the Surrey border (near Farnham/Godalming) is:
Traveling to central Surrey towns like Guildford or Woking adds another 10–15 miles.