Distance Between Postcodes
Estimate distance between UK postcodes
Inputs
Provide the following 2 values to run the Distance Between Postcodes:
- First Postcode [text] (required)
- Second Postcode [text] (required)
What it calculates
This tool returns:
- Postcode 1 — primary result
- Postcode 2
- Note
Worked example
For the sample inputs below:
- First Postcode: example
- Second Postcode: example
the Distance Between Postcodes produces:
- Postcode 1: Valid Format
- Postcode 2: Valid Format
- Note: Use Google Maps for exact distance
How it works
The result is derived through the following steps:
clean1 = postcode1.replace(/\s/g, '').toUpperCase()clean2 = postcode2.replace(/\s/g, '').toUpperCase()valid1 = clean1.length >= 5 && clean1.length <= 8valid2 = clean2.length >= 5 && clean2.length <= 8
Frequently Asked Questions
How does the Distance Between Postcodes tool work?
Our tool uses a database of UK postcode coordinates to calculate the straight-line distance between any two postcodes entered by the user.
Can I use this tool for any UK postcode?
Yes, you can enter any valid UK postcode to find the distance to another postcode within the UK.
Is the distance calculated in miles or kilometers?
The tool provides distance in both miles and kilometers, allowing you to choose your preferred unit of measurement.
Is this tool free to use?
Yes, the Distance Between Postcodes tool is completely free to use for anyone who needs to estimate distances between postcodes in the UK.
What are the practical uses of this tool?
This tool is useful for planning travel routes, determining delivery distances, or assessing travel times between locations in the UK.