Skip to content
Number Line Generator

Make a printable number line with negatives, decimals or fractions

Set any start and end — −10 to 10, 0 to 1 in tenths, 0 to 2 in quarters — choose how many divisions sit between the labelled marks, and put up to ten identical lines on one A4 sheet. Labels can be printed, left as empty boxes for pupils to fill in, or dropped entirely. The arithmetic runs on exact fractions rather than decimals, so the last mark lands on the end of the line. Nothing is uploaded or saved.

  • Nothing is uploaded or saved
  • Works offline

In the print dialog set Paper: A4 and Scale: 100% — never “Fit to page”. Each line is drawn 253 mm long, with 25.3 mm between labelled marks. Measure one gap to confirm nothing was scaled.

Range

Labels

Sheet

NameDate-5-4-3-2-1012345-5-4-3-2-1012345-5-4-3-2-1012345-5-4-3-2-1012345
Lines
4
Line length
253 mm
Between labels
25.3 mm
Small mark worth
no small marks

How it works

  1. 1

    Type the range the way you would write it on the board

    Start, end and interval each accept whole numbers, negatives, decimals and fractions — so −5, 0.25, 3/4 and even a mixed number like 1 1/2 are all valid. Eight presets cover the ranges that come up most: 0–10, 0–20, −10 to 10, 0 to 1 in tenths, 0 to 1 in quarters. The interval has to divide the range evenly; if it does not, the tool says so in a sentence rather than drawing a line whose last mark falls short of the end.

  2. 2

    Decide what the small marks are worth

    Between each labelled mark you can place 2, 4, 5 or 10 unlabelled divisions, and the tool tells you what one of them is worth in the number style you have chosen. This is where a number line earns its keep: a line from 0 to 1 labelled only at 0, 1/2 and 1, with five divisions between each, is a line about tenths that never prints the word tenth. The small marks are drawn shorter and lighter than the labelled ones so the two never get confused.

  3. 3

    Choose whether the sheet is a reference or the exercise

    Labels on every mark makes a display line or a desk reference. Ends only gives pupils the two anchors and nothing else, which is the version for estimating and for placing a value on an unmarked line. Empty boxes prints a small box under every labelled mark instead of the number — the same line, turned into a fill-in exercise. No labels at all leaves a clean line for you to annotate by hand before copying.

  4. 4

    Put several lines on the page

    One number line on an A4 sheet uses about a tenth of the paper. Up to ten identical lines fit, spread evenly down the sheet, so one print gives you strips to cut up for a table group, or several attempts at the same task, or a line per question. Landscape is the default orientation here because a longer line means more room between marks, and the space between marks is what makes a number line readable at the back of a classroom.

  5. 5

    Print at 100% and check one gap

    Set the paper to A4 and the scale to 100% rather than any of the “fit” options, which shrink the page by a few percent to dodge the printer’s unprintable edge. The tool prints the exact distance between two labelled marks — measure one of those gaps on the paper. It is a better check than measuring the whole line, because a scaling error of two or three percent is easy to miss across 260 mm and obvious across a single 26 mm gap when the ruler says 25.

Frequently asked questions

Why do so many number line tools get 0 to 1 in tenths wrong?

Because computers cannot store 0.1 exactly. In binary floating point, 0.1 is a recurring value that gets rounded, so adding it ten times gives 0.9999999999999999 rather than 1, and the check “have we reached the end?” fails on the last mark. What you see is a line with nine divisions instead of ten, or a final tick sitting a hair inside the arrowhead, or a label reading 0.7000000000000001. This tool never adds decimals: every value you type is converted to a whole-number fraction — 0.1 becomes 1/10 — and every position is computed as an exact ratio, with a decimal appearing only at the very end when a coordinate is written to the page. It is the same discipline the loan calculators on this site use to keep a 360-month schedule ending at exactly zero.

How do I show a number line that crosses zero?

