Integer Number Line Visualizer
Add, subtract, multiply and divide positive and negative integers with jumps drawn on a number line, sign rules, temperature, money and height examples, ordering and practice.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Enter a calculation
Type the first number, choose +, −, × or ÷ and type the second number.
- 2Watch the jumps
Read the number line, where the red arcs show each move and the green dot the answer.
- 3Read the rule
Follow the worked steps and the sign-rule table for multiplication and division.
- 4Try real situations
In Real-life examples pick temperature, money or height and enter a start and a change.
- 5Order numbers
In Order and absolute value type a list of integers to sort and plot them.
- 6Practise
Choose a level in Practice and answer questions, then print a sheet if you like.
About this tool
Negative numbers are where many students first find maths confusing. Why does subtracting a negative make a number bigger? Why is a negative times a negative positive? A number line turns these rules into movement you can see. This visualizer draws every calculation as jumps: start at the first number, then move right for adding a positive and left for adding a negative. Subtraction is shown as adding the opposite, and multiplication as repeated jumps. A real-life tab puts the same ideas into temperatures, bank balances and heights above sea level, an ordering tab places any list of integers on the line with their absolute values, and a practice tab generates questions at three levels with a score, a sprint mode and printable sheets.
Adding and subtracting on the line
Think of the number line as a road with zero in the middle, positive numbers to the right and negative numbers to the left. Adding a positive number moves you right; adding a negative number moves you left. To subtract, add the opposite: 4 − (−6) becomes 4 + 6, so you move six places right and land on 10. The diagram draws the start as a dashed arrow from zero and the operation as a red arc with the number of steps, and marks the answer in green.
Multiplying and dividing
Multiplication is repeated addition: 3 × (−4) is three jumps of −4, ending at −12. The tool draws up to twenty jumps. The sign rules follow: same signs give a positive answer and different signs give a negative answer. One way to see why (−3) × (−4) is positive is the pattern 3 × (−4) = −12, 2 × (−4) = −8, 1 × (−4) = −4, 0 × (−4) = 0; each step adds 4, so the next answers are 4, 8 and then 12. Division uses the same sign rules because it undoes multiplication. Dividing by zero has no answer.
Real-life integers
- Temperature: −4 °C rising by 7 degrees reaches 3 °C. - Money: a balance of $20 with $35 spent becomes −$15, which means you owe $15. - Height: a diver at −12 m who climbs 5 m is at −7 m, still below sea level.
The vertical number line works like a thermometer, which many students find more natural than a horizontal one.
Ordering and absolute value
Numbers increase from left to right, so −11 is less than −2 even though 11 is greater than 2. The absolute value of a number is its distance from zero, always positive or zero: |−7| = 7. The ordering tab sorts any list, plots it and shows each number's absolute value and opposite.
Worked example
Work out −3 + 5. Start at −3. Adding 5 means moving 5 places right: −2, −1, 0, 1, 2. The answer is 2. Now work out −2 − 7: subtracting 7 is adding −7, so from −2 move 7 places left to −9.
Limits
The tool works with whole numbers (integers). It does not cover fractions or decimals on the number line, and division answers that are not whole numbers are shown as decimals. Real bank accounts may charge fees on negative balances; the money example is only arithmetic.
Worked example
−3 + 5: start at −3, move 5 right → 2. −2 − 7 = −2 + (−7): move 7 left → −9. (−4) × (−3) = 12.
Quick facts
- Category: Study & Education
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: OpenStax Prealgebra 2e, chapter 3: Integers
Frequently asked questions
Why does subtracting a negative number make it bigger?
Subtracting means adding the opposite. The opposite of −6 is 6, so 4 − (−6) = 4 + 6 = 10.
Why is a negative times a negative positive?
Follow the pattern 2 × (−4) = −8, 1 × (−4) = −4, 0 × (−4) = 0: each time the first number drops by 1, the answer rises by 4, so (−1) × (−4) = 4.
Is −10 bigger or smaller than −2?
Smaller. On the number line −10 is further to the left.
What is absolute value?
The distance of a number from zero, ignoring direction. Both 5 and −5 have absolute value 5.
What levels does the practice have?
Level 1 is adding and subtracting up to 10; levels 2 and 3 use all four operations with numbers up to 20 and 50.
Can I print worksheets?
Yes. The Practice tab prints a 10-question sheet with an answer key on the second page.
