Notice

We and selected partners use cookies or similar technologies as specified in the cookie policy.
You can consent to the use of such technologies by closing this notice, by scrolling this page, by interacting with any link or button outside of this notice or by continuing to browse otherwise.
To find out more about the categories of personal information collected and the purposes for which such information will be used, please refer to our privacy policy.

California Consumer Notice

 0 AC +/- รท 7 8 9 ร 4 5 6 - 1 2 3 + 0 00 , =

# Length of a Line Segment. Distance Between Points Online Calculator.

## This calculator helps you calculate the distance between the given points and gives a detailed solution both in 2d and 3d space.

Dimension of space
Point coordinates
Point A coordinates: ( ; )
Point B coordinates: ( ; )

How to Find the Distance Between Points in a 2d Plane and in 3d Space

In order to calculate the length of a segment knowing the coordinates, you must use one of the formulas.
|AB| =
(xB - xA)2 + (yB - yA)2
- to calculate the length of a segment (2D)
|AB| =
(xB - xA)2 + (yB - yA)2 + (zB - zA)2
- to calculate the length of a segment (3D)

Example 1 let's calculate the distances between points of the plane with coordinates A (x; y) and point B (x; y), where A (1; 9) and B (4; 7) .
Then according to the formula
Xb = 4;
Xa = 1;
Yb = 7;
Ya = 9;
Substitute the values into the formula and calculate the distance between points A and B
|AB| =
(xB - xA)2 + (yB - yA)2
=
(4 - 1)2 + (7 - 9)2
=
32 + (-2)2
=
9 + 4
=
13
= 3.60555127546399
Example 2 let's calculate the distances between points in space with coordinates A (x; y; z) and points B (x; y; z), where A (5; 2; 9) and B (3; 6; 7).
Then according to the formula
Xb = 3;
Xa = 5;
Yb = 6;
Ya = 2;
Zb = 7;
Za = 9;
Substitute the values into the formula and calculate the distance between points A and B
|AB| =
(xB - xA)2 + (yB - yA)2 + (zB - zA)2
=
(3 - 5)2 + (6 - 2)2 + (7 - 9)2
=
(-2)2 + 42 + (-2)2
=
4 + 16 + 4
=
24
= 2
6
= 4.89897948556636
 You may also find the following calculators helpful Linear Algebra and Analytical Geometers Calculators Matrix Addition and Subtraction Calculator Matrix Multiplication Calculator Matrix Transpose Calculator Matrix Determinant Calculator Inverse Matrix Calculator Length of a Line Segment. Distance Between Points Online Calculator. Vector Coordinates Calculator From Two Points Vector Modulus (Length) Calculator Vector Addition and Subtraction Calculator Vector Dot Product Calculator. By Using the Length of the Vectors and Cosine of the Angle Between Vectors. Vector Dot Product Calculator. By Using Vector Coordinates. Vector Product Calculator. By Using Vector Coordinates. Vector Triple Product Calculator Vector Multiplication by Number Calculator Angle Between Vectors Calculator Vector Collinearity Check Calculator Vector Coplanarity Calculator Combinatorics Calculators Permutations of N Elements Calculator Combinations of N Elements by M Calculator Permutations of N Elements by M Calculator Numeral Systems Calculators Roman Numeral Calculator Roman Numerals From 1 to 3999 Numeral Systems Calculator Binary Calculator. Addition, Subtraction, Multiplication and Division of Binary Numbers. Fraction Calculators Simplifying Fractions Calculator Improper to Mixed Fraction Calculator Mixed Fraction to Improper Calculator Fractions Calculator With Step by Step Solution Raising a Fraction to a Power. Online Calculator. Decimal to Fraction Calculator Fraction to Decimal Calculator Compare Fractions Calculator Common Denominator Calculator Trigonometers Calculators Sine Calculator Cosine Calculator Tangent Calculator Cotangent Calculator Secant Calculator Cosecant Calculator Arcsine Calculator Arccosine Calculator Arctangent Calculator Arccotangent Calculator Arcsecant Calculator Arccosecant Calculator Calculators (Number theory) Mathematical Expressions Calculator Calculator Parentheses Prime Factorization Calculator Gcd and Lcm Calculator With Steps Gcd and Lcm calculator using Euclidean algorithm Gcd and Lcm Calculator for Any Number of Numbers Break Down the Number Into Its Place Value Divide a Number by a Ratio. Online Calculator With Steps Percentage Calculator With Steps Scientific Notation to Decimal Conversion Calculator Scientific Notation Converter Factorial Calculator With Steps Logarithm Calculator Quadratic Equations Calculator With Steps Remainder Calculator Root Calculator Decimal Period Calculator Big Number Calculator Rounding Numbers Calculator Properties of Roots and Exponents Calculator Complex Number Calculator Area Calculators Area of a Square Calculator Area of a Rectangle Calculator Math Trainers Addition Math Trainer Subtraction Math Trainer Multiplication Math Trainer Division Math Trainer Multiplication Table Math Trainer Online Preschool Counting Trainer Online Preschool Mindfulness Trainer Online Addition Subtraction Multiplication Division Math Trainer. Find the Correct Answer. Online Numeric Expression Trainer Converters Length Converter Speed Converter Acceleration Converter Physics Calculators Mechanics Speed Time Distance Calculator Acceleration Speed Distance Calculator Displacement Time Calculator Time Calculator Newton's Second Law Calculator Gravitational Force Calculator Momentum Calculator Impulse Calculator Object Weight Calculator Optics Light Reflection and Refraction Calculator Electricity and Magnetism Ohm's Law Calculator Coulomb's Law Calculator Electric Field Strength Calculator Point Electric Charge Calculator Q Force Acting on Charge Calculator Distance From Charge Calculator Potential Charge Energy Calculator Electric Field Potential Calculator Conductor and Sphere Capacitance Calculator Capacitors Capacitance of Parallel Plate, Cylindrical and Spherical Capacitors Calculator Electric Field Strength in Parallel Plate, Cylindrical and Spherical Capacitors Calculator Voltage (Potential Difference) of Parallel Plate, Cylindrical and Spherical Capacitors Calculator Distance Between Plates in Parallel Plate Capacitor Calculator Plate Area in Parallel Plate Capacitor Calculator Energy Stored in Charged Capacitor Calculator Energy Stored in Parallel Plate, Cylindrical and Spherical Charged Capacitors Calculator Volumetric Energy Density of Parallel Plate, Cylindrical and Spherical Capacitors Calculator Astronomy Calculators Object Weight on Other Planets Gravitational Acceleration on the Planets of the Solar System and Their Satellites Generators Random Number Generator Password Generator