Standard Form to Slope-Intercept Converter
Convert A·x + B·y = C into y = mx + k with an exact slope and intercept, and name a vertical line as vertical.
Standard Form to Slope-Intercept Converter
Convert A·x + B·y = C into y = mx + k with an exact slope and intercept, and name a vertical line as vertical.
How this page computes
All three coefficients are exact rationals, so a slope of minus two thirds stays a fraction. An exact decimal is printed only when the denominator divides a power of ten.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page rearranges a line written as A times x plus B times y equals C into slope-intercept form. For 2, 3 and 6 it prints y equals minus two thirds x plus 2, with the slope and the y-intercept as exact fractions.
When B is zero the line is vertical and has no slope-intercept form, which the page says instead of dividing by zero. When both A and B are zero every point is a solution and the page says that too.
How to use the Standard Form to Slope-Intercept Converter
Enter A, B and C separated by spaces, then press Run. The first line restates the standard form and the second is the slope-intercept form.
The last two lines give the slope and the y-intercept separately. A vertical line gets an x equals value and a sentence explaining why no y form exists.
The rule this page applies
Solving A times x plus B times y equals C for y gives y equals minus A over B times x plus C over B. That is the whole conversion, valid whenever B is not zero.
All three coefficients are exact rationals, so a slope of minus two thirds stays a fraction. An exact decimal is printed only when the denominator divides a power of ten.
What to Expect
Best for
- Converting a line to slope-intercept form
- Reading the slope and intercept exactly
- Recognising a vertical line
Not ideal for
- Graphing the line
- Converting to point-slope form
- Lines with non-numeric coefficients
What this tool keeps
- The exact coefficients and the exact slope and intercept
What may need cleanup
- Nothing: the conversion is exact
Common errors
- B equal to zero is reported as a vertical line, not divided through
- A non-numeric coefficient is refused by name
Example use cases
- Convert 2x + 3y = 6
- Convert 2x + 0y = 5 and see the vertical case
Sample input
2 3 6
Sample output
2x + 3y = 6 y = -2/3x + 2 slope = -2/3 y-intercept = (0, 2)
Who this is for
- Algebra students
- Readers checking a line's slope
Frequently asked questions
What happens when B is zero?
The equation becomes A times x equals C, a vertical line at x equals C over A. It has no slope-intercept form because its slope is undefined, and the page prints that instead of a number.
Can the slope be a decimal?
Yes, when it is exact: a denominator built from twos and fives prints as a decimal, such as 1.5. A slope such as minus two thirds stays a fraction because no finite decimal equals it.
Are fractions accepted as input?
Yes. A coefficient may be written as a fraction such as 1/2, and the arithmetic keeps it exact through the conversion.
Is anything uploaded?
Nothing is uploaded. The numbers are read and the arithmetic runs in this browser tab with JavaScript, and reloading the page discards both the input and the result.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.