MILEAGE AND STRAIGHT LINE
Distance Between Two Addresses
Find the distance between two addresses: the driving mileage, the drive time and the straight-line distance, plus what the trip costs at a mileage rate you choose. Works with street addresses, UK postcodes and US ZIP codes.
Road and straight line · Round trip and cost · Up to 25 stops
Enter Two Addresses
Enter two places — or click the map twice — to get the straight-line distance, bearing, midpoint and how it compares with the road.
Radius check — is it within X miles?
Bulk distance calculator — paste or upload a CSV
One pair per line: from,to. Each side can be a place, UK postcode, US ZIP or coordinates in quotes ("51.5072,-0.1276"). Four numeric columns (lat1,lon1,lat2,lon2) also work. A header row is detected automatically.
How this calculator works
Straight-line distance is the shortest path over the Earth's surface (a geodesic). We solve it on the WGS84 ellipsoid — the model GPS uses — with Vincenty's inverse formula, accurate to well under a millimetre. The haversine (perfect sphere) result is shown alongside so you can see the difference, typically up to 0.5%.
Bearing is the initial compass direction from the first point. The midpoint is halfway along the great-circle path. The rhumb line is the longer constant-bearing route that a compass course would follow. Road, walking and cycling distances come from OpenStreetMap routing, and the detour figure compares them with the straight line.
More distance tools
- Distance as the crow fliesStraight-line distance between any places, with bearing, midpoint and road comparison.
- Google Maps distancePaste Google Maps links or plus codes; step-by-step guide to Google’s ruler.
- How far am I from…Distance from your location to a state, state line, country, city, beach or home.
- Distance to the coastDistance to the sea from any place, height above sea level and a bulk postcode/ZIP checker.
- Halfway pointMeet in the middle by straight line or equal drive time, with cafés and towns nearby.
- Radius mapDraw a circle of any radius, list the towns inside it and see how far it really is.
- Air milesGreat-circle flight distance between airports, multi-leg, with flight time.
- Distance between coordinatesLatitude/longitude in decimal, DMS, UTM; formulas and code snippets.
- Distance between two pointsThe distance formula in 2D and 3D with step-by-step working and a graph.
- Horizon distanceHow far you can see from any height, and what is hidden by the curve.
- Miles ↔ kmLength, speed and running-pace conversions.
76¢
IRS business rate per mile from 1 July 2026
55p
HMRC rate per mile from 6 April 2026
25
stops in one multi-stop route
500
address pairs in the bulk CSV calculator
How to find the distance between two addresses
Four steps, from typing the first address to the cost of the trip.
1
First address
A full street address gives the most precise result; a postcode or ZIP code works too.
2
Second address
Type it and pick the right match from the list.
3
Read the result
Driving mileage, drive time and round trip, with the straight-line distance and the detour percentage underneath.
4
Add a rate
Enter a rate per mile or per kilometre to see the cost of the trip.
Driving mileage vs straight-line distance
Straight-line distance
The distance as the crow flies: the shortest path over the Earth’s surface between the two addresses. It ignores roads. Use it for radius rules, catchment areas, eligibility limits or comparing how close two places are.
Driving mileage
Follows real roads, so it is always longer. The tool shows the difference as a detour percentage. Use road mileage for travel planning, fuel costs and mileage claims: tax authorities expect the miles you actually drive.
Mileage between two addresses for a mileage log
Record each trip
Enter the start and end address of every business trip. The driving distance between the two addresses is the mileage to log.
Count the round trip
Most trips go there and back. The tool shows the round-trip miles, so your log matches the miles you actually drove.
Apply your rate
Add your rate per mile to see the cost of the trip, for example the IRS rate in the US or the HMRC rate in the UK.
CLAIMS AND COSTS
Mileage cost between two addresses
US: the IRS raised its 2026 rates mid-year. Business driving is 76 cents per mile from 1 July 2026 (72.5 cents from 1 January to 30 June). Medical and military moving is 23.5 cents from 1 July (20.5 cents before), and charitable driving stays at 14 cents.
UK: from 6 April 2026, HMRC’s approved rate for cars and vans is 55p per mile for the first 10,000 business miles in the tax year (it was 45p), then 25p. Motorcycles are 24p, bicycles 20p, plus 5p per passenger per business mile.
The result shows the round-trip mileage as well, because most claims and fuel budgets cover the journey there and back. Rates change; check the IRS or GOV.UK for the rate that applies to your claim.
Worked examples
Two real trips, worked out with this calculator.
| Trip | Straight line | By road | Drive time | Cost one way |
|---|---|---|---|---|
| SW1A 1AA (Westminster) to M1 1AE (Manchester) | 163.0 mi | 199.1 mi | about 4 h 4 min | £109.51 at 55p |
| ZIP 10001 (New York) to ZIP 02108 (Boston) | 188.1 mi | 212 mi | about 4 h 36 min | $161.12 at 76¢ |
Drive times are typical free-flow estimates from OpenStreetMap routing, without live traffic.
Multi-stop route
Add up to 25 stops to get each leg and the total, for example a round of client visits.
Bulk CSV
Paste or upload up to 500 pairs of addresses, postcodes or ZIP codes and download the straight-line distances as a spreadsheet.
Walking and cycling
Compare the walking and cycling distance and time between the same addresses. These use footpaths and cycle routes, so they can be shorter or longer than the drive.
Tips for accurate results
- Use a full street address or a full UK postcode. A US ZIP code or a town name uses the centre of that area, which can be a few miles from your actual address.
- Check that the suggestion you pick is in the right town and state or county: many street names repeat.
- For mileage claims, record the route you actually drove if you took a detour.
Frequently asked questions
How do I find the mileage between two addresses?
Enter both addresses. The tool shows the driving mileage, drive time and round trip, plus the straight-line distance.
What is the straight-line distance between two addresses?
It is the shortest distance over the Earth’s surface between them, ignoring roads, also called the distance as the crow flies.
Which distance should I use for a mileage claim?
Use the road miles you actually drove, not the straight-line distance.
What is the IRS mileage rate for 2026?
76 cents per mile for business use from 1 July 2026, and 72.5 cents from 1 January to 30 June. Medical and military moving is 23.5 cents from 1 July, and charity is 14 cents.
What is the HMRC mileage rate for 2026/27?
55p per mile for the first 10,000 business miles in a car or van, then 25p per mile, from 6 April 2026.
Can I use a postcode or ZIP code instead of a full address?
Yes. A full UK postcode is very precise. A US ZIP code uses the centre of the ZIP area, so the result is approximate.
Can I calculate many addresses at once?
Yes. Add up to 25 stops to one route, or use the bulk calculator for up to 500 address pairs.
How do I find the driving distance between 2 addresses?
Enter both addresses and the tool returns the driving distance, the drive time and the straight-line distance between them.
Can I see the distance from one address to another as the crow flies?
Yes. The straight-line distance is shown under the driving mileage, with the detour percentage between the two.
How do I draw a radius around an address?
Use the Radius Map: type the address as the centre and enter the distance.