yCalculator

Distance Calculator

Last updated: April 2026

Coordinates

Enter two points in 2D space.

Point 1

Point 2

Euclidean distance

5 units

Differences

Delta x

3

Delta y

4

Manhattan distance

7

P1P2Delta xDelta yd
Step-by-step working
  1. Delta x = x2 - x1 = 4 - 1 = 3
  2. Delta y = y2 - y1 = 6 - 2 = 4
  3. Delta x^2 + Delta y^2 = 9 + 16 = 25
  4. d = sqrt(25) = 5 units

Distance formula derivation

The distance formula comes directly from the Pythagorean theorem. The horizontal change and vertical change form the legs of a right triangle, and the distance between the points is the hypotenuse.

Euclidean vs Manhattan distance

Euclidean distance is the straight-line distance. Manhattan distance adds the horizontal and vertical movement, like travelling through city blocks.

Distance in coordinate geometry

Coordinate distance is used in geometry, physics, graphics, mapping, engineering, statistics, and machine learning whenever positions need to be compared.

What does this mean?

This calculator is designed to help you understand the likely number before you make a decision or start an application.

Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.

Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.

Related Math calculators

math calculators

Triangle Calculator

Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes

Calculate →

math calculators

Area Calculator

Calculate the area of common 2D shapes with formula substitutions and unit conversions

Calculate →

math calculators

Volume Calculator

Calculate the volume and surface area of common 3D shapes with full working and practical litre conversions

Calculate →