Distance Geometry Toolkit
Ten coordinate-geometry mini-tools on a single live dashboard.
Coordinate-geometry transformations
Live coordinate-geometry dashboard
Point A
Point B
Distance
10
Midpoint
(5, 7)
Slope
4/3
Angle
53.13°
Bearing A→B
36.9° NE
y-intercept
0.3333
Direction
Quadrant 1
Line equation
y = 4/3x + 0.333333
4x − 3y + 1 = 0
Point reflection
Reflect Point A across a chosen line or the origin. The original point's distance from the line is mirrored on the opposite side.
Original A
(2, 3)
Reflected A′
(2, -3)
Translation by a vector
Shift Point A by the vector ⟨tx, ty⟩. Distance and shape are preserved — only the position changes.
A
(2, 3)
A + ⟨tx, ty⟩
(5, 1)
Rotation around a centre
Rotate Point A by an angle θ (degrees, counter-clockwise) around an arbitrary centre.
A
(2, 3)
Rotated A′
(-3, 2)
Vector magnitude
Length of a vector in any number of dimensions: ‖v‖ = √Σ vᵢ².
‖v‖
5
What is the Distance Geometry Toolkit?
A single page that bundles the most common short coordinate-geometry calculations: distance between points, midpoint, slope, line equation, bearing, vector magnitude, reflection across an axis or line, translation, rotation around a centre, and a live dashboard tying everything together. Each tool takes a small set of inputs and returns a single focused answer, so you can quickly chain them when working through a problem.
The toolkit is designed for homework, quick sanity checks, and exploratory geometry. Slide the points around and watch the distance, midpoint, slope, line equation, and bearing all update in real time — it is much easier to build intuition for what 'slope = −2' feels like when you can drag a point and see the line tilt rather than re-deriving the slope each time.
How the toolkit works
Pick a tool
Each card holds one focused calculation. Inputs sit at the top, the result shows immediately below — no separate Calculate button for the simple tools.
Use the dashboard
The interactive dashboard at the top shows two points whose coordinates you can edit; every cared-about value (distance, slope, midpoint, bearing, line equation, vector magnitude) updates live.
Read the step-by-step
Every tool exposes its own short solution panel so you can see exactly how the answer was derived.
Copy or share
The Copy and Share buttons capture every result on the page into a tab-separated block ready to paste into a notebook or chat.
Formulas used by the toolkit
2-D distance
d = √[(x₂−x₁)² + (y₂−y₁)²]
Straight-line distance between two points.
Midpoint
M = ((x₁+x₂)/2, (y₁+y₂)/2)
Exact halfway point between two coordinates.
Slope
m = (y₂−y₁) / (x₂−x₁)
Rise over run; undefined when x₁ = x₂.
Bearing
θ = atan2(Δx, Δy) (mod 360°)
Angle measured clockwise from north.
Reflection across y = x
(x, y) → (y, x)
Swap the coordinates.
Rotation around origin
x' = x cos θ − y sin θ, y' = x sin θ + y cos θ
Multiply by the rotation matrix.
Translation
(x, y) → (x + tx, y + ty)
Shift every point by the vector ⟨tx, ty⟩.
Vector magnitude
‖v‖ = √Σ vᵢ²
Length of the vector in any number of dimensions.
Where these tools come up
Coursework
GCSE / A-level / high-school geometry homework, the AP Precalculus Coordinate Geometry unit, and college-level Linear Algebra warm-ups.
CAD and modelling
Reflecting a sketch across an axis, translating a feature by a vector, rotating a part by an angle — the same operations powering professional CAD tooling.
Robotics and graphics
Computing direction, rotating points around a pivot, and translating geometry between coordinate frames are everyday operations in robotics control loops and 3-D graphics pipelines.
Navigation
Bearing and distance between two coordinates show up in any mapping or wayfinding task — from orienteering to drone telemetry.
Why use the toolkit?
Each of these formulas is short, but doing many of them in sequence on paper is error-prone and slow. Having them collected into one tabbed page with sliders and a shared coordinate canvas makes it much faster to verify a multi-step problem and to build intuition by watching values update as you move the points.
Frequently Asked Questions
Related Calculators
More coordinate-geometry, trig, and unit tools that pair with distance calculations.
- Distance Calculator2D, 3D, lat/lng, map, vector, and geometry distance — six tools, step-by-step solutions, interactive visualisations.
- Pythagorean Theorem CalculatorSolve any side of a right triangle, plus area, perimeter, and angles.
- Slope CalculatorSlope, angle, distance, midpoint, intercepts, and the line equation with an interactive coordinate-plane graph.
- Triangle CalculatorSolve any triangle (SSS, SAS, ASA, AAS, SSA) for sides, angles, area, altitudes, medians, inradius, circumradius and centres.
- Circle CalculatorFind area, circumference, diameter, and radius from any one known value.
- Scientific CalculatorAdvanced trig, log, exponent, root, factorial, and memory functions.