Lelifi·tools

Standard Form Calculator

Standard form writes a line as Ax + By = C. For 3x + 2y = 12, the slope is -1.5, the y intercept is 6, and the x intercept is 4. Moving the x term to the other side turns any slope intercept equation into this form.

Enter A, B and C, or a slope and intercept, to switch between standard form and slope intercept form with the slope and both intercepts shown.

By the Lelifi editors ·

Key takeaways

3x + 2y = 12 drawn from its two interceptsx axis and y axis, one grid step per unit1234567-2-1012345678x intercept (4, 0)y intercept (0, 6)3x + 2y = 12
Reading C/A = 4 and C/B = 6 off the coefficients puts both intercepts on the page, and the straightedge between them is the line.
Three moves from slope intercept to standard formy = (2/3)x - 4 (start)-(2/3)x + y = -4 (move the x term left)-2x + 3y = -12 (multiply every term by 3)= 2x - 3y = 12 (multiply by -1 so A is positive)Check: x = 0 in 2x - 3y = 12 gives y = -4, matching the original intercept.
Moving the x term, clearing the fraction, then flipping the signs gives 2x - 3y = 12, the same line written with whole numbers.
On this page
  1. What standard form is
  2. Read the slope and both intercepts from Ax + By = C
  3. Turn slope intercept form into standard form
  4. Graph the line from its two intercepts
  5. Vertical lines, horizontal lines, and the case that is not a line
  6. Why standard form suits systems and constraints
  7. Common mistakes and quick checks

What standard form is

Standard form writes a line as Ax + By = C, with the x term first, the y term second, and the constant alone on the right. A and B cannot both be zero, because then no line is left; Lamar University's algebra notes on lines state the same restriction. Most courses ask for integer A, B and C with A at least zero, though the equation works with any real coefficients.

Take 3x + 2y = 12. Set x = 0 and the equation gives y = 6, so the line crosses the y axis at (0, 6). Set y = 0 and it gives x = 4, so the line crosses the x axis at (4, 0). Two points are enough for a straightedge. The same line in slope intercept form is y = -1.5x + 6.

Why keep two forms? Slope intercept form shows steepness at a glance. Standard form shows both intercepts at a glance and keeps the coefficients whole, which is why systems of equations and linear programming constraints are usually written this way. OpenStax's Intermediate Algebra chapter on graphing linear equations introduces the form with the same convention.

Read the slope and both intercepts from Ax + By = C

No rearrangement is needed to pull the numbers out. Solve for y once and the pattern holds for every line with B not zero: y = (-A/B) x + C/B. That gives slope m = -A/B and y intercept b = C/B. Setting y = 0 gives the x intercept, x = C/A.

Worked example. Take 4x - 5y = 20. The slope is -4 / -5 = 0.8. The y intercept is 20 / -5 = -4, so the line crosses at (0, -4). The x intercept is 20 / 4 = 5, so it crosses at (5, 0). Check both points in the original equation: 4(5) - 5(0) = 20, and 4(0) - 5(-4) = 20. Both hold, so the readings are right.

The signs are where mistakes happen. A negative B flips the sign of both the slope and the y intercept, which is why 4x - 5y = 20 rises while 4x + 5y = 20 falls. Work the division with the signs attached rather than dropping them and fixing the result afterward.

EquationSlope my interceptx intercept
3x + 2y = 12-1.564
4x - 5y = 200.8-45
x + 2y = 8-0.548
5x - 3y = 01.66666700

The last row is the special one: when C = 0 the line passes through the origin, so both intercepts are zero and the intercept method for graphing needs a second point found from the slope.

Turn slope intercept form into standard form

The conversion is three moves: get both variable terms on the left, clear any fractions, then make A positive and reduce. Start with y = (2/3)x - 4. Subtract the x term from both sides: -(2/3)x + y = -4. Multiply every term by 3 to clear the fraction: -2x + 3y = -12. Multiply by -1 so A is positive: 2x - 3y = 12.

Second example with decimals. y = 0.75x + 2.5. Move the x term: -0.75x + y = 2.5. Multiply by 4: -3x + 4y = 10. Flip the signs: 3x - 4y = -10. Check with the y intercept: put x = 0 and you get -4y = -10, so y = 2.5, which matches the starting equation.

