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

Click Here To Load The Map


Postcode 1 Postcode 2


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.

 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.

Version History

  • 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

Google Maps API

Information on UK Postcodes

Comments For This Page

Seems bulk processing is no longer working. Has worked before and I'm using the same format etc. Freezes at 1%.
By Tom on 15th August 2018

Is the bulk processing tool not working? Also where does the result appear in csv format. I tried finding distance between 3 sets of post codes. But did not get the result. Please help!!
By RD on 6th August 2018

Is this the same system as Map Explorer which I used to have? Also does it save the locations? Many thanks
By WD on 3rd August 2018

PTB use this site all the time. FCUM football fan. Has never let us down on away days.
By PTB on 2nd August 2018

Unfortunately it is still freezing when it gets to a postcode that does not exist. For example, the following list freezes at 67% when it gets to GL56 9ZZ which does not exist CV35 9HZ,GL56 9HN CV35 9HZ,GL56 9ZZ CV35 9HZ,GL56 9HN
By Roger on 2nd August 2018

Roger, updates have made in an effort to prevent this
By Free Map Tools on 1st August 2018

Caroline, can you confirm the data you add to the text box?
By Free Map Tools on 1st August 2018

Shame this doesn't return a blank value for postcodes it doesn't recognise rather than freezing
On 1st August 2018

I am having problems with batch processing, it keeps freezing. Is there a problem with the tool?
By Caroline on 1st August 2018

Thank you for your prompt response. I have done a bit more investigation and the problem occurs when a postcode does not exist. Rather than saying "not found" the processing freezes. If I delete the offending line and re-paste the data, it continues. However since my data is likely to have a lot of errors (due to mis-keying in data entry), this is going to be very laborious.
By Roger on 27th July 2018

Rodger, can you confirm the data you are processing? I suspect there is an issue with the data or its formatting.
By Free Map Tools on 26th July 2018

Update made. Map will load when Show button is clicked.
By Free Map Tools on 26th July 2018

I too am having problems with batch processing. It keeps freezing part way through processing the records
By Roger on 26th July 2018

Hi, is this tool still working? it appears to be unresponsive
On 26th July 2018

Thanks for your quick response. :)
By Nicky on 5th July 2018

Nicky, it was trying hard (too hard) to find a match. This caused the erroneous results. We have lowered the threshold and it will now more readily say "not found" for an invalid postcode.
By Free Map Tools on 4th July 2018

Brilliant free tool! Is there a reason why it puts the same magic number for unrecognised postcodes? Example %u2026 LE62 4RD,S71 1AY,148.739 LM6 9YM,S71 1AY,148.739 LS4 9JA,S71 1AY,148.739 LS54 9PQ,S71 1AY,148.739 LSY 9AC,S71 1AY,148.739 PN4 3YS,S71 1AY,148.739 S10 4SH,S71 1AY,148.739 S15 0ET,S71 1AY,148.739 S2 2FQ,S71 1AY,148.739 S2 8TF,S71 1AY,148.739 S30,S71 1AY,148.739 S30 4DF,S71 1AY,148.739 S31,S71 1AY,148.739 S32,S71 1AY,148.739 S40 7AJ,S71 1AY,148.739 S47,S71 1AY,148.739
By Nicky on 3rd July 2018

Hi SS, can you list examples of the RANDOM/wrong distance calculations please?
By Free Map Tools on 25th June 2018

great tool BUT WATCH OUT --- from a 100 checks via bulk option it gave 3 very RANDOM/wrong distance calculations over (200 miles ). Checking these 3 individually gave a more accurate distance
By SS on 25th June 2018

Bernie, sorry, this is not possible
By Free Map Tools on 20th June 2018

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

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


Your Name (optional)