Type a negative start: −10 to 10, or −5 to 5, or −20 to 20 in twos. The line is drawn as one continuous axis with zero wherever it falls, which for a symmetric range is the middle, and the negative labels carry their minus signs. If you want pupils to work out where zero is, use “Ends only” so the line shows −5 and 5 and nothing between, or “Empty boxes” so every labelled position gets a box including zero. There is deliberately no special emphasis on zero — no thicker tick, no different colour — because the point of a number line crossing zero is that zero is one number among the others rather than a boundary, and printing it differently teaches the opposite.

Can I show fractions rather than decimals?

Yes, and the labels are printed as mixed numbers. A line from 0 to 2 in halves reads 0, 1/2, 1, 1 1/2, 2 — not 0/2, 1/2, 2/2, 3/2, 4/2, which is what you get from a tool that formats every value the same way. Values that land on a whole number lose their fraction entirely, and fractions are reduced, so a line in quarters labels the halfway point 1/2 rather than 2/4. Type intervals as fractions too: 1/4, 1/3, 1/8. Thirds and sixths are worth pointing out, because they cannot be written exactly as decimals — a line from 0 to 1 in thirds is exact in fraction mode and rounds to 0.333 and 0.667 in decimal mode, which is a fine illustration of why fractions exist and a poor label if you did not intend it.

What is the “empty boxes” mode for?

It prints the line, the marks and a small empty box under every labelled position, so the sheet becomes the exercise rather than the answer. It is the version to use for assessing whether a pupil can place values on a line they have not been given, and it works particularly well combined with divisions: labelled positions every 1 with five divisions between gives a line where the boxes are whole numbers and the small marks are fifths, and filling in the boxes requires counting the divisions rather than remembering the sequence. The boxes are drawn on every labelled position including the two ends, on purpose — a line that hands you its first and last values has already answered most of the question.

How long is the line, and how do I check it printed correctly?

The line is drawn across the full width of the page inside your margins, less a small pad at each end so the arrowheads and the outermost labels are not clipped. On A4 landscape with 15 mm margins that comes to 253 mm; the tool prints the exact figure, along with the distance between two labelled marks. Measure a single gap between labelled marks rather than the whole line: a print dialog set to “fit to page” typically shrinks by three to six percent, which is 8 to 15 mm across a full line and easy to argue with, but on a 25 mm gap it shows up as a clean millimetre and there is nothing to argue with.

Why is there a limit on how many marks I can put on one line?

Sixty labelled marks and four hundred marks in total, and both limits are about the paper rather than the software. A labelled mark needs roughly 8 mm of horizontal room before the numbers start touching each other; across a 253 mm line that is about thirty comfortably and sixty at the point where two-digit labels collide. Small division marks need about 0.6 mm to stay separable at normal line weights. Past those numbers the tool would happily draw something, and it would be an unreadable grey band rather than a number line. If you need 0 to 100 in ones, the answer is usually two sheets of 0–50, or one line labelled every 10 with ten divisions between — which is the same information and can actually be read.

Why is landscape the default here when the other sheets are portrait?

Because a number line is one long horizontal thing and everything useful about it scales with its length. On A4 portrait the line is 180 mm; on landscape it is 267 mm, half as long again, and that extra length goes straight into the space between marks — which is the only thing that decides whether the line is readable from a distance or has to be held at arm’s length. Portrait is still there and is the right choice when you want many short lines on one sheet, or when the sheet is going into a portrait workbook alongside other work. Either way the marks are positioned by the same arithmetic; only the width they are spread across changes.

Can I add my own instruction to the sheet?

There is a single instruction line printed once at the top — enough for “Mark 3/4 on each line” or “Estimate where 0.35 goes” — plus an optional name and date row. It is deliberately one line rather than a rich text box. A worksheet generator that grows a question editor becomes a worksheet generator that people fight with, and the thing this page does well is get the geometry of the line exactly right; the wording around it is usually easier to add by hand, or in the document you are pasting the downloaded SVG into.