Number line generator

Enter the smallest and largest number and the step between ticks. Choose how often a tick is labelled, mark any points and print. Tick Leave numbers blank to make a worksheet where students fill the numbers in.

Numbers separated by commas, for example 3.5, 7. Points outside the range are ignored.

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter where the line starts and ends and the step between ticks.
  2. Choose how often ticks carry a number; add points to mark, such as 3.5.
  3. Tick Leave numbers blank for a fill-in worksheet, then print.

How it works

The number of intervals is the range divided by the step, rounded down; tick i is at start + i × step, written with as many decimals as the step or start needs. Tick positions along the line are proportional to the value.

Example

Start 0, end 1, step 0.1, labelled every 5th tick: 11 ticks, with numbers 0.0, 0.5 and 1.0 shown.

Tips

  • For fractions practice, use a step of 0.25 or 0.5 and ask students to give the fraction.
  • A range from −10 to 10 in steps of 1 is good for adding and subtracting negatives.

Frequently asked questions

Can I make a number line with decimals or negatives?

Yes. Steps such as 0.1 or 0.25 and ranges that go below zero work. Ticks are counted as whole steps from the start, so 0.1 steps do not drift (0.1 + 0.2 never shows as 0.30000000000000004).

How do I label only some ticks?

Set Label every n-th tick. For 0 to 100 in steps of 5, a value of 2 labels 0, 10, 20 and so on. The first tick is always labelled.

What is the maximum number of ticks?

200. With more ticks the labels would overlap on a printed page; use a larger step.

How do I make a worksheet?

Tick Leave numbers blank. The ticks and any marked points are drawn without numbers, so students can write the values or the point they read.

More in Education

All tools in this category: Education ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.