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.
Processed entirely in your browser — nothing you enter here is ever uploaded.
Result
About this tool
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.
Example. The points (0, 0) and (3, 4) give slope 4/3, y-intercept 0, and distance 5.
Limit. Each coordinate may have at most 9 digits, and a vertical pair has an undefined slope.