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. 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

  • 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, this shows different results compared to google maps for crow flies distance (using measure distance option). I am confused which one is accurate, google map or this one. Any idea why it would show different results
On 25th August 2020

This is a very useful site and i wish to thank you for your help. Many Thanks.
On 25th August 2020

Dave, for driving distances, this website is the only option we have. For line of sight we have a paid for API. Get in contact if you wish to discuss.
By Free Map Tools on 20th August 2020

Hi - Is it possible to run this locally (offline) thanks
By dave on 20th August 2020

Good
By Zowie on 17th July 2020

Lisa, it gets updated 3 or 4 times per year.
By Free Map Tools on 9th July 2020

How long does it take for new postcodes to be uploaded?
By Lisa B on 9th July 2020

Steve, sorry the functionality only runs on this website.
By Free Map Tools on 12th June 2020

Can this coding be embedded into my website or is it some sort of plugin/ widget? Thanks
By Steve on 11th June 2020

Rubbish!!!!! Spent 20 minutes but didn't come up with answers kept saying link to this result then putting in an email address I've not heard off kept clearing but still comes back with no answers
By John on 28th March 2020

Scrap that last question, I forgot the ,!
By Will on 27th March 2020

Am I missing something or when I calculate multiple postcodes I cant find the distance?
By Will on 27th March 2020

Hi, we have introduced measures to prevent invalid use of the service, however this is quite sensitive and will sometime block valid use. Can you try deleting temporary internet files or try a different web browser?
By Free Map Tools on 24th March 2020

It doesn't seem to be showing distance by land anymore, is this being looked at? Thanks
On 24th March 2020

Doesn't seem to calculate distance by land transport any more just as the crow flies. Any ideas?
By JohnH on 19th March 2020

Hi, when will you let us to search for bulk land transport distances? That would be really so usefull for many people.
By luko on 12th February 2020

Hi, do you have any examples that aren't listed?
By Free Map Tools on 9th February 2020

Would be great if new properties were added faster. We have lots of postcodes that aren't listed.
On 6th February 2020

N28La ,E63JH
On 1st February 2020

If you could allow the driving mileage option for the bulk upload then this service would be perfect!
By MarkW on 27th January 2020

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

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

Comments

Your Name (optional)

 Post