UK Postcode Distance Calculator
The quick UK version of the distance question: two postcodes in, an approximate great-circle distance between representative points in miles and kilometres.
By Aryan Khan, Founder & Editor · Updated October 2026
The postcode coordinates represent locations, not necessarily individual doorsteps.
How to use UK Postcode Distance Calculator
Two postcodes, one honest number — useful whenever a form, a quote or a territory decision depends on how far apart two UK addresses really are:
The tool uses postcodes.io representative coordinates and calculates spherical great-circle distance, not address-to-address or driving distance. Coverage and input precision depend on the postcode service.
- 1Type the first postcode.
- 2Type the second.
- 3Read the distance in miles and kilometres.
What people use UK Postcode Distance Calculator for
1. Delivery and call-out charge bands
Many UK trades price by distance from base. A straight-line figure between your postcode and the customer's is the consistent first pass for a call-out band — then check the actual journey in the UK Postcode Walking Route Planner or a driving tool before quoting a time.
2. Engineer and carer coverage
Postcode distance can inform preliminary coverage comparisons, but it does not identify the nearest person by road or guarantee precise addresses.
3. Relocation and commuting checks
Comparing a new home against the office, a school or family is a distance question before it is a viewing. Run the candidate postcodes here, then test the realistic journey time separately.
4. Coursework and data cleaning
Students and analysts joining UK datasets use postcode distance to validate records and spot the row where a digit was transposed — a London postcode suddenly 400 km from its neighbours announces the error.
Worked examples
The result is calculated from the representative coordinates returned for the two entered postcodes. Verify the locations and use routing for a road distance.
The result is calculated from the representative coordinates returned for the two entered postcodes. Verify the locations and use routing for a road distance.
Understanding postcode distance
The value is a spherical estimate between provider-reported points.
| Question | Answer |
|---|---|
| Input | Two postcodes resolved by postcodes.io |
| Distance | Great-circle estimate between representative points |
| Road distance | Not calculated |
| Actual address locations | Not guaranteed by a postcode |
The result depends on provider coverage and location accuracy.
How to interpret the result
The most common errors come from using a correct result to answer the wrong geographic question. Keep these points in mind for UK Postcode Distance Calculator:
- Remember that bearings are true-north by default. If you are transferring a bearing to a magnetic compass, add (or subtract) your local declination — it exceeds 10° in many inhabited regions and flips hemispheres of behaviour.
- Use the midpoint tool instead of averaging coordinates when splitting journeys: latitude/longitude averages distort over long legs and fail across the date line, while the spherical midpoint follows the actual path the distance was measured along.
Limits & appropriate use
The honest limits here are about category, not quality: great-circle math is near-exact, but it answers 'how far over the surface', not 'how far as driven, flown or walked'. Airline distances follow airways and winds; odometers follow detours; hikers follow switchbacks. Quoting a straight-line number into a fuel budget is the classic misuse, which is why the tools keep the ladder visible — crow-flies, road, time — and label each rung. A second limit is definitional: 'city to city' means mapped centre to mapped centre, and a suburb-to-airport question is a different measurement wearing the same sentence.
Within those bounds the numbers are durable: reproducible from coordinates alone, stable across tools that use the same radius convention, and accurate to a fraction of a percent of geodetic truth. The escalation path is short and rarely needed — ellipsoidal libraries (Karney's algorithms) for survey-grade millimetres, the routing engine for network truth, and the airline's schedule for invoice truth. Knowing which authority owns which number is the entire craft of distance literacy.
- Survey-grade millimetres → ellipsoidal geodesic libraries, not sphere math.
- Fuel and schedule planning → road routing plus your congestion buffer.
- Airline invoicing → carrier distance tables (airways ≠ great circles).
Data & methodology
postcodes.io geocoding of both postcodes plus haversine distance on WGS84.
For source details, licences and model limitations, see Data Sources and Methodology.
Key terms worth knowing
- Geodesic
- The ellipsoid-true shortest path; haversine approximates it within ~0.3%.
- Great circle
- A circle centred on Earth's centre; its arcs are the shortest surface paths.
Editorial guidance: MapBench explains the method and limitations so the tool can be used as a transparent reference, not as a black-box answer. For legal boundaries, safety-critical routing, surveying, engineering, regulated decisions or official statistics, verify the result with the responsible authority or a qualified professional.
Category: Distance & Bearing. Results are intended for everyday analysis and planning unless a page explicitly states otherwise.
Method, assumptions & limits
- This tool’s method
- postcodes.io geocoding of both postcodes plus haversine distance on WGS84.
- Before relying on the answer
- Keep the endpoints and measurement mode fixed when comparing results. A surface separation, a compass bearing and a road distance are different outputs.
- What the result cannot establish
- A rounded coordinate or a city-centre search changes the endpoints. Do not interpret displayed decimal places as survey accuracy.
Coverage: Worldwide. Search, basemap and external data requests may use third-party services; browser-based does not mean every operation is offline. Read the source and licence notes, calculation methodology and privacy policy. If a result looks inconsistent, report a correction with the inputs and mode used.
Frequently asked questions
Clear answers about the calculation, accuracy and appropriate use.
Crow-flies or driving?
Straight-line between the two postcode centre points. For the road answer, plan the route with the route planner using the same postcodes.
How accurate are postcode points?
Postcodes.io provides representative coordinates, not necessarily the location of a particular address. Accuracy varies.
How accurate is this distance?
The geometric calculation is suitable for planning and comparison, but the answer is only as accurate as the coordinates you provide. Road, terrain and legal distances can differ.
Can I use coordinates instead of place names?
Yes. Where the tool accepts locations, you can paste latitude and longitude directly for a more explicit input.
Why can this differ from Google Maps or a road route?
Straight-line and geodesic tools measure geometry on Earth, while road-routing tools follow an actual transport network. They answer different questions.
Do I need the full postcode, or is the district enough?
Use the full postcode (for example SW1A 1AA, not just SW1A). The distance is measured between the coordinates postcodes.io publishes for the complete code; a district covers a wide area and would make the answer depend on which point in it you happened to pick.
Is this the driving distance?
No. It is a spherical great-circle estimate between representative postcode coordinates, not a road route.
Where do the coordinates come from?
From postcodes.io, the open UK postcode dataset built on Ordnance Survey and ONS data. Each postcode resolves to a representative latitude and longitude, which is what the haversine calculation consumes.
Does it work for Northern Ireland?
postcodes.io may resolve Northern Ireland postcodes. Availability depends on the provider, and results use representative locations.
Why does my result differ from a mileage calculator?
Because they measure different things. Mileage follows roads; this tool measures geometry. The gap between the two grows where roads must detour around water, hills or sparse networks — the comparison itself is often the useful insight.
How accurate is a postcode-to-postcode distance?
It is an estimate between provider-reported representative coordinates, not a measured distance between properties. Coverage, point accuracy and postcode extent vary.
Can I compare many postcodes at once?
This page answers one pair at a time, carefully. For a table of every pair among several places, extract the coordinates and use the Distance Matrix Calculator.
Related tools and resources
Within the UK set, the Nearest Hospital by UK Postcode finder answers the “what is close to this code” question, and the UK Postcode Walking Route Planner turns a pair into an actual walking journey. For the same idea with US ZIP codes, see Distance Between ZIP Codes.
More free tools
Sources, methodology & editorial trust
- ✓ Browser-first processing where supported
- ✓ External sources are documented
- ✓ No account required for public tools
- ✓ Review data sources
Calculations are documented with their assumptions, limitations and source context rather than presented as unexplained answers.
Reviewed and maintained by Aryan Khan, Founder & Editor of MapBench.
Part of our distance calculators hub
UK Postcode Distance Calculator sits in the distance calculators cluster, alongside 28 other tools that answer neighbouring questions with different methods or datasets.
You may also need
When this answer is only part of the job, these clusters cover the next step.
Read the guide behind this tool
Distance Calculation: Haversine, Geodesics & When It Matters — Why flat map arithmetic fails over large distances, what the haversine formula does, and when a full ellipsoidal geodesic is the better choice.