Line Equation Calculator

Enter two points to find the line equation in slope-intercept form and visualize it.

Enter Two Points

Specify the coordinates (x, y) of two points to calculate the line equation.

Line Equation:

Understanding Line Equations

A line equation represents a straight line on a graph. The most common form is the slope-intercept form: y = mx + b, where m is the slope and b is the y-intercept. The slope (m) indicates the steepness and direction of the line. The y-intercept (b) is the point where the line crosses the y-axis. To find the equation of a line from two points (x1, y1) and (x2, y2), we first calculate the slope using the formula: m = (y2 - y1) / (x2 - x1). Then, we find the y-intercept using b = y1 - m * x1. This tool simplifies this process, providing you with the line equation and a visual representation. Use it to easily understand linear relationships in mathematics and real-world applications.