Free to use, no account

Number Line Generator

Plot interval notation and points on a clear, downloadable number line.

Examples: (1, 3], [-2, 4), [1/2, 2], 5, (-∞, 3], [0, ∞).

Up to 20 rows. Fractions are placed as decimal coordinates for drawing. This tool plots intervals; it does not solve inequalities.

How do I graph an interval on a number line?

Enter one interval per line, such as (1, 3]. Use square brackets for included endpoints and parentheses for excluded endpoints. Fractions and one-sided infinity are supported.

Frequently asked questions

How do I graph an interval on a number line?

Enter one interval per line, such as (1, 3]. Use square brackets for included endpoints and parentheses for excluded endpoints. Fractions and one-sided infinity are supported.

Are my intervals uploaded?

No. The graph is generated in this browser; your input is not sent or stored.

What do open and closed circles mean?

A hollow circle excludes that endpoint; a filled circle includes it.

Can I plot fractions or infinity?

Yes. Fractions are converted to decimal positions for the drawing. Infinity is allowed only as an open outside endpoint.