Distance Between Two Points 1D Formula
Formula
Summary
The distance between two points is given by the absolute value of the difference of the points. The order in which the coordinates into the formula does not matter.
Expression  Description 

The distance between the two points  
The coordinate of the first point  
The coordinate of the second point 
Usage Notes
The distance between two points, in one dimension, is given by the absolute value of the difference between the two values. For example, to calculate the distance between the points and the point the formula is:
To find the distance between the points and , first calculate the difference between the two values, and then take the absolute value of the result.

Set up the formula and substitute the values for the two points in for and .

Perform the subtraction.

Take the absolute value of four.

The distance between the points is units.
To find the distance between the points and , first calculate the difference between the two values, and then take the absolute value of the result.

Set up the formula and substitute the values for the two points in for and .

Perform the subtraction.

Take the absolute value of negative three.

The distance between the points is units.