Number Line Generator
Build a custom number line with any range, increment, or fraction step — add points or shade inequalities, then download it as an image. Need a problem explained instead? Try the AI math solver.
No account required · Integers, fractions, decimals, negatives & inequalities
Tip: use negative numbers freely, e.g. start −10, end 10
Worksheet pack ready: 10 number lines generated from your settings, with answer key.
Includes blank, labeled, and point-marked versions sized for printing — plus a matching practice sheet.
Format: Print-ready PDF · Includes: Answer key
From blank canvas to printable number line in seconds
Set your range
Enter a start and end value — negatives, large ranges, or tight intervals all work the same way.
Pick the increment
Choose whole numbers, fractions like fourths or eighths, or decimals such as 0.25 steps.
Add points or shading
Mark specific values with labels, or shade a range with open/closed endpoints for inequalities.
Download or print
Export as a clean PNG sized for worksheets, or use the main solver to check related problems.
Any range, instantly
Negative-to-positive, decimals, or huge spans — type a start and end value and the scale rebuilds itself live.
True fraction increments
Generate number lines in halves, thirds, fourths, eighths, or tenths with correctly reduced fraction labels — not decimals pretending to be fractions.
Labeled points
Drop labeled points anywhere on the line — useful for plotting solutions, coordinates, or comparison values.
Inequality shading
Shade a range with open or closed circles at each end — exactly how inequality solutions are graphed in class. See a worked example on the solver.
Double number lines
Stack two related scales for ratio, percent, and unit-conversion problems where two quantities move together.
Print-ready export
Download a clean, high-contrast PNG sized for worksheets, slides, or whiteboard projection — no watermark.
One generator, every number line type
A generator built to handle real classroom needs
from blank scales to inequality shading
no watermark on downloads
to a downloadable image
This generator vs. other number line makers
Built for teachers, students, and homeschool parents
Building a worksheet for tomorrow
Set the range, toggle fraction mode, download the PNG, and drop it straight into a worksheet or slide deck.
Graphing an inequality for homework
Shade the solution range with the correct open or closed circle, then check the reasoning on the AI solver.
Teaching fraction placement
Build a fourths or eighths number line, add a point, and have your child identify or place the value.
Explaining ratios with a double line
Stack two scales to show how two related quantities move together — a clearer visual than a table alone.
How to Use a Number Line Generator the Right Way
A number line looks simple, but getting one that actually matches the problem in front of you — the right range, the right increments, the right notation for an inequality — takes more than a ruler and a pencil. A number line generator handles the scale math for you: it spaces every tick mark evenly, labels fractions correctly instead of rounding them into ugly decimals, and lets you mark or shade exactly what the problem asks for. This guide walks through how to set one up for the most common classroom and homework situations.
Start with the range, not the increment
The most common mistake when building a number line by hand is picking tick spacing before deciding how far the line needs to stretch. Set your start and end values first — for example −10 to 10 for a typical integer line, or 0 to 2 for a fraction line — and only then choose how finely it’s divided. This keeps the scale readable instead of cramming 40 tick marks into a line meant for a worksheet margin.
Choosing whole numbers, fractions, or decimals
Whole-number lines are the default for early arithmetic — counting, addition, subtraction, and basic inequalities. Once a class moves into fractions, a generic decimal-only tool stops being useful, because 1/3 doesn’t round cleanly to a decimal tick mark. A proper fraction number line generator divides the line into true fractional parts — halves, thirds, fourths, eighths, tenths — and labels each tick with the reduced fraction, not an approximation. Decimal mode is best for measurement contexts, like marking 0.25 increments on a line representing centimeters or dollars.
Pro tip: If a problem mixes wholes and fractions — like 1¾ — use fraction mode with a denominator that divides evenly into the value you need to plot. A fourths scale will place 1¾ exactly on a tick; an eighths scale gives more precision for values like 1⅜.
Plotting points accurately
When a problem asks you to mark a specific value — a coordinate, a data point, a solution to an equation — precision matters more than style. Enter the exact value (decimals and fractions both work) and an optional label, and the point snaps to its correct position on the scale automatically, rather than relying on a hand-drawn estimate that can throw off the whole diagram.
Graphing inequalities the standard way
Inequality number lines follow a specific convention that’s easy to get wrong by hand: an open circle (○) means the endpoint is not included (used for < and >), while a closed circle (●) means it is included (used for ≤ and ≥). The shaded segment shows every value that satisfies the inequality. A generator with separate left/right endpoint controls lets you set each side independently — necessary for compound inequalities like −2 ≤ x < 5, where one side is closed and the other is open.
- x > 3 — open circle at 3, shading extends right toward positive infinity
- x ≤ −1 — closed circle at −1, shading extends left toward negative infinity
- −4 < x ≤ 2 — open circle at −4, closed circle at 2, shading between them
When to use a double number line
A double number line stacks two related scales that move together — most often used for ratios, percentages, and unit conversion. If 5 miles corresponds to 8 kilometers, a double line lets students see both scales aligned, so reading across from one value to the other becomes a visual lookup rather than a calculation. This is especially useful in middle-school ratio and proportion units, where the relationship between two quantities is the whole point of the lesson.
Printable vs. on-screen number lines
For classroom worksheets, a downloaded image with high contrast and no watermark prints cleanly at any size. For homework checks or quick visual reference, the on-screen preview is often enough — no download needed at all. Either way, building the line digitally avoids the most common hand-drawn error: tick marks that drift slightly out of even spacing, which can make a number line genuinely misleading for younger students still learning to read scale.
Common number line mistakes to avoid
- Uneven tick spacing — every increment must represent the same distance, even when the numbers themselves are fractions or decimals.
- Mixing open and closed circles incorrectly — double-check which inequality symbol you’re graphing before shading.
- Skipping zero — if the range crosses zero, it should always appear as a labeled tick, not be absorbed into the spacing.
- Too many tick marks — a line with 50+ increments becomes unreadable; widen the increment or shorten the range instead.
Once the number line is built, the harder part for most students is the problem that produced it — figuring out where a fraction belongs, why an inequality flips when you divide by a negative, or how to convert a ratio into a usable scale. For that step, the free AI math solver on this site walks through the reasoning behind the answer, not just the final placement on the line.
Common questions
Build your number line in seconds
No signup. No subscription. Set the range and download.
Get the Worksheet Pack →