Calculator
Chart Builder

Line Graph (y = mx + b) Calculator

Enter slope (m) and y-intercept (b) to plot y = mx + b. Instantly see the x-intercept, a value table and the graph.

Tutorial / How it works →

Info

Use the line graph tool to instantly plot y = mx + b, view a value table and find intercepts. Key formulas: - Line equation: y = mx + b - Slope: m = Δy / Δx (change in y for a 1-unit increase in x) - Y-intercept: b (the y value where the line crosses the y-axis; y = b when x = 0) - X-intercept: x = −b / m (when m ≠ 0) Parallel lines share the same slope (m); changing m rotates the line, changing b shifts it vertically.

About the Line Graph
This tool plots linear functions of the form y = mx + b. Vertical lines (x = constant) cannot be represented in this form.
Use advanced settings for more accurate results.