Number Line Formula

Number line is a straight line where each point represents a number, with equal spacing giving a visual model of all real numbers.

The Formula

Distance between points aa and bb on the number line is ∣bβˆ’a∣|b - a|

When to use: Numbers live in order on a lineβ€”smaller to the left, larger to the right.

Quick Example

On a number line: β€¦βˆ’2,βˆ’1,0,1,2…\ldots -2, -1, 0, 1, 2 \ldots with equal spacing between integers.

Notation

A horizontal line with 00 at the origin; positive numbers to the right, negative numbers to the left, with equal spacing between consecutive integers

What This Formula Means

A straight line where each point represents a number, with equal spacing giving a visual model of all real numbers. The number line extends infinitely in both directions, with negative numbers to the left of zero and positive numbers to the right, providing a geometric representation of order and distance.

Numbers live in order on a lineβ€”smaller to the left, larger to the right.

Formal View

The number line is a bijection f:Rβ†’β„“f: \mathbb{R} \to \ell from the real numbers to points on a line β„“\ell, preserving order and distance: a<bβ€…β€ŠβŸΊβ€…β€Šf(a)a < b \iff f(a) is left of f(b)f(b), and d(f(a),f(b))=∣bβˆ’a∣d(f(a), f(b)) = |b - a|. This makes (R,βˆ£β‹…βˆ£)(\mathbb{R}, |\cdot|) a complete ordered metric space.

Worked Examples

Example 1

easy
Plot and label the following on a number line: βˆ’3-3, βˆ’12-\dfrac{1}{2}, 00, 1.751.75, 73\dfrac{7}{3}. Then find the distance between βˆ’3-3 and 73\dfrac{7}{3}.

Answer

Distance =163β‰ˆ5.33= \dfrac{16}{3} \approx 5.33.

First step

1
Convert to decimals for placement: βˆ’3=βˆ’3-3 = -3, βˆ’12=βˆ’0.5-\dfrac{1}{2} = -0.5, 0=00 = 0, 1.75=1.751.75 = 1.75, 73β‰ˆ2.33\dfrac{7}{3} \approx 2.33.

Full solution

  1. 2
    Order from left to right: βˆ’3,β€…β€Šβˆ’0.5,β€…β€Š0,β€…β€Š1.75,β€…β€Š2.33-3,\; -0.5,\; 0,\; 1.75,\; 2.33.
  2. 3
    Distance from βˆ’3-3 to 73\dfrac{7}{3}: ∣73βˆ’(βˆ’3)∣=∣73+3∣=∣163∣=163β‰ˆ5.33\left|\dfrac{7}{3} - (-3)\right| = \left|\dfrac{7}{3} + 3\right| = \left|\dfrac{16}{3}\right| = \dfrac{16}{3} \approx 5.33.
The number line provides a geometric model for all real numbers. Distance between two points is the absolute value of their difference, so direction does not matter β€” only the magnitude of the gap. Converting to decimals makes ordering visual and intuitive.

Example 2

medium
Find all integers within distance 2.52.5 of βˆ’1-1 on the number line.

Example 3

medium
On a number line, point A is at βˆ’3-3 and point B is at 55. Find the midpoint and the distance between them.

Common Mistakes

  • Spacing integers unevenly - consecutive integers must sit the same distance apart or order and distance are wrong.
  • Putting negatives on the right - negative numbers go LEFT of zero, getting smaller as you move left.
  • Confusing distance with difference of position - distance between aa and bb is ∣bβˆ’a∣|b-a|, always nonnegative.

Why This Formula Matters

The number line turns abstract order into geometry: it is where negatives stop being mysterious (left of zero), where ∣bβˆ’a∣|b-a| becomes a real distance, and where the jump to the coordinate plane and absolute value begins β€” one mental model behind years of later math. Recognizing it by "Am I placing or comparing numbers as ordered, equally spaced points on a single line?" β€” rather than by familiar numbers β€” is what lets a student tell it apart from coordinate plane and bar graph / scale and absolute value in a mixed problem set.

Frequently Asked Questions

What is the Number Line formula?

A straight line where each point represents a number, with equal spacing giving a visual model of all real numbers. The number line extends infinitely in both directions, with negative numbers to the left of zero and positive numbers to the right, providing a geometric representation of order and distance.

How do you use the Number Line formula?

Numbers live in order on a lineβ€”smaller to the left, larger to the right.

What do the symbols mean in the Number Line formula?

A horizontal line with 00 at the origin; positive numbers to the right, negative numbers to the left, with equal spacing between consecutive integers

Why is the Number Line formula important in Math?

The number line turns abstract order into geometry: it is where negatives stop being mysterious (left of zero), where ∣bβˆ’a∣|b-a| becomes a real distance, and where the jump to the coordinate plane and absolute value begins β€” one mental model behind years of later math. Recognizing it by "Am I placing or comparing numbers as ordered, equally spaced points on a single line?" β€” rather than by familiar numbers β€” is what lets a student tell it apart from coordinate plane and bar graph / scale and absolute value in a mixed problem set.

What do students get wrong about Number Line?

The procedure for number line is the easy part; the trap is spacing integers unevenly. Asking "Am I placing or comparing numbers as ordered, equally spaced points on a single line?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Number Line formula?

Before studying the Number Line formula, you should understand: counting, integers.

Want the Full Guide?

This formula is covered in depth in our complete guide:

Place Value and Measurement: Number Sense Foundations β†’