Equation of a Line Calculator

Calculate the equation of a line in slope-intercept form (y = mx + b) given a slope and a point. Visualize the line on an interactive graph.

Calculate Line Equation

Enter the slope and a point (x, y) to find the equation of the line in slope-intercept form.

m

The slope of the line.

(x, y)

Coordinates of a point on the line, e.g., (2, 3).

Equation of the Line:

Line Visualization

Understanding Line Equations

In mathematics, a linear equation represents a straight line on a coordinate plane. The slope-intercept form, y = mx + b, is a common way to express linear equations. Here, m is the slope of the line, determining its direction and steepness, and b is the y-intercept, indicating where the line crosses the y-axis.

To find the equation of a line, you need either two points on the line or a point and the slope. This tool uses the point-slope form to calculate the slope-intercept form. The point-slope form is given by y - y₁ = m(x - x₁), where (x₁, y₁) is a point on the line and m is the slope. By rearranging this equation, we can get the slope-intercept form.

This calculator simplifies the process, allowing you to quickly determine the equation of a line and visualize it, making it a helpful resource for algebra and geometry.