Standard Form to Slope Intercept Form Calculator - Slope and Y-Intercept

Use this standard form to slope intercept form calculator to turn Ax + By = C into slope m, y-intercept b, and the slope-intercept text y = m x + b.

Updated: June 20, 2026 • Free Tool

Standard Form to Slope Intercept Form Calculator

Coefficient of x in the standard form Ax + By = C. The default of 2 pairs with B = 3 and C = 12 to produce the classic 2x + 3y = 12 textbook example.

Coefficient of y in the standard form Ax + By = C. Must be nonzero because slope-intercept form requires solving for y; setting B = 0 surfaces a vertical-line message instead of a slope.

Right-hand side constant of the standard form Ax + By = C. The default of 12 produces y-intercept b = 4 for the 2x + 3y = 12 example, which matches a hand calculation 12 / 3 = 4.

Results

Slope (m)
0
Y-intercept (b) 0
X-intercept (C/A) 0
Slope-intercept form 0

What Is Standard Form to Slope Intercept Form Calculator?

A standard form to slope intercept form calculator turns one linear equation written as Ax + By = C into the same line written as y = m x + b, returning the slope m = -A / B, the y-intercept b = C / B, the x-intercept C / A, and a ready-to-graph y = m x + b text string in a single read.

  • Algebra and pre-calculus homework: Verify the m, b, and slope-intercept form that textbook problems ask for, including the classic 2x + 3y = 12 example.
  • Graphing on paper or in a plotter: Convert Ax + By = C into y = m x + b so a graphing tool, spreadsheet, or hand plot can draw the line directly from the slope and y-intercept.
  • Physics, finance, and trend lines: Rewrite a linear constraint from its coefficient form into slope-intercept form so the rate of change (m) and starting value (b) read off the same line.

Type the coefficients A, B, and C of a standard form equation. The calculator returns the slope m, the y-intercept b, the x-intercept C / A, and the slope-intercept form in real time, with a Reset button to restore the 2x + 3y = 12 textbook example.

After the standard form line is rewritten in slope-intercept form, swapping in a known point is the natural next step, so Point Slope Form Calculator reuses the same m and (x₁, y₁) values to return the point-slope text and the y-value at any chosen x.

How Standard Form to Slope Intercept Form Calculator Works

The calculator applies the slope-intercept rearrangement to one standard form equation, so the slope m, y-intercept b, x-intercept, and slope-intercept text are exact analytic results of the same line.

m = -A / B, b = C / B, x-intercept = C / A
  • A: Coefficient of x in Ax + By = C. Defaults to 2, matching the 2x + 3y = 12 example.
  • B: Coefficient of y in Ax + By = C. Defaults to 3; must be nonzero because slope-intercept form requires solving for y.
  • C: Right-hand side constant of Ax + By = C. Defaults to 12; for 2x + 3y = 12 this gives b = 4.
  • m: Slope, equal to -A divided by B. For 2x + 3y = 12, m = -2/3.
  • b: Y-intercept, equal to C divided by B. For 2x + 3y = 12, b = 4.
  • x-intercept: Equal to C divided by A. For 2x + 3y = 12, C / A = 6.

Subtract Ax from both sides to get By = -Ax + C, then divide both sides by B to isolate y. The slope is the new coefficient of x, m = -A / B, and the y-intercept is the constant term, b = C / B.

Worked example: 2x + 3y = 12 becomes y = -2/3 x + 4

Given: A = 2, B = 3, C = 12. m = -2 / 3 = -0.6667, b = 12 / 3 = 4, x-intercept = 12 / 2 = 6, slope-intercept form y = -0.6667 x + 4.

The line crosses the y-axis at (0, 4) and the x-axis at (6, 0), so plotting two points matches the slope-intercept text and the original 2x + 3y = 12.

According to Wikipedia, the standard form of a line Ax + By = C can be rewritten in slope-intercept form y = m x + b by solving for y, giving m = -A / B and b = C / B whenever B is nonzero.

