Home › Calculators › Number Line Generator

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.

Last updated:

Worksheet page

Number line

Worksheet page

Advertisement
Advertisement

How to use the Number Line Generator

  1. Set the range: start, end and step. Fractions such as 1/4 and mixed numbers like 1 1/2 work too.
  2. Choose the labels: whole numbers, decimals or fractions, and which ticks get a label.
  3. Add extras: points to mark, jumps to show counting, or an inequality.
  4. Pick the worksheet layout: paper, number of lines per page and an optional title.
  5. 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

StepTicks from 0 to 2 (mixed)Same ticks as improper fractionsAs decimals
1/20, 1/2, 1, 1 1/2, 20, 1/2, 1, 3/2, 20, 0.5, 1, 1.5, 2
1/40, 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/30, 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/80, 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

InequalityEndpointShaded part
x > 2Open circle at 2Everything to the right of 2
x ≥ 2 (type x >= 2)Closed circle at 22 and everything to the right
x < −1Open circle at −1Everything to the left of −1
−3 < x ≤ 4Open at −3, closed at 4The 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.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Fraction CalculatorAdd, subtract, multiply and divide fractions with steps.Multiplication Table GeneratorPrintable multiplication charts up to 30 × 30, single tables and practice sheets.Times Tables PracticeTimed times tables drills with a number pad, streaks and an accuracy heatmap.Graphing CalculatorPlot multiple functions with zoom, pan, intersections and a value table.Compare Fractions CalculatorCompare two or more fractions with <, > or = and put them in order, with steps.Coordinate Plane PlotterPlot points, segments and polygons on an interactive coordinate grid, or print blank planes.Domain and Range CalculatorFind the domain and range of a function in interval notation, with steps and a graph.Hundreds Chart GeneratorPrint 1-100 or 1-120 charts: full, blank or with missing numbers, with highlighted patterns.Percentage CalculatorWork out percentages, increases and decreases.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Percentage Difference CalculatorFind the percent difference between two values, with the formula.Ratio CalculatorSimplify, solve and scale ratios with step-by-step working.Proportion CalculatorSolve A/B = C/D for x with cross multiplication steps.Scientific CalculatorTrig, logs, powers and more in your browser.Fraction VisualizerInteractive fraction circles and bars: equivalents, comparing, adding and simplifying.Significant Figures CalculatorCount sig figs, round to any number of significant figures and do arithmetic with sig fig rules.Scientific Notation ConverterConvert numbers to and from scientific, engineering and E-notation, with exact digits and SI prefixes.Caffeine CalculatorAdd up daily caffeine, compare it with 400 mg and see how much is left at bedtime.Percent Error CalculatorPercent error between experimental and theoretical values, for one result or several trials.Rounding CalculatorRound to decimal places, significant figures or the nearest 10, 100 or 0.5, any rule.Long Division CalculatorDivide with quotient, remainder, decimals and a step-by-step long division layout.Cube Root CalculatorFind cube roots and nth roots, check perfect cubes and simplify radicals.2-Stroke Oil Mix CalculatorHow much 2-stroke oil to add to gas for 50:1, 40:1, 32:1 and more, in fl oz or ml.Math Worksheet GeneratorCreate printable addition, subtraction, multiplication and division worksheets with answer keys.Simplify Fractions CalculatorReduce any fraction to lowest terms with GCD steps, mixed number, decimal and equivalents.Complex Number CalculatorAdd, subtract, multiply, divide complex numbers; polar form, modulus, argument, powers and roots.Big Number CalculatorExact + − × ÷ mod and powers for huge integers with hundreds of digits, plus digit count.Three-Phase Power CalculatorkW, kVA and kVAR from volts, amps and power factor, or three-phase current from kW or kVA.Compression Ratio CalculatorStatic engine compression ratio from bore, stroke, chamber, gasket, deck and piston volume.Expanded Form CalculatorWrite any number or decimal in expanded form, word form and a place value chart.Mixed Number CalculatorAdd, subtract, multiply and divide mixed numbers, or convert improper fractions, with steps.Nth Root CalculatorAny root of any number: real nth root, simplified radical and all complex roots.Matrix Multiplication CalculatorMultiply matrices up to 8×8 with every dot product shown, exact fractions and a size check.Order of Operations Calculator (PEMDAS)Solve arithmetic expressions step by step with PEMDAS/BODMAS, brackets, powers and fractions.Virtual Base Ten BlocksDrag ones, rods, flats and cubes onto a place value mat to model regrouping, addition and subtraction.Equivalent Fractions CalculatorList equivalent fractions, check if two are equal, or find a missing number, with bars.Map Scale CalculatorConvert map distance to real distance and back for scales like 1:24,000 or 1 in = 1 mi.Math Formulas Cheat SheetSearchable algebra, geometry, trig, calculus and statistics formulas with a printable sheet.Rationalize the Denominator CalculatorRemove square roots and cube roots from a denominator, with conjugates and full steps.Reverse Percentage CalculatorFind the original value before a percentage increase or decrease, or the whole from a part.Riemann Sum CalculatorLeft, right, midpoint and trapezoid sums of f(x) on [a, b] with a table and rectangle graph.Sum CalculatorPaste any list or column of numbers to get the total, count, average, min and max instantly.Unit Rate CalculatorFind the unit rate (per 1) from two quantities, compare rates and see the steps.Number Properties CalculatorIs it prime, perfect, square, triangular or Fibonacci? See every property of a number.Paper Tape CalculatorAdding machine calculator with a running paper tape: edit entries, subtotals, notes, print or export.Pi Digits CalculatorCalculate π to up to 100,000 digits, find any number or your birthday in pi, and download it.PSAT Score CalculatorEstimate your PSAT/NMSQT section scores, total score and National Merit Selection Index.Rational Expressions CalculatorSimplify, add, subtract, multiply and divide rational expressions with excluded values.
See all 46 Arithmetic & Number Calculators →