Straight-line graph calculator: y = mx + c

Move two points to see the line through them, its gradient as rise over run, the y-intercept and the equation y = mx + c, plus the distance and midpoint.

Learn straight line graphs properly

StudyAI writes clear notes on any topic you study, with practice quizzes, past-paper questions explained, and interactive models like this one in the notes.

Get free notes and a quiz on this
Free to start. No card needed.

Questions students ask

How do you find the gradient between two points?

m = (y₂ − y₁)/(x₂ − x₁): the change in y divided by the change in x.

What is the gradient of a perpendicular line?

The negative reciprocal, −1/m. The two gradients multiply to −1.

Free notes on straight line graphs

More mathematics tools

All interactive tools
Use this on your own site or class page

Copy this code. It is free to use, as long as the link stays.