XY Coordinate Graph
Click the graph to place points, or type (x, y) values manually. Select any two points to instantly see ΔX, ΔY, distance, slope, and midpoint — drawn live on the plane.
Click to add a point · Click an existing point to select it · Scroll to zoom
or click anywhere on the graph
Click the graph or add manually above.
Everything You Need on a Coordinate Plane
A clean, interactive graph for plotting points, visualising differences, and doing quick maths — no apps, no login.
How to Use
The Maths Behind Each Value
ΔX = B.x − A.xPositive if B is to the right of A, negative if B is to the left. This is the horizontal leg of the right triangle between the two points.
ΔY = B.y − A.yPositive if B is above A, negative if B is below. This is the vertical leg of the right triangle.
d = √(ΔX² + ΔY²)The straight-line distance between two points. Derived from the Pythagorean theorem applied to the right triangle formed by ΔX and ΔY.
m = ΔY / ΔXHow many units the line rises for every one unit it moves right. Undefined when ΔX = 0 (vertical line). A slope of 1 means a 45° angle.
θ = atan2(ΔY, ΔX) × 180/πThe direction from A to B measured in degrees from the positive x-axis. Ranges from −180° to +180°.
M = ((A.x+B.x)/2, (A.y+B.y)/2)The exact centre point on the line segment from A to B. Useful for finding bisectors and centrepoints.
Frequently Asked Questions
Type negative values into the X or Y field in the Add Point panel. You can also click directly on the negative quadrants of the graph — the bottom half is negative Y and the left half is negative X. Zoom out first if you need to reach values beyond ±10.
Yes — add as many points as you like. Each gets a unique label (P1, P2, …) and colour. The comparison panel always works with just two at a time (A and B), but you can switch which points are compared using the A/B buttons or the dropdowns at any time.
When Snap is on, clicking the graph rounds the coordinate to the nearest integer (whole number). This is useful when you need to work with clean whole-number points. When Snap is off, coordinates are rounded to one decimal place.
Slope is ΔY ÷ ΔX. When ΔX = 0 the two points share the same x-value — they form a perfectly vertical line, and dividing by zero is undefined in mathematics. In that case the slope is displayed as "undef."
Scroll the mouse wheel over the graph: scroll up to zoom in (smaller range, more detail), scroll down to zoom out (larger range, see bigger coordinates). The + and − buttons in the toolbar do the same thing. The label next to the buttons shows the current ± range. Click Reset to return to ±10.