Canonical: https://toolipedia.app/line-calculator

# Line calculator

Gives the equation of a line through two points or from a slope, the intersection and angle of two lines, perpendicular bisectors, section points and the distance from a point to a plane.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Line calculator

## About Line calculator

Six common straight-line questions in one place. Through two points or from a slope and a point you get slope-intercept, point-slope and standard form, both intercepts and the angle. Two lines in the form ax + by = c give their intersection, the angle between them and whether they are parallel or perpendicular. The tool also finds a perpendicular bisector, the point that divides a segment in a ratio m : n, and the distance from a point to a plane. Points (1, 2) and (3, 8) give y = 3x − 1, and x + y = 4 meets x − y = 2 at (3, 1).

## How to use Line calculator
1. Pick the question: two points, slope and point, two lines, bisector, ratio or point to plane.
2. Fill in the fields that appear for that question.
3. Read the equation or answer and the extra rows such as angle, intercepts or closest point.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- line calculator
- equation of a line through two points
- intersection of two lines
- angle between two lines
- perpendicular bisector calculator
- distance from point to plane

## Frequently asked questions

### How do I enter y = mx + k as ax + by = c?

Move the x term across: use a = −m, b = 1 and c = k. For y = 2x + 3 that gives a = −2, b = 1, c = 3.

### How can I tell if two lines are perpendicular?

Their normal vectors are at a right angle, so a₁a₂ + b₁b₂ = 0. In slope form the slopes multiply to −1, unless one line is vertical and the other horizontal.

### What does the distance to a plane mean?

It is the length of the shortest segment from the point to the plane, along the normal, computed as |ax + by + cz + d| divided by the length of (a, b, c).

### Is Line calculator free?

Yes. Line calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

### Can I put Line calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with Line calculator:
- [Distance from a point to a line](https://toolipedia.app/distance-point-to-line-calculator)
- [Slope calculator](https://toolipedia.app/slope-calculator)
- [Two circles calculator](https://toolipedia.app/two-circles-calculator)
- [Triangle centers calculator](https://toolipedia.app/triangle-centers-calculator)
- [Conic section calculator](https://toolipedia.app/conic-section-calculator)
