Equation Of A Line Calculator

calculatorsonline.co.uk

Equation Of A Line Calculator

Find the equation of a line, slope, and intercepts. Enter two points to instantly calculate the line’s formula in multiple algebraic forms.

📈 Slope-Intercept
📐 Point-Slope
📊 Standard Form
📉 Y-Intercept

Coordinates & Points

Enter two points to calculate the equation of the line

📍 Point Coordinates

The X-coordinate of the first point.

The Y-coordinate of the first point.

The X-coordinate of the second point.

The Y-coordinate of the second point.

Line Equation Results

Slope, intercepts, and equation forms

📈

Enter two points above and click Calculate Line Equation to reveal the slope, intercepts, and equation forms.

Common Line Equation Forms

Linear equations can be expressed in multiple forms depending on the known variables. Here are the most common standard forms used in algebra and geometry.

Equation Form Formula Variables Best Used When
Slope-Intercepty = mx + bm = slope, b = y-interceptYou know the slope and y-intercept
Point-Slopey – y₁ = m(x – x₁)m = slope, (x₁, y₁) = pointYou know the slope and any point
StandardAx + By = CA, B, C = integers (A ≥ 0)Solving systems of linear equations
Horizontaly = bb = constant Y valueSlope is exactly zero
Verticalx = aa = constant X valueSlope is undefined
Two-Pointy – y₁ = [(y₂ – y₁)/(x₂ – x₁)](x – x₁)(x₁, y₁), (x₂, y₂) = pointsYou only know two points on the line

Line Equation FAQ

Everything you need to know about calculating linear equations, slopes, and intercepts in algebra.

First, calculate the slope (m) using the formula m = (y₂ – y₁) / (x₂ – x₁). Then, substitute the slope and one of the points into the point-slope form (y – y₁ = m(x – x₁)) and simplify to get the slope-intercept form (y = mx + b).

The slope-intercept form is y = mx + b, where ‘m’ represents the slope of the line and ‘b’ represents the y-intercept (the point where the line crosses the y-axis). It is the most common way to express a linear equation.

The slope (m) is calculated by finding the ‘rise over run’ between two points. The formula is m = (y₂ – y₁) / (x₂ – x₁). A positive slope means the line goes up from left to right, while a negative slope means it goes down.

The standard form is Ax + By = C, where A, B, and C are typically integers, and A must be non-negative. This form is particularly useful for finding x and y intercepts and for solving systems of linear equations.

If both points have the same X-coordinate, the line is perfectly vertical. The slope is mathematically undefined because you would be dividing by zero in the slope formula. The equation of the line is simply x = [that X-coordinate].

The y-intercept (b) is the value of ‘y’ when ‘x’ is 0. If you have the slope (m) and a point (x₁, y₁), you can find it using the formula b = y₁ – m * x₁. Graphically, it is the exact point where the line crosses the vertical Y-axis.

Similar Posts

  • Net Worth Calculator

    Net Worth Calculator 2026 | Calculate Your Personal & Household Net Worth calculatorsonline.co.uk Net Worth Calculator 2026 — Personal & Household Find out exactly where you stand financially. Enter your assets and liabilities to calculate your net worth instantly, with benchmarks by age and financial health indicators to track your progress. 📊 Instant Results 📈…

  • Whole Number And Fraction Calculator

    Whole Number & Fraction Calculator | Add, Subtract, Multiply, Divide Fractions calculatorsonline.co.uk Whole Number & Fraction Calculator Add, subtract, multiply, and divide fractions and mixed numbers instantly. Get simplified results, step-by-step working, and decimal equivalents — all in one place. ½ Proper & improper fractions 📐 Mixed numbers supported ✅ Auto-simplification 📋 Step-by-step working Fraction…

  • Swimming Calorie Calculator

    Swimming Calorie Calculator | Calories Burned Swimming calculatorsonline.co.uk Swimming Calorie Calculator Find out exactly how many calories you burn swimming. Choose your stroke, set your weight and duration, and get an instant MET-based calorie estimate — all strokes, all fitness levels. 🔥 Calories Burned 🏊 All Swim Strokes ⚖️ Fat Burned (grams) 📐 MET-Based Formula…

  • Time Duration Calculator

    Time Duration Calculator 2026 | Hours, Minutes & Seconds Estimator calculatorsonline.co.uk Time Duration Calculator Calculate the exact hours, minutes, and seconds between two times. Perfect for work shifts, events, and time tracking. ⏱️ Hours & Minutes 🕒 Time Difference 📅 Shift Length 🔄 Decimal Conversion Time Duration Estimator Calculate the elapsed time between two points…

  • Circumference Calculator

    Circumference Calculator | Circle Area, Radius & Diameter Finder calculatorsonline.co.uk Circumference Calculator Calculate the circumference, area, radius, and diameter of a circle instantly. Enter any known value to find the rest with precision. ⭕ Circumference 📐 Area & Radius 🧮 Pi Precision 📏 Unit Conversion Circle Properties Calculator Find circumference, area, radius, and diameter Input…

  • Dog Calorie Calculator

    Dog Calorie Calculator UK 2026 | Daily Feeding Guide & MER Estimator calculatorsonline.co.uk Dog Calorie Calculator Calculate your dog’s daily calorie needs (MER), resting energy (RER), and exact daily food portions based on their weight, life stage, and activity level. ⚖️ Weight & RER 🏃 Activity Level 🥩 Food Portions 🐾 Life Stage Dog Calorie…