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

  • Bike Gear Ratio Calculator

    Bike Gear Ratio Calculator 2026 | Gear Inches & Development calculatorsonline.co.uk Bike Gear Ratio Calculator 2026 Instantly calculate your bicycle’s gear ratio, gear inches, development, and estimated speed. Perfect for tuning road, gravel, MTB, and commuting setups. 🚲 Gear Ratio 📏 Gear Inches 🔄 Development 🚴 Speed (RPM) Drivetrain & Wheel Setup Enter your chainring,…

  • Student Finance Calculator

    Student Finance Calculator UK | Estimate Tuition & Maintenance Loans calculatorsonline.co.uk Student Finance Calculator Estimate your tuition fee and maintenance loans for the 2024/2025 academic year based on your household income and living situation. 🇬🇧 England 2024/2025 Rates 💷 Maintenance & Tuition 📊 Household Income Taper 🔒 100% Free & Private Free Education Funding Tool…

  • Buy To Let Mortgage Calculator

    Buy To Let Mortgage Calculator | Free Rental Yield & ICR Tool calculatorsonline.co.uk Buy To Let Mortgage Calculator Calculate your buy to let mortgage instantly. Free, accurate tool showing monthly payments, rental yield, ICR stress test, and cash flow for landlords. 🏘️ Landlord Tool 📊 Rental Yield 🧮 ICR Stress Test 📱 Mobile Friendly Property…

  • Morph Calculator

    Reptile Morph Calculator | Genetics Breeding Calculator calculatorsonline.co.uk Reptile Morph Calculator Predict offspring genetics and morph probabilities. Plan your breeding projects for leopard geckos, ball pythons, bearded dragons and more with accurate genetic calculations. 🦎 Leopard geckos 🐍 Ball pythons 🧬 Genetic predictions Morph Calculator Predict offspring genetics from parent pairings Species Species Leopard GeckoBall…

  • UK Bank Statement Calculator For Indian Students

    UK Bank Statement Calculator for Indian Students 2026 (INR) | Undergraduate & Postgraduate calculatorsonline.co.uk UK Bank Statement Calculator 2026 — For Indian Students Work out exactly how much money you need in your bank account for your UK Student visa — converted into Indian Rupees (INR). Separate calculators for undergraduate and postgraduate applicants, based on…

  • Days Since Calculator

    Days Since Calculator | Days Between Two Dates & Countdown Tool calculatorsonline.co.uk Days Since Calculator Find out exactly how many days have passed since any date, or how many days remain until a future one. Get an instant breakdown in weeks, months, years, and business days. 📅 Date Difference ⚡ Instant Results 🗓️ Leap Year…