On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Numbers & Quantities · Grade 3-5

Number Line

A number line is a straight line where each point is a number, smaller to the left and larger to the right, with equal spacing so distance and order are visible.

Distance between points a and b on the number line is ∣b−a∣

Quick Answer

A number line is a straight line where each point is a number, smaller to the left and larger to the right, with equal spacing so distance and order are visible. Use it to put numbers in order, to see where negative numbers sit, and to find how far apart two numbers are by counting the steps between them. From −2 to 5 is 7 steps, the same as ∣5−(−2)∣. Fractions and decimals have places on it too, between the whole numbers.

Why This Matters

A number line turns numbers into places, so questions become pictures: which is bigger, how far apart, what lies between. It is how you see that −5 is less than −2 even though 5 is more than 2, and why 34 sits between 0 and 1. It is also the first step toward graphs, which are built from two number lines.

Intuitive Explanation

Picture a straight road with a marker every metre. The marker where you start says 0. Walking right, you pass markers 1, 2, 3 and so on; walking left, you pass −1, −2, −3. The road never ends in either direction. Every number has its own spot, and the farther right a spot is, the bigger the number. So 4 is bigger than 1, and −1 is bigger than −4, because −1 is farther right. Numbers like 212 have spots too, halfway between markers 2 and 3.

Because the markers are evenly spaced, you can measure distance by counting steps. From −2 to 5: two steps to reach 0, then five more, 7 steps in all. The shortcut is to subtract the smaller number from the bigger one, 5−(−2)=7. A distance is never negative, whichever end you start from.

Not every line with numbers on it is a number line. If the gap from 0 to 1 is wide and the gap from 1 to 2 is narrow, the picture says 1 and 2 are closer together than 0 and 1, which is false. A bar graph is not a number line either: its bars show amounts for separate things, like pets in each class, not places along one line. And a spot that is 3 across and 2 up can't be shown on one line at all; that takes two number lines crossing, called a coordinate plane.

Think of it like this. A number line is like a street where every house number has one spot, the houses are evenly spaced, and the street runs forever both ways. Walking right always means bigger numbers. Unlike a real street, there is also a spot between any two houses, for numbers like 212.

Core idea. A number line places every number as a point in order, with equal gaps showing distance and direction.


When to Use

Draw a number line when a problem asks you to order or compare numbers, especially negatives or fractions, to find how far apart two numbers are, or to show a change, such as a temperature rising 6 degrees from −4 to 2. If the question needs a spot found with two numbers, such as 3 across and 2 up, use a coordinate plane. If it compares amounts for separate groups, a bar graph fits better.

Tip. Ask: Am I placing or comparing numbers as ordered, equally spaced points on a single line?

How to Recognize It

Before you draw a number line, check whether each number needs just one spot in order or two values to find it.

  1. Does each number in the problem need only one value to find its spot, like −3 or 212?

    Yes means a number line works. If a point needs two numbers to find it, like 3 across and 2 up, use a coordinate plane.

  2. Is the question how far apart two numbers are, or how much something went up or down?

    Then count the steps on the line: from −1 to 4 is 5 steps. If it asks only how far one number is from 0, that is absolute value.

  3. Are you comparing amounts for different groups, like how many pets each class has?

    Then a bar graph shows it better, because each group gets its own bar. A number line is for numbers in order, not for groups side by side.

  4. Are some of the numbers fractions or decimals, like 34 or 1.5?

    Then split the space between whole numbers into equal parts first: fourths for 34, halves or tenths for 1.5. If every number is whole, one tick for each number is enough.

Number Line compared with Coordinate plane, Bar graph / scale, and Absolute value

A number line, a coordinate plane, a bar graph and absolute value all use evenly marked scales, so they can look alike. Ask how many numbers it takes to say where one thing is, and whether you care about direction or only distance from 0.

Number Line

Meaning
Use this when you need to picture order, position, sign, or distance of numbers along one axis.
Key test
Am I placing or comparing numbers as ordered, equally spaced points on a single line?
Formula
Distance between points a and b on the number line is ∣b−a∣
Example
Find the distance between −2 and 5 on the number line.

Coordinate plane

Meaning
Uses TWO perpendicular number lines to locate points by a pair (x,y).
Key test
Use when a point needs two values, not one.
Formula
(x,y)
Example
Plotting (3,2) three right and two up

Bar graph / scale

Meaning
Displays category amounts with heights, not a continuum of ordered numbers.
Key test
Use when comparing separate categories, not positions of numbers.
Example
Bars for favorite fruits

Absolute value

Meaning
The DISTANCE of a number from zero on the line, always nonnegative.
Key test
Use when you want how far from zero, dropping the sign.
Formula
∣x∣
Example
∣−4∣=4

Formula & Notation

Distance between points a and b on the number line is ∣b−a∣
The number line is a bijection f:R→ℓ from the real numbers to points on a line ℓ, preserving order and distance: a<b  ⟺  f(a) is left of f(b), and d(f(a),f(b))=∣b−a∣. This makes (R,∣⋅∣) a complete ordered metric space.

How to read it: A horizontal line with 0 at the origin; positive numbers to the right, negative numbers to the left, with equal spacing between consecutive integers

Worked Examples

Example 1 — Distance on the line

Easy

Find the distance between −2 and 5 on the number line.
Show the steps and the answer
  1. Mark −2 and 5 on a number line, with 0 between them.

    −2 is left of 0 and 5 is right of it, so the trip from one to the other crosses 0.

  2. Count the steps in two parts: from −2 to 0 is 2 steps, from 0 to 5 is 5 steps, and 2+5=7.

    Splitting the trip at 0 makes counting easy when one number is negative.

  3. Check with the rule: ∣5−(−2)∣=∣5+2∣=7.

    Subtracting a negative number adds, and the bars keep the distance positive.

