Code tool

Slope-Intercept to Standard Form Converter

Convert linear equations in either direction using exact coefficients. Zero and sign handling is shown explicitly; coefficients are not reduced to smallest integers.

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Choose a conversion direction.
  2. Enter A, B, C or m, b as applicable.
  3. Review the converted equation and algebra steps.

Formulas

Slope-intercept to standard: y = mx + b becomes mx − y = −b. Standard to slope-intercept: Ax + By = C becomes y = −A/B x + C/B when B ≠ 0.

Zero and signs

A coefficient of zero is retained in the displayed algebra. B = 0 describes a vertical line x = C/A and has no slope-intercept form. Results use the entered numeric coefficients without forced integer simplification.

GOOD TO KNOW

Common questions

Why can B not be zero in slope-intercept conversion?

B = 0 is a vertical line, whose slope is undefined and cannot be written as y = mx + b.

Does it reduce to whole numbers?

No. It preserves computed coefficients so the algebra remains transparent.