# Standard Form of Linear Equations — Formula and Examples

TL;DR

The standard form of a linear equation in two variables is Ax + By = C, where A, B, and C are integers and A is not negative. This article gives the definition, the rules for the coefficients, conversions to and from slope-intercept form, common mistakes, and six worked examples.

## What Is the Standard Form of a Linear Equation?

The standard form of a linear equation in two variables is written as Ax + By = C, where A, B, and C are constants and x and y are the variables. By convention A, B, and C are integers, and A is a non-negative whole number. It is one of several ways to write the same straight line, alongside the slope-intercept form y = mx + b.

## The Formula and Its Rules

Ax + By = C

Each letter has a fixed job. The table below is the variable key for the form:

| Symbol | Name                        | Role                                        |
|--------|-----------------------------|---------------------------------------------|
| x      | Variable                    | The horizontal (input) variable             |
| y      | Variable                    | The vertical (output) variable               |
| A      | Coefficient of x           | Integer; non-negative by convention          |
| B      | Coefficient of y           | Integer                                     |
| C      | Constant                    | Integer on the right-hand side              |

The "standard" in standard form comes from the rules the coefficients must obey:

- **A, B, C are integers.** No fractions, no decimals. If 12x + y = 3/2x + y = 3 appears, multiply through to clear the fraction: x + 2y = 6.

- **A is not negative.** If the leading coefficient comes out negative, multiply the whole equation by -1.

- **A and B are not both zero.** At least one variable must be present, or it is not a line.

- **The x and y terms sit on the left; the constant sits on the right.**

Two quick term definitions, since standard form leans on both. A **coefficient** is the number multiplying a variable (A multiplies x). A **constant** is a fixed number on its own (C). You can review the building blocks in the article on [linear equations](/content/math/algebra/linear-equations/index.html).

### How is this different from the standard form of a number?

They share a name but mean different things. In this article, standard form means the Ax + By = C layout of a line. The phrase can also mean scientific notation for a number, or the ax^2 + bx + c layout of a quadratic — see the general article on [standard form](/content/math/algebra/standard-form/index.html) for that broader use.

## Why This Form Exists, When Slope-Intercept Already Does

Standard form is not the graphing form — y = mx + b wins there because the slope and intercept read straight off. Standard form earns its keep somewhere else: solving many equations together.

- **Elimination lines up cleanly.** When two equations both sit as Ax + By = C, you can add or subtract them to cancel a variable — the whole basis of the [elimination method](/content/math/algebra/elimination-method/index.html).

- **Both intercepts fall out fast.** Set y = 0 to get the x-intercept; set x = 0 to get the [y-intercept](/content/math/geometry/y-intercept/index.html). No rearranging needed.

- **Vertical lines are allowed.** x = 4 fits standard form (1x + 0y = 4) but has no slope-intercept form at all since its slope is undefined.

This is why systems of equations, linear programming, and matrix methods all default to standard form: it treats x and y as equal partners instead of solving for one. The moment a problem involves more than one line, the tidy Ax + By = C layout is what keeps the algebra honest.

## Converting Between Standard Form and Slope-Intercept Form

The same line can wear either outfit, and moving between them is routine algebra.

**Standard form to slope-intercept form.** Solve Ax + By = C for y. This gives the general result:

y = −A/Bx + C/B

So the slope is m = −A/B and the y-intercept is b = C/B. For 4x + 2y = 8, the slope is −4/2 = −2 and the intercept is 8/2 = 4.

**Slope-intercept form to standard form.** Start from y = mx + b, clear any fractions, move the x term to the left, and make A non-negative. Worked cases for both directions appear in the examples below.

## How to Graph a Linear Equation in Standard Form

Standard form graphs fastest through its two intercepts, because each one drops out when you set the other variable to zero.

1. **Find the x-intercept.** Set y = 0 and solve for x. Plot (x,0).

2. **Find the y-intercept.** Set x = 0 and solve for y. Plot (0,y).

3. **Draw the line** through both points and extend it in both directions.

For 2x + 3y = 6: setting y = 0 gives x = 3, and setting x = 0 gives y = 2, so the line passes through (3,0) and (0,2). Two points fix a straight line, so no table of values is needed. When a coefficient is zero, the graph is a horizontal or vertical line instead.

## Examples of Standard Form of Linear Equations

### Example 1

**Write 3x = 12 - 4y in standard form.**

Move the y term to the left so both variables sit together. 3x + 4y = 12.

A = 3 is positive and all coefficients are integers. Final answer: 3x + 4y = 12.

### Example 2

**Convert y = (2/3)x + 4 to standard form.**

First clear the fraction by multiplying every term by 3.

3y = 2x + 12.

Move the x term left.

−2x + 3y = 12.

A is negative, so multiply by -1.

2x − 3y = −12.

Final answer: 2x − 3y = −12.

### Example 3

**Find the x-intercept and y-intercept of 2x + 5y = 10.**

For the x-intercept, set y = 0. 2x = 10, x = 5.

For the y-intercept, set x = 0. 5y = 10, y = 2.

Final answer: x-intercept (5,0), y-intercept (0,2).

### Example 4

**Convert the standard-form equation 4x + 2y = 8 to slope-intercept form.**

Solve for y. 2y = −4x + 8.

Final answer: y = −2x + 4.

### Example 5

**Write the equation of the vertical line through (7, −2) in standard form.**

A vertical line has every point sharing the same x-value.

Final answer: x = 7.

### Example 6

**A ticket booth sells adult tickets at $8 and child tickets at $5, taking $200 in one hour. Write the standard-form equation relating the number of adult tickets x and child tickets y.**

Money from adults plus money from children equals the total. 8x + 5y = 200.

Final answer: 8x + 5y = 200.

## Common Mistakes With Standard Form

### Mistake 1: Leaving a negative leading coefficient

**Where it slips in:** right after moving the x term across, when A lands negative.  The correct way: multiply through by −1 to get 3x − 2y = −6.

### Mistake 2: Leaving fractions in the coefficients

**Where it slips in:** writing 12x + y = 3/2 as a finished standard-form equation. The correct way: multiply by the denominator to clear it — x + 2y = 6.

### Mistake 3: Treating standard form as the graphing form

**Where it slips in:** being asked to graph and trying to read a slope straight off Ax + By = C. The correct way: either convert to y = mx + b, or plot the two intercepts and join them.

## Conclusion

- The **standard form of a linear equation** in two variables is Ax + By = C.

- A, B, and C are integers; A is non-negative, and A and B are not both zero.

- Set y = 0 for the x-intercept and x = 0 for the y-intercept; convert with m = −A/B.

- Standard form powers elimination and system-solving, and it can write vertical lines.

- The most common errors are a negative A, leftover fractions, and treating it as the graphing form.