According to Wolfram MathWorld, the slope-intercept form of a straight line is y = m x + b, where m is the slope and b is the y-intercept.

When only the y-intercept of a line matters, Y-Intercept Calculator returns the same b = C / B answer from a different input layout.

Key Concepts Explained

Four small ideas show up every time you work with the standard form of a line and want the same line in slope-intercept form.

Standard form Ax + By = C

Standard form writes a linear equation with all terms on the left and a constant on the right. Any nonzero scalar multiple of the equation describes the same line.

Slope-intercept form y = m x + b

Slope-intercept form solves for y so the slope m sits in front of x and the y-intercept b is the constant term. Converting from standard form requires B to be nonzero.

Slope m = -A / B from standard form

Solving Ax + By = C for y gives y = (-A / B) x + (C / B), so the slope is the negative x-coefficient divided by the y-coefficient. For 2x + 3y = 12 that is m = -2/3.

Vertical line edge case (B = 0)

When B is exactly 0, the standard form reduces to Ax = C, the vertical line x = C / A. Vertical lines have an undefined slope and cannot be written in slope-intercept form.

When the slope m = -A / B is reported as a decimal but the worksheet wants a percent grade, Slope Percentage Calculator turns the same m value into a percent using 100 * m.

How to Use This Calculator

Using the standard form to slope intercept form calculator is a four-step flow: open the page, fill in the three coefficients of Ax + By = C, and read the result on the right.

  1. 1 Enter the x-coefficient A: Type the coefficient of x in Ax + By = C. The default of 2 matches the 2x + 3y = 12 textbook example.
  2. 2 Enter the y-coefficient B: Type the coefficient of y in Ax + By = C. The default of 3 must stay nonzero; setting B = 0 surfaces a vertical-line message instead of a slope.
  3. 3 Enter the constant C: Type the right-hand side constant of Ax + By = C. The default of 12 produces y-intercept b = 12 / 3 = 4.
  4. 4 Read m, b, the x-intercept, and the slope-intercept text: The right-side panel shows the slope m, the y-intercept b, the x-intercept C / A, and the slope-intercept form of the same line. Every value updates in real time as you type.
  5. 5 Reset to try a new example: Press Reset to restore the A = 2, B = 3, C = 12 defaults, the fastest way to compare several standard form lines side by side.

A subscription costs $12 to start and adds $3 per month, modeled as 2x + 3y = 12 with x in months and y in dollars. The calculator returns m = -2/3, b = 4, x-intercept 6, and slope-intercept text y = -0.6667 x + 4.

When the standard form coefficients A, B, and C come from a sketch rather than a printed equation, Line Equation From Two Points Calculator derives the same Ax + By = C triple from two given points and feeds it into this calculator.

Benefits of Using This Calculator

These benefits come from real coordinate-geometry, physics, and trend-mapping work, not from treating this calculator as a toy example.

  • Three inputs in, four results out: The calculator returns the slope m, the y-intercept b, the x-intercept C / A, and the slope-intercept form of the same line in one read, so a single form fill replaces a multi-step hand rearrangement.
  • Standard form and slope-intercept form at the same time: Both Ax + By = C and y = m x + b are visible at the same time, so a worksheet and a graphing tool can both be filled in from the same panel.
  • Vertical line is explicit: When B = 0 the calculator reports x = C / A as the slope-intercept text and leaves m and b as null, so the edge case is surfaced instead of returning a divide-by-zero error.
  • Negative coefficients are accepted: Negative A, B, and C all work the same way because the formula uses signed arithmetic, which keeps textbook problems and physics constraints on equal footing.
  • Reset keeps the textbook example one click away: The Reset button restores the A = 2, B = 3, C = 12 example, so swapping in a new problem takes one click and a few keystrokes.

The biggest practical benefit is that the conversion becomes a single reading instead of a multi-step worksheet calculation, and the value can be pasted directly into a graphing tool.

