Equation of a Line Calculator
Two points → every form of the line: slope-intercept, point-slope and standard.
The formula behind it
m = Δy/Δx, then b = y₁ − m·x₁- Δ
- change between the two points
Two points determine a line: the first computes the slope, the second pins the intercept. All standard forms (slope-intercept, point-slope, standard) are derived and shown together.
How to use this calculator
- 1
Enter both points.
- 2
Press Calculate.
- 3
Choose whichever form suits your next step — sketching, substitution or programming.
Worked examples
Cost curve
Producing 10 units costs $450; 25 units cost $975 → y = 35x + 100.
Celsius↔Fahrenheit
Points (0, 32) and (100, 212) give F = 1.8C + 32.