Line Calculator
Find the equation of a line from the gradient and a point or from two points, or find unknown letters from points on a line. Fractions are kept exact.
Write the line with an =, e.g. y=3x+2 or ax+by=7.
Unknown letters can be in the equation, the points, or both; each point gives one equation.
Type 3/4 and it becomes a fraction; press → or Tab to leave the denominator.
Also accepts integers, decimals, mixed numbers (1 space 1/2)
and letters, e.g. P(a, 2a) or k+1.