Slope from Standard Form of a Line

m=−ABm = -\frac{A}{B}

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: 6x + 3y = 12 → slope −2. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Slope from Standard Form of a Line fits

Your answer feeds

See also

Distance from a Point to a Line: Both use line coefficient a and line coefficient b.Perpendicular Slope Relation: Both use line slope.Point-Slope Form of a Line: Both use line slope.Slope Between Two Points: Both use line slope.Slope-Intercept Form of a Line: Both use line slope.x-Intercept of a Line: Both use line slope.
Here the solver did the work. Could you?

Other forms of the line →

Grade 10Grade 10 Math

Test your skills in the Exam Room: new numbers every attempt. Free lessons for students, no sign-up, just pure learning.

See your Report Card
Learning zone

Slope from Standard Form of a Line explained

mAx + By = C

Solving Ax + By = C for y gives y = (−A/B)x + C/B, so the slope is −A/B and the y-intercept is C/B: you never need to do the rearrangement in full. Worked example: 6x + 3y = 12 has slope −2 and intercept 4, matching y = −2x + 4. Notice that C plays no part in the slope at all: 6x + 3y = 12 and 6x + 3y = −100 are parallel lines, differing only in where they sit.

That observation makes standard form the quickest way to spot parallel and perpendicular pairs: two lines are parallel when their A:B ratios match, and perpendicular when the coefficients swap with one sign flipped, so 6x + 3y = 12 is perpendicular to 3x − 6y = 5. Standard form is also the shape linear programming and systems of equations want, which is why textbooks insist on integer coefficients with A positive. The trap is the minus sign (students routinely read the slope of 6x + 3y = 12 as 2 or as 6/3 rather than −2) and the vertical case, where B = 0 leaves x = C/A with no slope to report.

Slope from Standard Form of a Line formula

m=−ABm = -\frac{A}{B}
Where
  • mm= Slope
  • AA= Coefficient of x
  • BB= Coefficient of y
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Slope from Standard Form of a Line Formula & Calculator. https://formula.expert/solvers/standard-form-to-slope