Interactive Number Line

Click the number line to place points, or enter arithmetic expressions to see addition and subtraction visualized as jumps. Adjust the range, toggle decimals, and explore negative numbers.

Ad Space

What Is a Number Line?

A number line is a straight line on which every point represents a real number. Numbers increase from left to right — negative numbers are on the left, positive on the right, and zero sits in the middle. It is one of the most important visual tools in mathematics, used from elementary school through advanced calculus. This interactive version lets you place points, see operations as visual jumps, and explore different ranges.

Understanding Negative Numbers

Negative numbers appear to the left of zero on the number line. The farther left you go, the smaller (more negative) the number. A common misconception is that -5 is "bigger" than -3 because 5 is bigger than 3 — but on the number line, -5 is to the left of -3, making it smaller. Visualizing this on the number line makes the concept intuitive.

Addition and Subtraction as Movement

Addition means moving right on the number line. If you start at 3 and add 5, you jump 5 units to the right and land on 8. Subtraction means moving left. Starting at 3 and subtracting 5 means jumping 5 units left to land on -2. Enter an expression like "3 + 5" or "-2 - 4" to see these jumps drawn as arrows on the line.

Absolute Value and Distance

The absolute value of a number is its distance from zero on the number line, regardless of direction. Both 5 and -5 have an absolute value of 5 because both are 5 units from zero. The distance between any two numbers on the number line is the absolute value of their difference: the distance between -3 and 4 is |(-3) - 4| = 7 units.

Fractions, Decimals, and Comparing Numbers

Toggle the decimals view to see marks between integers. This shows that the number line is continuous — between any two whole numbers, there are infinitely many fractions and decimals. The number 2.5 sits exactly halfway between 2 and 3. Understanding where fractions and decimals fall on the number line is essential for comparing their sizes. The number line is also the foundation for understanding inequalities: if a number sits to the right of another on the line, it is greater. Teachers and students use interactive number lines like this one to build intuition about ordering numbers, estimating sums, and visualizing how arithmetic operations change position.