← All text tools

Midpoint and distance formula calculator

The distance, midpoint, slope and angle between two points in 2D or 3D.

  • Free
  • No sign-up
  • Works on any device

About Midpoint and distance formula calculator

Give two points in 2D or 3D and get the distance, midpoint, slope and angle between them. Distance comes from the Pythagorean theorem extended to coordinates: the square root of the summed squared differences. The midpoint is just the average of each coordinate.

How to use Midpoint and distance formula calculator

  1. Choose 2D or 3D.
  2. Enter the coordinates of point A and point B.
  3. Read the distance, midpoint, slope and angle between them.

Why use this tool?

Also known as

Frequently asked questions

What is the midpoint of (2, 4) and (8, 10)?

Average each coordinate: (2 + 8) / 2 = 5 and (4 + 10) / 2 = 7. The midpoint is (5, 7), and the distance between the points is about 8.49.

How is the distance between two points calculated?

It is the Pythagorean theorem: the square root of the sum of the squared differences in x, y and, for 3D, z. In 2D that is the square root of dx squared plus dy squared.

What does the angle result mean?

It is the direction of the line from A to B, measured against the positive x-axis. A vertical line has no defined slope, but still has an angle.

Is Midpoint and distance formula calculator free?

Yes. Midpoint and distance formula 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 Midpoint and distance formula 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