Number Line Generator
Set the start, end and step, choose whole numbers, decimals or fractions, and add points, jumps or an inequality. Print a worksheet with several lines or save the image for slides.
Worksheet page
Number line
Worksheet page
How to use the Number Line Generator
- Set the range: start, end and step. Fractions such as 1/4 and mixed numbers like 1 1/2 work too.
- Choose the labels: whole numbers, decimals or fractions, and which ticks get a label.
- Add extras: points to mark, jumps to show counting, or an inequality.
- Pick the worksheet layout: paper, number of lines per page and an optional title.
- Press Download PDF to print, or save a PNG or SVG of a single line.
How the ticks are placed
Every tick value is start + k × step for k = 0, 1, 2 … until the end is reached, so the number of intervals is (end − start) ÷ step. From −5 to 5 with step 1 that is 10 intervals and 11 ticks. The generator works with exact fractions internally, so steps like 1/3 or 0.1 never drift: from 0 to 1 in tenths you get exactly 0, 0.1, 0.2 … 1.
Each tick sits at a distance proportional to its value: position = (value − start) ÷ (end − start) × line length. That is why 1/2 always lands exactly halfway between 0 and 1.
Fractions, decimals and mixed numbers
| Step | Ticks from 0 to 2 (mixed) | Same ticks as improper fractions | As decimals |
|---|---|---|---|
| 1/2 | 0, 1/2, 1, 1 1/2, 2 | 0, 1/2, 1, 3/2, 2 | 0, 0.5, 1, 1.5, 2 |
| 1/4 | 0, 1/4, 1/2, 3/4, 1, 1 1/4 … | 0, 1/4, 1/2, 3/4, 1, 5/4 … | 0, 0.25, 0.5, 0.75, 1, 1.25 … |
| 1/3 | 0, 1/3, 2/3, 1, 1 1/3 … | 0, 1/3, 2/3, 1, 4/3 … | 0, 0.333, 0.667, 1, 1.333 … |
| 1/8 | 0, 1/8, 1/4, 3/8, 1/2 … | 0, 1/8, 1/4, 3/8, 1/2 … | 0, 0.125, 0.25, 0.375, 0.5 … |
Fractions are always shown in lowest terms, so with a step of 1/8 the fourth tick reads 1/2, not 4/8. Choose Every 2nd or Minor ticks to keep a busy line readable.
Reading inequalities on a number line
| Inequality | Endpoint | Shaded part |
|---|---|---|
| x > 2 | Open circle at 2 | Everything to the right of 2 |
| x ≥ 2 (type x >= 2) | Closed circle at 2 | 2 and everything to the right |
| x < −1 | Open circle at −1 | Everything to the left of −1 |
| −3 < x ≤ 4 | Open at −3, closed at 4 | The segment between them |
Classroom ideas
- Skip counting: 0 to 30, jumps of 5 from 0, six jumps, shows 6 × 5 = 30.
- Subtraction: jumps from 12 with size −3 show 12 − 3 − 3 − 3 = 3.
- Integers: −10 to 10 with bold zero and points like −7 and 4 for comparing and ordering.
- Fill-in worksheet: labels on Only the ends, 6 lines per page, and students write the missing numbers.
Frequently asked questions
How do I make a fraction number line?
Set the step to a fraction, for example start 0, end 2 and step 1/4, and choose Fractions as the label style. The ticks are labeled 0, 1/4, 1/2, 3/4, 1, 1 1/4 and so on. Choose Improper to get 5/4 instead of 1 1/4.
How do I show an inequality on a number line?
Type it in the Inequality box, for example x > 2, x <= -1 or -3 < x <= 4. A shaded bar shows the solution; an open circle means the endpoint is not included (< or >) and a closed circle means it is included (≤ or ≥).
What are jumps used for?
Jumps (hops) show repeated addition or subtraction. Start 0, size 3 and 4 jumps draws arcs from 0 to 3, 6, 9 and 12, which illustrates 4 × 3 = 12. Use a negative size to show subtraction.
Can I make a blank number line for a worksheet?
Yes. Set Labels to Only the ends or None. Students then fill in the missing numbers. Print several lines per page with the Lines per page option.
What is the maximum number of ticks?
Up to 200 ticks per line, so you can draw 0 to 100 in ones or −10 to 10 in tenths. For longer ranges, use a bigger step or label every 5th or 10th tick.
Is it free to print and share?
Yes. Everything is generated in your browser, and the PDFs, PNGs and SVGs are yours to print and share with your class.