# 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 are entered 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

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:

After evaluating the subtraction and absolute value expression the distance between the point and the point is equal to units.

## Examples

### Distance Between 3 and 7 This example demonstrates how to find the distance between the two points and .

#### Steps

1. Start by setting up the formula.

2. Substitute the values for the two points into the formula.

3. Evaluate the subtraction.

4. Evaluate the absolute value.

The distance between the two points and is units.

### Distance Between 5 and 2 This example demonstrates how to find the distance between the two points and .

#### Steps

1. Start by setting up the formula.

2. Substitute the values for the two points into the formula.

3. Evaluate the subtraction.

4. Evaluate the absolute value.

The distance between the two points and is units.

### Distance Between 3 and 8 This example demonstrates how to find the distance between the two points and .

#### Steps

1. Start by setting up the formula.

2. Substitute the values for the two points into the formula.

3. Evaluate the subtraction.

4. Evaluate the absolute value.

The distance between the two points and is units.