Third example going the other way. y = -1.5x + 6 becomes 1.5x + y = 6 after adding 1.5x to both sides, then 3x + 2y = 12 after multiplying by 2. That is the same line used in the first section, which is a useful sanity check: the two forms should always describe the same set of points.

A fraction slope works the same way with a larger multiplier. y = (5/6)x - (1/3) needs 6 on both sides, giving 5x - 6y = 2. Multiply by the least common denominator of the two fractions and the coefficients come out whole in one step.

Slope intercept formMultiply byStandard form Ax + By = C
y = (2/3)x - 432x - 3y = 12
y = 0.75x + 2.543x - 4y = -10
y = -1.5x + 623x + 2y = 12
y = (5/6)x - (1/3)65x - 6y = 2

Multiply by the least common denominator of the slope and the intercept and every coefficient lands on a whole number in one move. Test each row by putting its y intercept back in: the middle row gives 3(0) - 4(2.5) = -10, which matches.

Graph the line from its two intercepts

Because each intercept is one division, standard form is the fastest route to a graph when both A and B are nonzero. Plot (C/A, 0) on the x axis, plot (0, C/B) on the y axis, and draw the line through them.

Worked example. Graph 3x + 4y = 24. The x intercept is 24 / 3 = 8, so plot (8, 0). The y intercept is 24 / 4 = 6, so plot (0, 6). The slope between those points is (0 - 6) / (8 - 0) = -0.75, which matches -A/B = -3/4. The midpoint of the segment is (4, 3), and substituting it gives 3(4) + 4(3) = 12 + 12 = 24, so the midpoint sits on the line as it should.

When C = 0 the intercepts collapse to the origin, and one more point is needed. For 2x - y = 0, the slope is 2, so from (0, 0) move one right and two up to reach (1, 2). A quick check: 2(1) - 2 = 0.

Intercept graphing fails cleanly for the two degenerate orientations. A vertical line has no y intercept, and a horizontal line has no x intercept unless it is the x axis itself. Those cases are covered next.

Vertical lines, horizontal lines, and the case that is not a line

When B = 0, the y term disappears and the equation becomes Ax = C, or x = C/A. That is a vertical line with an undefined slope. For 3x = 12, x = 4, a vertical line through every point with x coordinate 4.

When A = 0, the x term disappears and the equation becomes By = C, or y = C/B. That is a horizontal line with slope 0. For 2y = 9, y = 4.5, a horizontal line at that height. A horizontal line crosses the y axis at 4.5 and never crosses the x axis.

When both A and B are zero the equation is 0 = C. If C is also zero, every point in the plane satisfies it, which is the whole plane and not a line. If C is nonzero, no point satisfies it, so the solution set is empty. Either way, there is no line to graph, and a calculator should say so rather than divide by zero.

Sign flips do not change the line. -3x + 2y = 6 and 3x - 2y = -6 are the same equation multiplied by -1, so they graph identically. That is why the usual convention puts A at zero or above: it gives one standard way to write a line that has infinitely many equivalent equations.

EquationABCGraphSlope
3x = 123012Vertical line x = 4undefined
2y = 9029Horizontal line y = 4.50
-3x + 2y = 6-326Rises through (0, 3) and (-2, 0)1.5
0 = 0000Every point in the planenone
0 = 5005No points at allnone

Only the third row is an ordinary line. The first two lose one variable and stay valid, while the last two lose both and stop describing a line, which is the case a calculator has to refuse instead of dividing by zero.

Why standard form suits systems and constraints

Elimination works best when both equations arrive in Ax + By = C, because the variables already line up in columns. Take 3x + 2y = 12 and x - y = 1. The second equation gives y = x - 1, and substituting into the first gives 3x + 2(x - 1) = 12, so 5x = 14 and x = 2.8. Then y = 1.8. Check: 3(2.8) + 2(1.8) = 8.4 + 3.6 = 12.

