Nearest train station to my postcode

Enter a postcode to see the nearest railway stations, how far each is in a straight line, and how many bus stops are within 400 metres.

Free. No account needed. England, Scotland and Wales.

Your answer for EH16 5SQ

The nearest railway station to the centre of EH16 5SQ is Shawfair Rail Station, 4.0 km away in a straight line.

  • Shawfair Rail Station Railway station 4.0 kmCycle
  • Edinburgh Rail Station Railway station 4.2 kmCycle
  • Brunstane Rail Station Railway station 4.2 kmCycle

Straight-line distances from the centre point, not routes. Walk: under 1.2 km. Cycle: 1.2 to 5 km. Drive: further.

6 bus stops within 400 metres, the nearest Glenvarloch Crescent, 117 m away.

How we work this out

We take every active railway, Underground, metro and tram station, and every active bus stop, from the Department for Transport's National Public Transport Access Nodes (NaPTAN, read 17 October 2026).

For a postcode we measure the straight line from its centre point, as ONS gives it, to each station, and list the three nearest railway stations within 20 km, any Underground, metro or tram station within 3 km, and how many bus stops are within 400 metres.

Is that how far I would walk?

No: a straight line is shorter than any route. A river, a railway or a main road between you and the station can make the walk much longer.

How often do trains run?

The register lists where stations and stops are, not how often anything calls there. National Rail Enquiries and each operator have timetables.

Schools near my postcode The nearest open primary and secondary schools to a postcode, by straight line. Broadband speed by postcode How many homes at a postcode can get superfast and gigabit broadband, from Ofcom. What council am I in? The council, borough or local authority for a postcode, and the county council where there is one.

Sources: NaPTAN, read 17 October 2026; ONS Postcode Directory, August 2026, loaded 20 October 2026.

Where the facts on this page come from

Contains public sector information licensed under the Open Government Licence v3.0.

Licence: Open Government Licence v3.0.

Something wrong on this page? Report an error and we will check it against the source. All our sources