Once the line is in slope-intercept form, finding the line that meets it at a right angle is one extra step, so Perpendicular Line Calculator reuses the same m to return the perpendicular slope -1 / m, y-intercept, and equation.

Factors That Affect Your Results

These factors decide whether the converted slope-intercept form matches what you would draw on a graph or paste into a worksheet.

Sign and magnitude of A and B

The slope m = -A / B and the y-intercept b = C / B both scale linearly with A and B. A small positive A gives a gentle negative slope; a large positive A gives a steep negative slope.

Whether B is exactly 0

When B = 0 the standard form reduces to Ax = C, the vertical line x = C / A. The calculator surfaces this as 'x = C / A' in slope-intercept text and leaves m and b as null.

Whether A is exactly 0

When A = 0 the standard form reduces to y = C / B, a horizontal line with m = 0 and b = C / B. The x-intercept is null because the line never crosses the x-axis.

Numerical precision of the inputs

The calculator reports 4 decimal places for typical values. Higher input precision yields higher output precision, so leave the inputs at full precision when needed.

Scalar multiples of the same equation

Multiplying A, B, and C by the same nonzero scalar does not change the line, so 2x + 3y = 12 and 4x + 6y = 24 produce the same m, b, and slope-intercept text.

  • The calculator assumes a flat Euclidean plane. On a sphere, use a geodesic tool because the line will not match the Euclidean slope-intercept form.
  • The B input is clamped to -1000 to 1000 and must stay nonzero for a slope-intercept answer. For a vertical line, the B = 0 message is shown instead of a real slope-intercept form.

Treat the slope, y-intercept, and slope-intercept text as exact analytic results whenever the inputs are coefficients of a line in a flat plane.

According to Wikipedia, a linear equation in two variables can be written in slope-intercept form y = m x + b, point-slope form y - y1 = m(x - x1), or standard form A x + B y = C, and the three forms describe the same line in different parameterizations.

standard form to slope intercept form calculator showing the slope m = -A/B and y-intercept b = C/B of an Ax + By = C equation alongside the y = m x + b text
standard form to slope intercept form calculator showing the slope m = -A/B and y-intercept b = C/B of an Ax + By = C equation alongside the y = m x + b text

Frequently Asked Questions

Q: What is the formula to convert standard form to slope intercept form?

A: Solve Ax + By = C for y by subtracting Ax from both sides to get By = -Ax + C, then divide both sides by B to get y = (-A/B) x + (C/B). The slope is m = -A/B and the y-intercept is b = C/B.

Q: How do you convert Ax + By = C to y = mx + b?

A: Subtract Ax from both sides of Ax + By = C to get By = -Ax + C, then divide both sides by B to get y = (-A/B) x + (C/B). That is the slope-intercept form y = mx + b with m = -A/B and b = C/B, valid whenever B is nonzero.

Q: What is the slope in standard form Ax + By = C?

A: The slope of the standard form line Ax + By = C is m = -A / B. For 2x + 3y = 12 the slope is m = -2/3, and for -4x + 2y = 8 the slope is m = 2, both of which match a hand rearrangement of the same equation.

Q: What is the y-intercept of Ax + By = C?

A: The y-intercept of the standard form line Ax + By = C is b = C / B. For 2x + 3y = 12 the y-intercept is b = 12/3 = 4, and for 5x + y = -10 the y-intercept is b = -10/1 = -10, both of which match a hand rearrangement.

Q: How do you convert standard form to slope intercept form step by step?

A: Step 1: write the standard form Ax + By = C. Step 2: subtract Ax from both sides to get By = -Ax + C. Step 3: divide both sides by B to get y = (-A/B) x + (C/B). Step 4: read off m = -A/B and b = C/B. The line is now in slope-intercept form y = mx + b.

Q: Can every standard form equation be written in slope intercept form?

A: No. A standard form equation Ax + By = C can be written in slope-intercept form only when B is nonzero. When B = 0 the equation reduces to Ax = C, which is the vertical line x = C/A and has an undefined slope, so slope-intercept form does not exist for that case.