Slope-intercept form is y = mx + b: m is the slope and b is where the line crosses the y axis. Through (1, 5) and (4, 11) the slope is 6 ÷ 3 = 2, and b = 5 − 2 × 1 = 3, so y = 2x + 3. From standard form, y = −A ÷ B × x + C ÷ B: 2x + 3y = 12 gives y = −2/3x + 4.
My Construction Calculator
Slope Intercept Form Calculator
Inputs
Results update as you type.
Diagram updates as you type.
Results
Check the working before you order.
Slope-intercept form
y = 2x + 3
Point-slope form
y − 5 = 2(x − 1)
Standard form
2x − y = −3
Slope m
2
y-intercept b
(0, 3)
x-intercept
(−3/2, 0)
Angle to the x axis
63.43 °
Price This optional: add your own prices
Your prices are remembered on this device only.
Send Order WhatsApp, SMS or email to your supplier
Scan to open this calculationThe code links to this calculator with your inputs, so anyone can scan it with a phone camera and see the same result. Save it for a report, a site board or WhatsApp.Test copy: this code opens the live site, myconstructioncalculator.com, so it works on a phone once the site is launched.
Results are estimates for planning and material ordering only. They are not a substitute for structural design or approval by a qualified engineer. Read the full disclaimer.
Scan to open this calculation with the same inputs.
Generated with myconstructioncalculator.com. Estimates for planning and ordering only; verify against drawings and specifications.
Formula
y = mx + bm = (y₂ − y₁) ÷ (x₂ − x₁)b = y₁ − m × x₁From Ax + By = C: m = −A ÷ B, b = C ÷ Bx-intercept = −b ÷ m
Worked Example
Line through (1, 5) and (4, 11):
m = (11 − 5) ÷ (4 − 1) = 6 ÷ 3 = 2
b = 5 − 2 × 1 = 3
y = 2x + 3; it crosses the x axis at (−1.5, 0)
Slope and Steepness
Slope m
Angle
Rise per 10 along
0.1
5.71°
1
0.25
14.04°
2.5
0.5
26.57°
5
1
45°
10
2
63.43°
20
Frequently Asked Questions
What do m and b mean in y = mx + b?
m is the slope: how much y goes up for each 1 along x. b is the y-intercept: the value of y where the line crosses the y axis, at x = 0.
How do I find the slope-intercept form from two points?
Slope m = (y₂ − y₁) ÷ (x₂ − x₁), then b = y₁ − m × x₁. Through (1, 5) and (4, 11): m = 2, b = 3, so y = 2x + 3.
How do I convert standard form to slope-intercept form?
Solve for y. 2x + 3y = 12 → 3y = −2x + 12 → y = −2/3x + 4.
How do I find the x-intercept?
Set y = 0 and solve: x = −b ÷ m. For y = 2x + 3 the line crosses the x axis at x = −1.5.
Why does a vertical line have no slope-intercept form?
Its x never changes, so the slope would be a rise divided by zero. It is written x = a number, such as x = 3.
Embed This Calculator on Your Website
Free for any website: contractors, suppliers, blogs and schools. Paste this code where you want the calculator to appear. It works in WordPress (Custom HTML block), Wix, Squarespace and plain HTML.