Science Academy
☰✕

Equation of a Straight Line Calculator

📈 Coordinates & graphs. Use the Equation of a straight line formula to find y, gradient m, x, y-intercept c: pick the value you want, type the others, and the answer updates as you go.

y=mx+cy = mx + c
y11

Pick the ○ next to the value you want to find, fill in the others, and it solves as you type.

What each letter means

QuantityUnit
yno unit
Gradient mno unit
xno unit
y-intercept cno unit

Worked example

Find the y when Gradient m = 2, x = 4, y-intercept c = 3.

Using y = mx + c: y = 11.

Frequently asked questions

What is the formula for Equation of a straight line?

y = mx + c.

What do the letters stand for, and what units are used?

y, Gradient m, x, y-intercept c.

How do you calculate y?

Put the values into y = mx + c. For example, with Gradient m = 2, x = 4, y-intercept c = 3, y = 11.

Can I solve for a different value?

Yes. In the calculator above, pick the circle next to any value (y, gradient m, x, y-intercept c) and fill in the others: it rearranges the formula for you.

All maths formulas in the Maths Formulas