✳tools.stBrowse tools
◈ Processed on your device
±

Line through two points

Find slope, y-intercept and standard form Ax + By = C, including vertical lines.

Free

Enter two different Cartesian points. The tool computes the rise-over-run slope when defined, the y-intercept and a standard-form coefficient set that also represents vertical lines.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

First x: 1
First y: 3
Second x: 2
Second y: 5

Example result

{
  "slope": 2,
  "intercept": 1,
  "A": 2,
  "B": -1,
  "C": -1
}

Limitations and details

Coincident points are rejected; vertical lines return null slope and intercept, and standard-form coefficients are not normalized.

Inputs and options

First x
Number
First y
Number
Second x
Number
Second y
Number

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools