Select the calculation parameters and enter their values to determine the equation of a line using this equation of a line calculator.
Related
Our Equation of a Line Calculator helps you find the equation of any line by analyzing the vertical change divided by the horizontal change, commonly known as the "rise over run." You can also visualize the line graphically to understand its slope and intercepts.
An equation of a line represents all points lying on that line within a coordinate system. While a line has infinitely many points, only two points are required to determine its unique equation.

There are three main ways to represent a line algebraically:
This form uses one known point on the line and the slope:
y - y1 = m(x - x1)
Where:
It is useful for quickly writing the line equation if you know a point and slope. You can also use our Point-Slope Calculator to simplify this.
The slope-intercept form expresses a line in terms of slope and y-intercept:
y = mx + c
Where:
This form is convenient for quickly plotting lines. Use the Slope-Intercept Calculator for instant results.
The standard form represents a line as:
Ax + By = C or Ax + By + C = 0
Where A and B are coefficients of x and y, and C is a constant. You can calculate this form using the Standard Form Calculator.
Given point (3,5) and slope m = 6:
y - 5 = 6(x - 3)
Given slope m = 6 and y-intercept c = 8:
y = 6x + 8
Convert y = 6x + 8 to standard form:
y = 6x + 8 → 6x - y + 8 = 0 → 6x - y = -8
Standard Form: 6x - y = -8
Set x = 0 in the line equation. Example: y = 3x - 7 → y = -7. So the y-intercept is -7.
Set y = 0 in the equation. Example: y = 3x - 6 → 0 = 3x - 6 → x = 2. So the x-intercept is 2.
Parallel Lines: Lines are parallel if they have equal slopes.
Perpendicular Lines: Lines are perpendicular if their slopes are negative reciprocals. For instance, a line with slope -5 has a perpendicular line slope of 1/5.
This tool allows you to compute the equation in all forms, including lines passing through two points.
Input:
Output:
Use the slope (m) and y-intercept (c) from y = mx + c to plot the line.
The y-intercept is the point where the line crosses the y-axis. In y = mx + c, c is the y-intercept.
From BYU-I: Point-Slope Form of a Line. From Wikipedia: Line. From ChiliMath: How to Graph a Line.
Related
Links
Home Conversion Calculator About Calculator Online Blog Hire Us Knowledge Base Sitemap Sitemap TwoEmail us at
Contact Us© Copyrights 2026 by Calculator-Online.net