Distance Between UK Postcodes

This tool can be used to find the distance between postcodes in the UK. Type in the two postcodes and click the Show button.

Map Showing the Distance Between Two UK Postcodes

Loading...

Options

Postcode 1 Postcode 2
From
to

 Show 

 
Measure in : miles km meters
Distance as the Crow Flies : As the crow Flies
Distance by Land Transport : Land Transport

Switch to Full Screen

Bulk Processing

Use the text box below to input bulk postcodes and find the 'as the crow flies' distances between them. There is a limit of 200 pairs at a time. Add them in the format postcode1,postcode2 per line. For Example TR20 8QJ,KY5 0AT. Once processing is complete, the distance is appended as a 3rd column on the CSV list. You can toggle the units (miles/km) using the switch above.

If any postcodes are not found, the tool will output the distance as NF (1st PC NF) or NF (2nd PC NF) to indicate it was the first or second postcode at fault


 Process Postcode List 

How to Use Postcode Tool

Type in the first and second postcode then click the Show button. The map will then display the location of the two postcodes and also show the routes for:

  • As the crow flies - the straight distance between the points
  • By land transport - by car and/or boat

You will also see the distance displayed below the map for the distance as the crow flies and also by land transport. You can then type in more postcodes and click the show button to see more distances.

Note : This Postcode distance finder will measure the distance between full UK Postcodes.

Format of Outward Code / Out Code

Use the format "A(A)0(0)(A)", where:

  • A is a character
  • 0 is a digit
  • () means optional

Format of Full UK Postcode

Use the format "A(A)0(0)(A)_0AA", where:

  • A is a character
  • 0 is a digit
  • () means optional
  • _ is a space

So any input of 2,3 or 4 characters is assumed to be an Out Code format and anything longer than 4 characters is assumed to be a full UK postcode.

Uses of This Postcode Tool

This tool has a wide range of possible uses from delivery estimation to point to point measurement. If you know of a useful application of this tool, let us know.

Problems or Suggestions

If you notice any errors or have suggestions for further development, then please contact freemaptools.

Future Ideas

  • Search for Outcode (first part) as well as full postcodes

Version History

  • 8th February 2021 : Bug fix - Bulk upload > An identical pair of postcodes caused the first instance to have the distance appended multiple times
  • 30th September 2018 : Bug fix - start/end of driving route was the wrong way round
  • 27th September 2018 : Bug fix - Bulk upload now copes with invalid postcodes better. That row fails, but the next rows still process
  • 26th September 2018 : Bug fix
  • 25th September 2018 : Bug fix
  • 24th September 2018 : Bug fixed on Bulk Processing
  • 24th September 2018 : Switched to Leaflet maps
  • 18th September 2018 - Changed back end service provider. Bug fixed a 'not found' postcode in the right hand textbox displayed an error (wrongly) that it couldn't find the first postcode
  • 1st August 2018 - Improvement to handling of postcodes that are not found
  • 9th May 2016 - Small update to Bulk Processing - prevent issue resulting from new line at end of data
  • 21st April 2016 - New Bulk Processing function to process postcode distances in bulk
  • 8th January 2015 - New function that generates link to share the result
  • 5th November 2013 - Implemented Google Maps API V3 including new google.maps.DirectionsService
  • 20th September 2011 - Resolved issue where a postcode not found in the right hand textbox would be reported as not finding the value of the left hand textbox
  • 9th October 2008 - Resolved issue when Show button is clicked multiple times and distance keeps changing. Improved automatic zoom function
  • 23rd December 2007 - Added enter to submit function
  • 22nd December 2007 - Improvements to back end storage system and some of the text on this page
  • 16th December 2007 - Version 1 of functional system completed
  • 15th December 2007 - Page created

Relevant Links

Information on UK Postcodes

Comments For This Page

Hi, nice tool! I have a list of from/to postcodes for which i'd like to bulk process and get the road distance. The result returns the crow flies distance only. Any way of getting the road distance?
By PT on 12th March 2024

The location on the map is not correct for the postal code GL2 5LZ.
By B Hanks on 18th February 2024

Useful if the distances were produced as standalone data, would help copy and paste across into Excel
By RA on 16th February 2024

Its a CSV list thats displayed in the output textbox.
By Free Map Tools on 26th January 2024

How do I access the CSV file please for bulk processing?
By Gwynneth on 26th January 2024

The results for the Bulk processing are as the crow flies only, the distance by Land Transport would be great
By JimG on 24th January 2024

Phil, the distances are appended in the text box that you type in to.
On 23rd January 2024

I have run the report it says "Processing Complete. Units are in miles" where is the file once its completed?
By Phil C on 22nd January 2024

Brilliant App - Thank you Please could the Bulk processor provide the land transport distance and time results too - would be really helpful for people working in rural areas
By Dr A Sloper on 20th December 2023

Excellent little app - I have used it for finding distances between football clubs for my spreadsheet results predictor - would be good if it had the option of by road for multiple postcodes also the 200 limit is a little restrictive
By David on 27th November 2023

Would it be possible to add the option to select 'Distance by Land Transport' to the Bulk Processing section?
By Chris on 22nd November 2023

Would it be possible to add the option to select 'Distance by Land Transport' to the Bulk Processing section?
By Nick M on 9th November 2023

Good work, very useful.
By Nick on 19th October 2023

Thank you
On 21st September 2023

Constantly lagging
By Jessica on 6th September 2023

Great effort people who behind this
By M. Warsam on 30th August 2023

MOST USEFULL SYSTEM
By WILD on 15th August 2023

Hi, there seems to be a problem, its only showing me the way the crow flies and not distance by land transport
On 6th June 2023

Programme has stopped calculating Land Transport distance only gives "as crow flies" June 6 2023
By John Davies on 6th June 2023

Why won't it show me walking distance? between post codes
By Sheila on 20th May 2023

Showing the most recent 20 out of 815 comments. Click to see all the comments.

Add your own comment below and let others know what you think:

Comments

Your Name (optional)

 Post