Algebra · free · no sign-up
Linear Equation Calculator
Evaluate a straight-line equation y = mx + b for any x.
About the Linear Equation Calculator
Evaluate a straight-line equation y = mx + b for any x.
How to use the Linear Equation Calculator
- Enter the slope m, the intercept b and the value of x.
- Use Add Equation Field to work with more than one line.
Formula and method
y = m × x + b, where m is the slope and b is the y-intercept (the value of y when x = 0).
Worked example
With m = 2, b = 3 and x = 4, y = 2 × 4 + 3 = 11.
Tips
- A positive slope rises left to right and a negative slope falls.
- To solve for x, rearrange to x = (y − b) ÷ m.
Frequently asked questions
What is the y-intercept?
The point where the line crosses the y-axis, where x is zero.