At a Glance
- Category
- Algebra
- Best For
- Algebra students and anyone who needs the equation of a line
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Calculates the rise over run between two points, finds where the line crosses the y-axis and writes the equation in slope-intercept form.
Algebra and geometry students, teachers, and anyone modeling a straight-line trend.
When you have two points and need the line through them.
It automates the slope formula and intercept and also gives the geometry of the segment.
Key Features & Capabilities
Equation in y = mx + b form
Slope and intercept with the equation.
Distance and midpoint
Geometric measures of the segment.
Special cases
Vertical, horizontal and identical points are identified.
How to Use This Tool
Enter point 1
Type the coordinates x₁ and y₁ of the first point. Tip: Use any real numbers.
Enter point 2
Type the coordinates x₂ and y₂ of the second point. Tip: The points must be different.
Read slope and intercept
The slope is rise ÷ run; the intercept is where the line crosses the y-axis. Tip: A vertical line has no slope-intercept form.
Use the equation
Substitute any x to find y. Tip: Check that both points satisfy the equation.
Worked Real-World Example
Points (1, 2) and (4, 8)
A line passes through (1, 2) and (4, 8).
How It Works (Math & Calculation Logic)
Slope m = (y₂ − y₁) ÷ (x₂ − x₁). Intercept b = y₁ − m × x₁. Distance = √((x₂ − x₁)² + (y₂ − y₁)²). Midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Angle = arctan(m). A vertical line (x₁ = x₂) has no slope-intercept form.
How to Interpret Your Results
Slope can be any real number: positive rises, negative falls, zero is horizontal.
Steeper lines have larger absolute slopes.
Verify by substituting both points into the equation.
Frequently Asked Questions
How do you find the slope between two points?
What is slope-intercept form?
How do you find the y-intercept?
What if the line is vertical?
What does a negative slope mean?
Complementary QuickForma Utilities
Linear Equation Solver
Solve 1-variable linear equations of the form ax + b = c for x with step-by-step verification.
Distance & Midpoint Calculator
Calculate Euclidean distance, midpoint coordinates, and line slope between two 2D points.
Trigonometry Calculator
Calculate sine (sin), cosine (cos), and tangent (tan) in degrees or radians.
Simple Linear Regression & R² Line of Best Fit
Calculates regression line equation ŷ = β₀ + β₁ x, correlation r, and coefficient of determination R².
3x3 Systems of Linear Equations Solver
Solves 2-variable and 3-variable systems of linear equations using Cramer's Rule / Gaussian elimination.
Percentage Change & Percentage Difference Solver
Dedicated standalone solver for percentage change vs percentage difference calculations.
Chi-Square Goodness-of-Fit & Independence Test
Calculates Chi-Square statistic (chi²), degrees of freedom, and p-value for contingency tables.
One-Way & Two-Way ANOVA F-Test Calculator
Computes Analysis of Variance (ANOVA) table, Sum of Squares, Mean Squares, and F-statistic.
Sample & Population Variance Standalone Solver
Calculates sample variance (s²) and population variance (σ²) with step-by-step deviation sums.
Paired & Unpaired Two-Sample Student's t-Test
Calculates 1-sample, 2-sample independent, and paired t-test statistics and p-values.
p-Value Calculator from Z, t, F & Chi-Square Statistics
Converts test statistics (Z, t, F, chi²) into one-tailed and two-tailed p-values.