Math Tools
Linear Equation Calculator
Solve the linear equation y = mx + c by finding y, x, m, or c.
Linear Equation Calculator
Solve the equation y = mx + c by finding y, x, m, or c from the values you already know.
Find y using y = mx + c.
Equation
y = mx + c
Result
y = 10
Recommended Math Tool
Need a calculator for algebra and graphing?
A reliable scientific calculator can help with equations, graphing practice, slope calculations, and everyday algebra work.
This section may contain affiliate links.

What this calculator does
This calculator works with the linear equation y = mx + c and lets you solve for y, x, m, or c depending on which values you already know.
What is a linear equation calculator?
A linear equation calculator is a tool that helps you solve equations in the form y = mx + c. This form is widely used in algebra, graphing, coordinate geometry, and introductory calculus because it describes a straight line.
Instead of rearranging the formula manually every time, you can use the calculator to find the missing value quickly. It is useful for students, teachers, homework practice, exam revision, and anyone working with slope-intercept form.
The formula for y = mx + c explained
y
y is the output value or dependent variable.
m
m is the slope or gradient of the line.
x
x is the input value or independent variable.
c
c is the y-intercept, which is the value of y when x = 0.
Examples for solving y in y = mx + c
These worked examples show how the selected variable is calculated from the linear equation.
| Known values | Substitution | Answer |
|---|---|---|
| m = 2, x = 3, c = 4 | y = 2 × 3 + 4 | 10 |
| m = 5, x = 2, c = 1 | y = 5 × 2 + 1 | 11 |
| m = -1, x = 6, c = 8 | y = -1 × 6 + 8 | 2 |
How to solve a linear equation step by step
First, identify which variable is missing. Then substitute the known values into the equation y = mx + c. If you are solving for y, you multiply m by x and add c. If you are solving for x, m, or c, you rearrange the equation before calculating.
Using a calculator helps avoid algebra mistakes and makes it easier to verify homework and classwork. It is especially useful when negative values, decimals, or fractions are involved.
Quick reference table for y = mx + c
| What to find | Rearranged formula |
|---|---|
| y | y = mx + c |
| x | x = (y - c) / m |
| m | m = (y - c) / x |
| c | c = y - mx |
Where a linear equation calculator is useful
A linear equation calculator is useful in algebra classes, graphing exercises, physics formulas, business math, and any situation where two quantities change at a constant rate.
It is also useful when checking the slope of a line, understanding straight-line graphs, solving equation worksheets, and practicing how slope-intercept form works in real problems.
Linear equation calculator FAQ and common algebra questions
How do you solve y = mx + c for y?
Multiply m by x and then add c. For example, if m = 2, x = 3, and c = 4, then y = 2 × 3 + 4 = 10.
How do you solve y = mx + c for x?
Rearrange the formula to x = (y - c) / m. For example, if y = 10, c = 4, and m = 2, then x = (10 - 4) / 2 = 3.
What does m mean in a linear equation?
m is the slope or gradient. It tells you how much y changes for each one-unit increase in x.
What does c mean in y = mx + c?
c is the y-intercept. It is the point where the line crosses the y-axis, meaning the value of y when x is zero.
Can a linear equation calculator solve for slope m?
Yes. If you know x, y, and c, you can solve for m using m = (y - c) / x, as long as x is not zero.
Related math calculators
Explore related tools for arithmetic, algebra, geometry, statistics, and sequences.
Scientific Calculator
Solve advanced calculations with exponents, roots, logs, and trigonometry.
Exponent Calculator
Calculate powers and exponents for any number.
Root Calculator
Find square roots, cube roots, and nth roots.
Log Calculator
Compute logarithms with custom bases.
Scientific Notation Calculator
Convert between standard form and scientific notation.