Answer: 7 units

Takeaway: When two numbers are on opposite sides of 0, add their distances from 0 to get the distance between them.

Example 2 — Needs two numbers

Standard

To locate the spot 3 right and 2 up, is a single number line enough?
Show the steps and the answer
  1. Count the directions in the question: one is right (sideways), one is up.

    A single number line only lets you move left or right.

  2. Try it on one line: you can reach 3, but 'up 2' has nowhere to go.

    Each point on one line is named by one number, and this spot needs two.

  3. Draw a second number line going up through 0, then go right 3 and up 2 to reach (3,2).

    Two number lines crossing at 0 make a coordinate plane; the first number says across, the second says up.

Answer: Use the coordinate plane (3,2), not one line

Takeaway: One direction needs one number line; across and up together need the coordinate plane.

Example 3 — Find the mistake: ordering negative numbers

Application

Order −6, −1 and −3 from least to greatest. Zoe writes: "−1, −3, −6, because 1 is the smallest." Find the mistake and correct it.
Show the steps and the answer
  1. Place the numbers on a number line: −6 is 6 steps left of 0, −3 is 3 steps left, −1 is 1 step left.

    Negative numbers go to the left of 0, and the bigger the number after the minus sign, the farther left it sits.

  2. Read the points from left to right: −6, then −3, then −1.

    Left means smaller on a number line, so reading left to right gives least to greatest.

  3. Find Zoe's error: she ordered 1, 3, 6 and ignored the minus signs.

    Think of temperatures: −6 degrees is colder than −1 degree, so −6 is the smaller number.

Answer: −6, −3, −1

Takeaway: For negative numbers, farther from 0 means smaller. Picture the line and read from left to right.

Where You'll See It

  • Reading a thermometer in winter

    A thermometer is a number line standing up. If it is −4°C in the morning and 6°C at noon, count the steps: 4 up to 0, then 6 more, so the temperature rose 10 degrees.

  • Elevator floors below ground

    In a building with underground parking, the ground floor is 0, floor 3 is three floors up, and level −2 is two floors down. Riding from −2 to 3 covers 2+3=5 floors, just like counting on a vertical number line.

  • A timeline for a history project

    A timeline is a number line for years. With 1 cm for every 10 years, 1900 and 1950 sit 5 cm apart. If the spacing were uneven, some events would look closer together in time than they really were.

Common Mistakes

  1. The slip: Spacing integers unevenly

    Instead: consecutive integers must sit the same distance apart or order and distance are wrong.

  2. The slip: Putting negatives on the right

    Instead: negative numbers go LEFT of zero, getting smaller as you move left.

  3. The slip: Confusing distance with difference of position

    Instead: distance between a and b is ∣b−a∣, always nonnegative.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. On a number line, what number is halfway between 6 and 14?

    Hint: Find the distance from 6 to 14, then go half of it from 6.

  2. A number line from 0 to 1 is split into 4 equal spaces. What number is at the third tick mark after 0?

    Hint: Each space is one equal part of the whole from 0 to 1.

  3. Find the distance between 3 and 12 on a number line.

    Hint: Count the spaces from one point to the other, or subtract.

  4. Start at −3 on a number line and move 7 units to the right. Where do you land?

    Hint: Moving right makes numbers bigger. Pass through 0 on the way.

  5. You want to show the temperatures −5, 0 and 8 degrees. Do you need a number line or a coordinate plane?

    Hint: Is each value one number, or a pair of numbers?

  6. Max is asked to mark −3 on a number line. He puts it 3 spaces to the right of 0. Correct Max.

    Hint: Which side of 0 do the negative numbers go on?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can two different fractions land on the same spot?

Yes, if they are the same amount. Split the space from 0 to 1 into 2 equal parts and mark 1 part: that is 12\frac12. Split it into 4 equal parts and mark 2 of them: that is 24\frac24, and it lands on the very same point. So a number line can show that two fractions are equal. Fractions that land on different spots are different sizes, and the one further right is bigger.

Why is −5 smaller than −2 when 5 is bigger than 2?

On a number line, smaller means further to the left. −5-5 is 5 steps left of 0, and −2-2 is only 2 steps left, so −5-5 is further left and smaller. Think of the weather: −5-5 degrees is colder than −2-2 degrees. The 5 tells you how far the number is from 0, and the minus sign tells you which way. On the left side, further from 0 means smaller.

Does a number line have to start at 0?

No. You can draw just the part you need. To show 46, 47 and 48, a line from 45 to 50 is enough. To show a 100 metre race, you might mark only 0, 25, 50, 75 and 100, with each tick worth 25. What must stay the same is the spacing: every gap between ticks has to be worth the same amount. Arrows on both ends remind you that the line keeps going.

Where do I see number lines outside math class?

A thermometer is a number line standing up, with temperatures below 0 at the bottom. A ruler is a number line marked in centimetres or inches. A timeline in a history book puts years in order, and the gap between two dates shows how far apart they are. Even the buttons in a lift that go down to a parking floor numbered −1-1 work like a number line.

Learning Path

← Before

CountingIntegers
Number Line

You are here

You need Counting and Integers (whole numbers and their negatives) first. The number line adds a picture: each number is a place, with bigger numbers to the right and equal steps between whole numbers, so order and distance can be seen. Next, Absolute Value measures how far a number is from 0, and the Coordinate Plane crosses two number lines to locate points.

See Also