# How To: Use the distance formula for two points

In this tutorial, we learn how to use the distance formula for two points. The distance formula is D= the square root of (X2-X1) squared, plus (Y2 minus Y1) squared. It may look confusing, but it's just a derivation of a theorem. First, find the two points that you have and graph them. If you want to know the distance between them, you cannot just count squares if it's a diagonal line. If you remember geometry, you can draw a right triangle over the line to figure out the distance. After this is finished, you will have the distance and will be able to plug it into the equation to find the answer!

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Other worthwhile deals to check out:

• Hot
• Latest