Slope-Intercept Form Calculator

Enter two points, a point and slope, or Ax + By = C and get the line in slope-intercept, point-slope and standard form with steps and a graph.

Działa w Twojej przeglądarce. Twoje pliki nigdy nie opuszczają urządzenia. Zobacz, jak to sprawdzić

…

Jak to zrobić

  1. 1
    Choose the input

    Pick two points, point and slope, standard form, or slope and intercept.

  2. 2
    Enter the numbers

    Type whole numbers, decimals or fractions in the boxes.

  3. 3
    Read the forms

    See slope-intercept, point-slope and standard form with the slope and both intercepts.

  4. 4
    Check the graph

    Look at the plotted line, the given points and the intercepts; save the graph as SVG.

  5. 5
    Add a second point

    Tick the box to get parallel and perpendicular lines through another point.

  6. 6
    Practise and print

    Use the Practice tab for generated problems or print the full working.

O tym narzędziu

Slope-intercept form, y = mx + b, is the most useful way to write a straight line: m tells you how steep it is and b tells you where it crosses the y-axis. This workbench builds that equation from whatever you are given. Choose two points, a point and a slope, standard form Ax + By = C, or the slope and intercept directly. Inputs may be whole numbers, decimals or fractions such as −3/4, and everything is calculated exactly, so a slope of 2/3 stays 2/3 instead of 0.6667. The result shows the line in slope-intercept, point-slope and integer standard form, the slope, both intercepts, the angle with the x-axis, and the slopes of parallel and perpendicular lines. Tick one box to get the parallel and perpendicular lines through another point. A graph draws the line with the given points and intercepts marked, and a table of values lists y for x from −3 to 3. The worked steps explain each substitution. A practice tab generates problems on slope, intercepts, equations and standard form, with answer checking and printable worksheets.

The two numbers that define a line

The slope m is rise over run: how much y changes when x increases by 1. Between two points it is (y₂ − y₁) ÷ (x₂ − x₁). A positive slope climbs to the right, a negative slope falls, zero is horizontal, and a vertical line has no slope at all because the run is zero. The intercept b is the value of y where the line meets the y-axis, at x = 0. Once m is known, b comes from putting any point into y = mx + b and solving.

Converting between forms

Point-slope form, y − y₁ = m(x − x₁), is quickest to write when you know a point and the slope. Standard form, Ax + By = C with whole-number coefficients and A not negative, is common in textbooks and for finding intercepts. To go from standard form to slope-intercept form, subtract Ax from both sides and divide by B, giving m = −A ÷ B and b = C ÷ B. The calculator shows all three forms side by side so you can check homework in whichever form it asks for.

Parallel and perpendicular lines

Parallel lines share the same slope. Perpendicular lines have slopes that multiply to −1, so the perpendicular slope is the negative reciprocal: 2 becomes −1/2 and −3/4 becomes 4/3. A horizontal line is perpendicular to a vertical one.

Worked example

Through (1, 2) and (4, 8): m = (8 − 2) ÷ (4 − 1) = 6 ÷ 3 = 2. Then 2 = 2 × 1 + b, so b = 0 and the line is y = 2x. In point-slope form it is y − 2 = 2(x − 1) and in standard form 2x − y = 0. Through (−2, 3) and (4, −1) the slope is −4 ÷ 6 = −2/3 and the line is y = −(2/3)x + 5/3, or 2x + 3y = 5.

Limits

The tool works with straight lines only, not curves or regression lines through scattered data. A vertical line has no slope-intercept form and is shown as x = constant. The graph is drawn for study and is not a substitute for drawing it on paper when your exam requires it.

Przykład z rozwiązaniem

(1, 2) and (4, 8) → m = 2, b = 0, y = 2x; point-slope y − 2 = 2(x − 1); standard 2x − y = 0.

W skrócie

Najczęstsze pytania

How do I find the slope from two points?

Subtract the y-values and divide by the difference of the x-values in the same order: m = (y₂ − y₁) ÷ (x₂ − x₁). The tool shows this substitution with your numbers.

How do I find b once I know the slope?

Put one point into y = mx + b and solve for b. For slope 3 through (2, 5): 5 = 3 × 2 + b, so b = −1.

Can I use fractions or decimals?

Yes. Type 1/2, −3/4, 1 1/2 or 0.25. The tool converts everything to exact fractions, so the equation keeps fractional slopes and intercepts exactly.

What happens if the line is vertical?

When both points have the same x, or B is 0 in standard form, the slope is undefined. The result is shown as x = a number, with no y-intercept.

How do I convert standard form to slope-intercept form?

Choose Standard form and type A, B and C. The steps subtract Ax, divide by B and give m = −A ÷ B and b = C ÷ B.

Is there practice for tests?

Yes. The Practice tab generates questions on slope, y-intercepts, x-intercepts, equations through two points and standard form, checks your answers and prints worksheets with an answer key.

Całkowicie za darmoBez opłat i rejestracji
Pliki zostają prywatneWszystko działa w Twojej przeglądarce
Łatwo w Twoim językuDostępne w wielu językach