Tested tool guide
Tested browser tools
Checked August 16, 2026
What Number Line Generator does, with a checked example
This tool draws a horizontal number line to your specifications: a start and end value, a tick spacing, and what to write under the ticks - integers, decimals, fractions, or nothing. You can also mark one or more intervals with a colored band, and the finished line renders as a graphic, ready to print or drop into a worksheet. The thing people most often misjudge is the off-by-one: a setting that asks for a tick count usually means intervals, so ten ticks produce eleven marks. And a fraction label lands exactly on a tick only when the fraction is a whole multiple of the step you chose.
Worked example
A concrete input and expected output from the current implementation.
Input
Line from -1 to 1, tick every 0.25, label every 4th tick as a decimal, highlight the interval from -0.5 to 0.5
->
Expected output
A horizontal number line with nine ticks at -1, -0.75, -0.5, -0.25, 0, 0.25, 0.5, 0.75, 1; labels under -1, 0, and 1 only; and a filled band covering the four intervals between -0.5 and 0.5.
The range is 2 units wide and the step is 0.25, so the line holds 8 intervals and 9 ticks. The band starts at the third tick and ends at the seventh, covering 4 of the 8 intervals, exactly half the line.