Free converter from slope-intercept form y=mx+b to standard form Ax+By=C: enter slope and intercept for integer coefficients with A positive and full steps.

Slope Intercept Form To Standard Form Calculator

Type in m and b and watch y = mx + b become clean integer standard form Ax + By = C, step by step.

Free to use Integer coefficients Sign convention applied Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for slope (m).

The m in y = mx + b.

Enter a valid value for y-intercept (b).

The b in y = mx + b — where the line crosses the y-axis.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Slope Intercept Form To Standard Form Calculator tinyexe.comFree online calculators

TinyExe · Slope Intercept Form To Standard Form Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Slope (m)

—

Y-intercept (b)

—

Result

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Slope Intercept Form To Standard Form Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      To convert y = 2x + 3 to standard form, move the x term across: -2x + y = 3, then apply the convention that A is positive, giving 2x - y = -3 in raw coefficients; this calculator scales and simplifies to integer coefficients and reports A as the headline value with the full equation shown.

      • Standard form is Ax + By = C with integer coefficients
      • A = -slope before scaling and sign convention
      • Converting forms never changes the line itself

      Conversion examples

      Reference values for this calculator.

      Slope-interceptStandard form
      y = 2x + 32x - y = -3, i.e. coefficients A=2, B=-1, C=-3 before sign convention; shown as 2x + -1y = -3 scaled form in steps
      y = -x + 4x + y = 4
      y = 0.5x + 1x - 2y = -2 (x2 scaled)
      y = 3x - 63x - y = 6

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      y = mx + b rearranged to Ax + By = C: A = -m, B = 1, C = b, then scaled to whole numbers with A positive

      Rearranges slope-intercept form into standard form and then does the tidying textbooks expect: clearing decimals by scaling and dividing out common factors so the answer is the simplest integer version. Ideas enhancement: the final equation is returned as a detail card, not just coefficient A, so the full answer can be copied.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Whole-number slope and intercept

      m = 2, b = 3

      CalculationSteps
      y = 2x + 3. Subtract 2x: -2x + y = 3. Apply positive-A convention and report integer coefficients; the calculator's scaling reports A = 2 with the equation shown in the details.Coefficient A = 2, standard form shown in the result details.

      Result

      Example 2

      Negative slope

      m = -1, b = 4

      CalculationSteps
      y = -x + 4. Add x to both sides: x + y = 4. Already integers with A positive.A = 1, B = 1, C = 4: x + y = 4.

      Result

      Example 3

      Fractional slope cleared by scaling

      m = 0.5, b = 1

      CalculationSteps
      y = 0.5x + 1. Subtract 0.5x: -0.5x + y = 1. Multiply everything by 2: -x + 2y = 2, then flip signs for positive A in scaled reporting; the reduced integer set reports A = 1.A = 1 after scaling to integers.

      Result

      How to use this calculator

      Step 1

      Read the slope m and intercept b from your y = mx + b equation.

      Step 2

      Enter m in the slope field and b in the intercept field.

      Step 3

      Read coefficient A as the main result and the full standard-form equation in the details.

      Step 4

      Check the steps to see the rearrangement and the scaling that cleared any decimals.

      Step 5

      If your class uses a different sign convention for A, the steps show the unscaled form to convert from.

      In short: Slope-intercept form y = mx + b and standard form Ax + By = C are two writings of the same straight line; converting means rearranging and clearing fractions.

      Frequently asked questions

      How do you convert slope-intercept to standard form?

      Move the x term to the left: -mx + y = b, then scale so all coefficients are whole numbers and divide out any common factor.

      What is standard form of a line?

      Ax + By = C, where A, B and C are integers, A is non-negative, and A and B are not both zero.

      Why does my answer have fractions cleared?

      Textbook standard form uses integers. A slope of 0.5 gives -0.5x + y = b; multiplying through by 2 clears the fraction to -x + 2y = 2b.

      Does standard form change the line?

      No. It is the same line written differently — every (x, y) satisfying one form satisfies the other. Only the arrangement changes.

      What if the slope is 0?

      Then the line is horizontal, y = b, and standard form is simply 0x + 1y = b. The converter handles it with A = 0.

      About this calculator

      This calculator converts a straight line written in slope-intercept form, y = mx + b, into standard form, Ax + By = C. It does the rearrangement, clears decimals by scaling, removes common factors, and presents the conventional version with a positive A coefficient.

      The two forms emphasise different things. Slope-intercept form shows the gradient and the y-intercept at a glance, which is why it is taught first and used for graphing. Standard form hides the slope but exposes both intercepts and slots neatly into elimination methods for simultaneous equations, which is why courses insist you can move between them.

      The mechanics are one move — subtract mx from both sides — followed by housekeeping. Housekeeping is where marks are lost: if m or b is a decimal or fraction, every term must be multiplied by the same number to clear it, and if all coefficients share a factor, dividing it out gives the simplest form. Skipping either step leaves a correct but non-standard answer.

      Sign convention matters too. Most textbooks require A to be positive, so if the rearrangement produces a negative A, every sign flips. The steps in this calculator show the raw rearrangement first and the tidied version second, so you can match whichever stage your teacher is marking.

      Use it for algebra homework and exam preparation, when a question demands standard form, when you need both intercepts read off easily (standard form gives them as C/A and C/B), or when feeding a line into a system-of-equations method that expects this layout.

      How to calculate it yourself

      Step 1

      Start from y = mx + b.

      Step 2

      Subtract mx from both sides to get -mx + y = b.

      Step 3

      If any coefficient is a fraction or decimal, multiply every term by the number that clears it.

      Step 4

      Divide every coefficient by their greatest common factor.

      Step 5

      If A is negative, multiply every term by -1.

      Real-life examples

      Checking homework against the mark scheme

      A student's answer for y = -x + 4 reads 1x + 1y = 4, but she is unsure whether the ones should be written or the form is even right, so she checks before submitting.

      Rearranged: -(-1)x + y = 4 gives x + y = 4. Coefficients A = 1, B = 1, C = 4 confirm her version.

      Her standard form is correct; the 1 coefficients are usually written without the digit.

      Finding both intercepts for a budget line

      A small business models a budget line as y = 0.5x + 1 in thousands and wants standard form to read the intercepts for a report.

      Clearing the decimal by doubling gives integer coefficients with A = 1 in the calculator's reduced scaling, and C/A and C/B give the axis intercepts directly.

      Standard form obtained with A = 1, ready for intercept calculations.

      Ideas & use cases

      • Intercepts shortcut: once in standard form, set y = 0 for the x-intercept and x = 0 for the y-intercept — two quick divisions.
      • System setup: convert two slope-intercept lines to standard form and the elimination method for simultaneous equations becomes mechanical.
      • Reverse check: convert your standard-form answer back by solving for y and confirm you recover the original m and b.

      Limitations & sources

      • Handles one line in two variables with decimal slope and intercept; fractions are cleared by scaling to hundredths, so repeating decimals are approximated, and it does not graph the line.

      Sources: Standard linear equation forms (slope-intercept and standard) per common algebra textbooks (e.g. OpenStax Algebra).

      Slope Intercept Form To Standard Form Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results