Perpendicular gradients

Two lines are perpendicular when their gradients multiply to make −1. See why: a quarter turn swaps the rise and the run, and flips the sign.

Explore
Gradient m₁—
Gradient m₂—
Angle between—
m₁ × m₂—
Drag the lines
Mode