0

Midpoint Calculator

Find the slope between two points as an exact fraction, plus the y-intercept, slope-intercept and point-slope forms, distance with a simplified radical, midpoint and angle of incline — with steps.

First point (x₁, y₁)

Second point (x₂, y₂)

Decimals and negative numbers are allowed. Two points with equal x give a vertical line.

Processing... 0%
Reading the two points
Computing Δy / Δx
Building the line equations
Done

Result

This page opens the slope calculator with the midpoint card put first: enter the two endpoints of a segment and the tool averages the coordinates, M = ((x₁ + x₂)/2, (y₁ + y₂)/2). For (1, 2) and (4, 8) the midpoint is (5/2, 5) — exact fractions first, decimals next to them.

Halving odd sums is where rounding errors usually creep in, so the calculation is done in exact fraction arithmetic: the midpoint of (0, 0) and (3, 7) is reported as (3/2, 7/2), not (1.5, 3.5000001). The substitution step is written out, ready to copy into working.

The midpoint arrives together with the rest of the segment's geometry: the distance between the endpoints as a simplified radical (3√5 for the default example), the slope as an exact fraction, both line equations and the angle of incline — useful for bisection constructions, circle centres from a diameter, and coordinate-geometry homework.