Budget and mixture problems land in the same shape. A shop spends 240 dollars on x items at 12 dollars and y items at 8 dollars, which is 12x + 8y = 240. The intercepts are 20 and 30: all of one item or all of the other. The slope is -12/8 = -1.5, meaning one more 12 dollar item costs 1.5 of the 8 dollar items. A linear program adds inequalities in the same form, and the corner points come from intersecting those lines.

Two standard form equations also answer the parallel and perpendicular questions without rearranging. Lines are parallel when A and B are proportional but C is not, so 2x + 3y = 6 and 4x + 6y = 9 are parallel. Lines are perpendicular when A1 A2 + B1 B2 = 0, so 3x - 2y = 5 and 2x + 3y = 8 meet at a right angle, since 6 - 6 = 0.

Common mistakes and quick checks

The first mistake is a dropped sign when terms move. From y = 2x - 3, subtracting 2x from both sides gives -2x + y = -3, and flipping the signs gives 2x - y = 3. Writing 2x - y = -3 moves the constant as well and describes a different line.

The second is leaving fractions or a common factor in place. 4x + 6y = 12 is a valid equation, but the reduced form 2x + 3y = 6 is the one most courses expect, and it is easier to read. Divide every term by the greatest common factor, then check that A is not negative.

The third is a naming mix up. Standard form of a line is Ax + By = C, while standard form of a quadratic is ax^2 + bx + c = 0 and standard form of a circle is (x - h)^2 + (y - k)^2 = r^2. The words are the same and the equations are not. If a problem asks for standard form, check which object is being described.

One check catches almost every error: pick a point you know is on the line, put it into the new equation, and confirm both sides match. If you converted from slope intercept form, the y intercept is the easiest point to test. If you started from a graph, test both intercepts.

Frequently asked questions

What is standard form of a line?

An equation written as Ax + By = C, where A and B are not both zero. Most courses prefer integer coefficients with A at least zero, as in 3x + 2y = 12.

How do I find the slope of 3x + 2y = 12?

Use m = -A/B, so m = -3/2 = -1.5. Solving for y gives y = -1.5x + 6, which shows the same slope.

How do I find the intercepts from standard form?

The x intercept is C/A and the y intercept is C/B. For 3x + 2y = 12 that means x intercept 4 and y intercept 6, giving the points (4, 0) and (0, 6).

Can A be negative in standard form?

The math allows it, but the usual convention is A at least zero. Multiplying -3x + 2y = 6 by -1 gives 3x - 2y = -6, the same line in the preferred sign pattern.

What happens when B is zero?

The equation becomes Ax = C, a vertical line. For 3x = 12 the line is x = 4, and its slope is undefined because the run is zero.

What happens when A is zero?

The equation becomes By = C, a horizontal line. For 2y = 9 the line is y = 4.5, with slope 0 and no x intercept.

How do I convert y = (2/3)x - 4 to standard form?

Subtract the x term to get -(2/3)x + y = -4, multiply by 3 to get -2x + 3y = -12, then flip the signs to get 2x - 3y = 12.

Is 4x + 6y = 12 the same line as 2x + 3y = 6?

Yes. The first equation is the second multiplied by 2, so both describe the same set of points. Dividing by the common factor 2 gives the reduced form.

What does C mean in a real problem?

It is the total. A budget of 12x + 8y = 240 means 240 dollars split between items at 12 and 8 dollars, and the intercepts are 20 and 30 units.

How can I tell two lines are parallel in standard form?

A and B are proportional while C is not. 2x + 3y = 6 and 4x + 6y = 9 are parallel, since the second has the same A and B ratio but a different constant.

How can I tell two lines are perpendicular in standard form?

Check A1 A2 + B1 B2 = 0. For 3x - 2y = 5 and 2x + 3y = 8 the sum is 6 - 6 = 0, so the lines meet at a right angle.

Can standard form have decimals?

Yes, but most answers clear them. Multiply by a power of ten until A, B and C are whole numbers, then reduce. y = 0.75x + 2.5 becomes 3x - 4y = -10.

Is standard form the same as general form?

They are close. General form is usually written Ax + By + C = 0, with the constant on the left, so the same line has opposite signs on C between the two conventions.

Spotted a wrong number or a broken result?

More Math tools

See all Math tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.