Slope Calculator | Compute slope and slope-intercept form from two points
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
Slope and its meaning:
| Slope (m) | Line behavior |
|---|---|
| Positive | Rises left to right |
| Negative | Falls left to right |
| Zero | Horizontal line |
| Undefined | Vertical line (x1 = x2) |
functions Shows the working, not just the answer
For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.
calculate Accurate to the spec
Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.
school Free for classroom use
Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.
tips_and_updates Pair with the spoke articles
Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.
Interpretation guide
From two points to the equation:
| Quantity | Formula |
|---|---|
| Slope m | (y2 - y1) / (x2 - x1) |
| Y-intercept b | y1 - m x1 |
| Line equation | y = m x + b |
| Angle | arctan(m) |
lightbulb Worked example
Result: The calculator instantly applies the formula m = (y2 - y1) / (x2 - x1) = rise / run; y = m x + b and returns the result with appropriate precision.
What this means: Read the result in the context of what you are measuring. The step-by-step breakdown lets you confirm the math and understand which input most affects the outcome.
Formula & methodology
Formula: m = (y2 - y1) / (x2 - x1) = rise / run; y = m x + b
The Slope Calculator is built on a well-established calculation method. It uses the formula m = (y2 - y1) / (x2 - x1) = rise / run; y = m x + b to turn your inputs into a reliable result. Enter two points (x1, y1) and (x2, y2) and this tool computes the slope as rise over run, then converts it into slope-intercept form (y = mx + b). It also reports whether the line is rising, falling, horizontal, or The steps are shown on the page so you can follow the reasoning from input to output.
Slope measures steepness as rise over run — the change in y divided by the change in x between two points. The calculator returns the slope, the y-intercept, the full slope-intercept equation y = mx + b, the line's angle of inclination, and the distance between the points. A vertical line has an undefined slope because the run is zero.
What is the Slope Calculator?
The Slope Calculator is a free, browser-based math calculator tool that helps you Enter two points (x1, y1) and (x2, y2) and this tool computes the slope as rise over run, then converts it into slope-intercept form (y = mx + b). It also repor. Instead of working through the math by hand or in a spreadsheet, you enter your values and the calculator returns an accurate result instantly — while still showing the formula and the steps so you can verify the reasoning. It is designed for quick everyday use: no sign-up, no installation, and everything runs locally in your browser for complete privacy.
How to use the Slope Calculator
- Enter the required values into the input fields.
- Press the calculate button — the result appears immediately, updated live as you change any value.
- Read the step-by-step breakdown below the result to see exactly how the calculation was performed.
- Use the interpretation guide to understand what the result means for your situation, and try different inputs to see how they change the outcome.
How to use the Slope Calculator
Enter the coordinates of two points — (x₁, y₁) and (x₂, y₂) — and the tool computes the slope with m = (y₂ − y₁) ÷ (x₂ − x₁), the rise over the run. It then builds the slope-intercept equation y = mx + b by solving for the intercept b, and reports the line's direction: positive slopes rise to the right, negative slopes fall, zero is horizontal, and undefined means vertical. For example, the line through (1, 2) and (4, 11) has slope 3 and equation y = 3x − 1.
Interpreting your result
The slope is the rate of change: how much y changes for every one unit of x. In real applications that rate is a meaningful quantity — a slope of 3 in a cost model means each additional unit costs 3 currency units; a slope of −0.5 on a ramp chart means the ramp drops half a unit per unit of run. The intercept b tells you where the line crosses the y-axis, which is the baseline value when x is zero. Together they form the complete linear model y = mx + b that predicts y for any x.
Common mistakes to avoid
The most common error is reversing the subtraction — keep the same point as 'first' for both x and y, or the slope sign flips. Second, dividing by zero for vertical lines: when x₂ = x₁ the slope is undefined, not zero, and the equation is x = constant. Third, confusing rise with run: slope is y over x, vertical change over horizontal change. Finally, forgetting that the slope of a line is constant everywhere on it — you can use any two points on the same line and get the same m.
Tips for best results
Plot the two points mentally or on paper before calculating — a quick visual check catches sign errors. When a problem gives you the equation instead of points, read the slope directly from the coefficient of x in y = mx + b form. For parallel lines, slopes are equal; for perpendicular lines, slopes are negative reciprocals (m × −1/m). In word problems, label which quantity is x and which is y before converting the rate into a slope. Use the calculator's intercept to sanity-check your graph crossing.
Authoritative source: Wolfram MathWorld
Frequently asked questions
Explore the full math toolkit
Every CalcaTools math calculator — algebra, geometry, trigonometry, statistics, sequences, and unit conversions — with step-by-step workings on every result.
- 0-60 Calculator | Estimate 0-60 mph acceleration time
- 34-Hour Reset Calculator | Find Reset Completion Time
- 45-Minute Lunch Break Calculator | Paid hours after 45min lunch
- 60/40 Split Calculator | Divide a Total Into 60% and 40% Shares
- 7-Minute Rule Calculator | Round Times To Nearest 15 Minutes
- Absolute Deviation Calculator | Compute absolute deviation
- Angle Of Impact Calculator | Find impact angle from width, length
- Antilog Calculator | Get antilog for base 10, e or custom
- Apparent Size Calculator | Angular size from object & distance
- APR to APY Converter | Convert APR to APY by compounding
- Aquarium Capacity Calculator | US gallons from tank dimensions
- Area Calculator | Compute shape areas with formulas
- Arithmetic Sequence Calculator | Compute Nth Term and Sum
- Average Rate of Change Calculator | Find average rate of change
- Big Number Calculator | Compute arithmetic on big integers
- Binary Calculator | Convert Bases And Perform Binary Arithmetic
- Binomial Formula Calculator | Binomial P(X=k) from n and p
- Boyle’s Law Calculator | Relate pressure and volume (Boyle’s Law)
- Chi-Square Calculator | Compute χ² From Observed And Expected
- Circle Calculator | Derive All Circle Measures From One Value
- Coefficient Of Determination Calculator | Report R² & Regression
- Coefficient of Variation Calculator | CV from SD & mean
- Combined Gas Calculator | Final pressure from P, V & T
- Confidence Interval Calculator | Get mean & proportion CIs
- Cross Product Calculator | Compute Vector Cross Product
- Diamond Problem Calculator | Find Numbers With Sum & Product
- Dimensional Analysis Calculator | Convert units, check dimensions
- Distance Calculator | Compute coordinate distance in mi, km, or NM
- Drop Chance Calculator | Estimate An Item’s Drop Probability
- Dry Well Calculator | Estimate volume from area & rainfall
- Endpoint Calculator | Compute Missing Endpoint From Midpoint
- Energy Foot-Pounds Calculator | Work from force & distance
- Error Function Calculator | Evaluate erf(x) For A Given X
- Exponent Calculator | Compute Powers For Any Real Exponent
- Factor Calculator | List All Factors And Prime Factorization
- Fill Dirt Calculator | Estimate fill dirt volume for a job
- Flow Capacity Calculator | Flow from diameter & velocity
- Foundation Squaring Calculator | Check Squareness Via Diagonal
- Fraction Calculator | Compute And Simplify Fraction Operations
- Fraction To Decimal Calculator | Handle repeating decimals
- Fraction To Percent Calculator | Convert Fractions To Percentages
- G-Force Calculator | Calculate g From Acceleration
- GCF Calculator | Find Greatest Common Factor And LCM With Steps
- Geographic Midpoint Calculator | Find great-circle midpoint
- Geometric Mean Rate Of Return Calculator | Geometric return
- Half-Life Calculator | Solve half-life time or quantity
- Hex Calculator | Convert Bases And Perform Hexadecimal Arithmetic
- Ideal Gas Calculator | Compute Gas Variables Using PV = nRT
- Inverse Cos Calculator | Compute arccos for inputs -1 to 1
- Inverse Sin Calculator | Find Arcsine in Degrees or Radians
- KE Calculator | Calculate kinetic energy from mass and velocity
- Lbs to Liters Converter | Convert Pounds to Liters Using Density
- LCD of Fractions Calculator | Find Least Common Denominator
- LCM Calculator | Find LCM and GCF using prime factors
- Leap Year Calculator | Determine If a Year Is a Leap Year
- Limiting Reactant Calculator | Find limiting reactant by amounts
- Log Base 2 Calculator | Compute Base-2 Logarithms Instantly
- Log Calculator | Evaluate Logarithms In Any Base And Reverse Logs
- Matrix Calculator | Compute operations, determinant, and inverse
- Mean Median Mode Calculator | Get mean, median, mode & count
- Mean Squared Error Calculator | MSE between obs & preds
- Midpoint Formula Calculator | Find Midpoint Between Two Points
- Modulo Calculator | Compute Remainder and Show Division Working
- Months To Weeks Converter | Convert Months Into Weeks
- Multiples Calculator | Find The N-th Multiple Of A Number
- Multiply Recipe Calculator | Scale ingredients for servings
- Nautical Mile Converter | Convert Nautical Miles to Kilometers
- Net Terms Calculator | Find Invoice Due Date From Net Days
- Newton Calculator | Calculate Force From Mass and Acceleration
- Normal Distribution Calculator | Get Probabilities and Z-Scores
- NPV Calculator | Calculate NPV From Cash Flows and Discount Rate
- P-Value Calculator for Student t-Test | P-value from t and df
- P-Value From Z Calculator | Convert Z-Score To P-Value
- Pallet Cube Calculator | Cubic feet from pallet dimensions
- Percent Deviation Calculator | Percent deviation from reference
- Percent Error Calculator | Compute Absolute And Relative Error
- Percentage Calculator | Solve X% Of Y And Percent Change
- Percentile Range Calculator | Get Spread Between Two Percentiles
- Permutation Combination Calculator | Calculate nPr And nCr
- Polygon Perimeter Calculator | Find Perimeter From Side Length
- Pool Volume Calculator | Compute Pool Gallons From Dimensions
- Population Proportion Calculator | Estimate Proportion: SE & CI
- Population Rate Calculator | Compute Rate Per 1,000 Or 100,000
- Probability Calculator | Calculate probabilities and odds for events
- Pythagorean Calculator | Solve Right Triangles For Missing Side
- Quadratic Formula Calculator | Find roots and discriminant
- Ratio Calculator | Simplify ratios, convert, and solve proportions
- Right Trapezoid Calculator | Solve Geometry From Bases and Height
- Right Triangle Calculator | Solve sides, angles & area
- RNG Simulator | Generate Random Integers Between Min and Max
- Root Calculator | Compute Square, Cube, Or Any Nth Root Precisely
- Rounding Calculator | Round to decimals or significant figures
- Sample Size Calculator | Find required sample size for confidence & margin
- Scientific Calculator | Evaluate trig, logs, exponentials, and powers
- Scientific Notation Calculator | To/from scientific notation
- Sector Calculator | Compute Area From Radius and Radian Angle
- Sigma Level Calculator | Sigma from defects & opportunities
- Sin-Cos Converter | Convert between sine & cosine
- Sine Bar Calculator | Compute Height From Bar Length And Angle
- Skewed Distribution Calculator | Skewness, kurtosis & shape
- Square Cube Law Calculator | Demonstrate Area and Volume Scaling
- Standard Deviation Calculator | Compute mean, variance & std dev
- Standards Grading Calculator | Weight scores with decay
- Statistics Calculator | Compute Mean, Median, Mode & Quartiles
- Summation of Series Calculator | Sum arithmetic series from a,d,n
- Surface Area Calculator | Find Total And Lateral Surface Area
- Tank Volume Calculator | Compute Tank Gallons From Dimensions
- Terminal Value Calculator | Gordon growth terminal value
- Theoretical Yield Calculator | Compute theoretical yield
- Tonnage Calculator | Calculate Tonnage From Given Dimensions
- Triangle Calculator | Solve Sides, Angles, Area & Perimeter
- Tube Calculator | Calculate Tube Volume From OD, ID, and Length
- Upper and Lower Bound Calculator | Bounds from value & unit
- Variance Calculator | Calculate variance from data samples
- Vector Subtraction Calculator | Difference from components
- Volume Calculator | Compute Volume of Common 3D Shapes
- Weeks From Today Calculator | Find Date After a Number of Weeks
- Year-Over-Year Change Calculator | Compute YoY Percent Change
- Z-Score Calculator | Compute Standard Score and Percentile