Several conditions, one scale — and the overlap read straight off the picture.
Graph several conditions together
One line, one scale — and the overlap read straight off it.
Up to six. Inequalities, intervals, absolute values — any form the notation page reads.
2 conditions on one line
(2, 7)
All of them hold on 2 < x < 7.
ALL — the overlap (∩)
(2, 7)
every condition holds here
ANY — the union (∪)
(−∞, ∞)
at least one condition holds here
Doing real work
2 of 2
the rest are implied by another
In conflict
0
no pair is contradictory
Every condition on one scale
One scale for every row, so a value sits at the same horizontal position throughout — which is what makes the overlap readable rather than guessed.
What each condition contributes
Each condition with its interval form and whether it narrows the answer
As typed
As an interval
Contribution
(1)
x > 2
(2, ∞)
This condition narrows the answer — removing it would let more values through.
(2)
x < 7
(−∞, 7)
This condition narrows the answer — removing it would let more values through.
Reading the drawing
A HOLLOW circle means the endpoint is excluded — that is < or >, and a round bracket.
An ARROW rather than a circle means the set runs on without an endpoint. Infinity is never circled, filled or otherwise, because it is not a number the set contains.
The rows share one scale, so a value is at the same horizontal position on every one of them. That is what makes the overlap readable by eye.
All 2 conditions hold together on (2, 7). Every one of them narrows the answer; none is redundant.
The two summary rows are computed from the same interval sets as the individual rows, so the picture and the notation cannot drift apart.
What this tool shows
Several conditions on one scale — with the overlap, the union, and a verdict on which ones are actually doing work.
Every condition on its own row, on one shared scale
The AND row — where all of them hold at once
The OR row — where any of them holds
A verdict per condition: narrowing, redundant, or in conflict
Up to six on one shared scale AND and OR rows computed Redundant and conflicting conditions named Free, no signup
Free, no signup — the picture and the notation come from the same sets.
Updated 7 September 2026 · Works in any browser, no installation
A number line is for COMPARING conditions, and comparison needs them all on one scale. x > 2 and x < 7 overlap on (2, 7), which you can read off the picture without solving anything.
At a glance
Formula shown
A point is in the AND row when every condition\u2019s row is shaded above it, and in the OR row when any is. A condition that contains another entirely adds no constraint.
Scenario support
Up to six conditions in one variable, in any written form.
Educational estimate
Planning support from the values you enter — not professional advice.
One scale is the whole point
Drawing each condition on its own little line tells you what you already knew. Drawing them on ONE line, stacked and aligned, tells you something new: where they overlap, and by how much.
x > 2 and x < 7 gives (2, 7). You can see it because a value sits at the same horizontal position on every row, so the overlap is a vertical strip rather than something to compute.
That is why the tool fixes one scale across all rows rather than letting each self-scale to its own endpoints. A row scaled to fit itself looks identical whether it is x > 2 or x > 2000, and comparison becomes impossible.
Filled, hollow, and the arrow
Three conventions carry most of the marks in this topic, and all three are about what the drawing claims at an endpoint:
A FILLED circle means the endpoint is included — that is ≤ or ≥, and a square bracket in interval notation.
A HOLLOW circle means the endpoint is excluded — that is < or >, and a round bracket.
An ARROW rather than a circle means the set runs on without an endpoint. Infinity is never circled, filled or otherwise, because it is not a number the set contains.
The rows share one scale, so a value is at the same horizontal position on every one of them. That is what makes the overlap readable by eye.
The arrow is the one people get wrong most often, by drawing a circle at the far end of a ray. There is nothing there to circle: the set has no last element, and marking one claims an endpoint that does not exist. This is the same fact that makes [3, ∞] wrong in interval notation.
Reading AND off the picture
A point satisfies every condition exactly when every row is shaded above it. So the AND row is the vertical intersection, and it can be read without any algebra at all.
x >= -3, x <= 4, x != 0 gives [−3, 0) ∪ (0, 4] — a band with a single point removed from the middle, which is much easier to see drawn than to hold in your head from the three conditions.
|x| < 3 and x > 0 shows that the input form does not matter: an absolute value and a plain inequality land on the same scale as ordinary shaded regions, and their overlap is (0, 3).
Conditions that are doing no work
This is the check worth having and the one a combined answer hides. x > 2 and x > 5 gives (5, ∞) — which is just the second condition. The first adds nothing.
All 2 conditions hold together on (5, ∞). 1 of them is doing no work — removing it would give the same answer.
Drawn, it is obvious: one row completely contains the other, so requiring both removes no point that the tighter one had not already removed. All 4 conditions hold together on (3, 8). 2 of them are doing no work — removing them would give the same answer.
Spotting this matters outside homework. A set of constraints with redundant members is a set you can simplify, and knowing WHICH ones are redundant tells you which constraints are actually binding.
When the rows never meet
x < 1 and x > 5 gives ∅. The rows have no common point, so nothing satisfies all 2 conditions at once — the AND row is empty. That is an answer, not a failure to solve.
The picture makes the reason immediate: the two shaded regions are on opposite sides of a gap, with no column where both are shaded. No amount of algebra will produce a solution, because there is nothing to produce.
The tool names the conflicting PAIR rather than only reporting that the whole system is empty. With two conditions that is the same information; with five it is not, and knowing which two are irreconcilable is what tells you which one to relax.
OR is a different row, and usually a bigger one
The union row answers a different question: where does at least one condition hold? For x < 1 and x > 5 that is (−∞, 1) ∪ (5, ∞) — two pieces, even though the AND row is empty.
That contrast is the clearest illustration of the difference between the two operations, and it is why both rows are drawn. The same pair of conditions can have an empty intersection and a union covering most of the line.
For x > 2 and x < 7 the union is (−∞, ∞) — everything, because between them the two rays cover the whole line. The AND row for the same pair is the narrow band (2, 7). Same two conditions, opposite answers, and the picture shows both at once.
The set-theoretic versions of these operations, on finite sets rather than intervals, are on the Union and Intersection Calculator, which verifies the same De Morgan laws that govern them here.
Sources and methodology
The notation and the graphing conventions are standard; the reference below carries the canonical statements.
Method. Every figure on this page comes from src/lib/graphing-inequalities-number-line.ts, which parses each condition through the same converter the Interval Notation Calculator uses and computes the AND and OR rows with the same exact interval algebra. The drawn rows and the printed notation come from one set of objects, so they cannot drift apart. Redundancy is decided by actual containment rather than by comparing endpoints. That engine is verified on every change against 55 hand-written assertions, including that the AND row is contained in every individual row, that the OR row contains all of them, and that a condition reported as redundant can be removed without changing the intersection. The count and the per-case breakdown are published on the formula verification page.
Related calculators
Where this goes next:
Interval NotationConvert between inequality, interval notation, set-builder form and a number-line graph in every direction, including absolute values, unions and the empty set.
Inequality to Interval NotationSolve a linear, chained or absolute-value inequality and write the answer in interval notation, with the sign flip marked at the step where it happens and exact fractional endpoints.
Graphing Quadratic InequalitiesSolve a quadratic inequality by sign chart rather than by four memorised cases, and shade the region for the two-variable form, with the repeated-root case where all four relations differ.
Union and IntersectionSix set operations on two or three sets at once, with the Venn regions, inclusion-exclusion checked against the real counts, and De Morgan verified on your own sets.
SubsetTest whether one set is a subset, a proper subset, equal or disjoint — and when the answer is no, name the exact element that breaks it.
System of EquationsSolve linear systems in up to six unknowns with exact fractions — row operations, the matrix form, Cramer’s rule, and the parametric family when there is no single answer.
This calculator plots up to six conditions in one variable on a shared number line and reports their intersection and union. Endpoints are exact rationals. It is a comparison tool: a condition that still needs solving — 2x + 3 < 7 rather than x < 2 — belongs on the inequality-solving page first, though simple forms are read directly.
Published the number-line page: up to six conditions on one shared scale, which is what makes an overlap readable rather than computed.
Reports a verdict per condition — narrowing, redundant, or in conflict — which is information the combined answer alone hides; a condition that contains another entirely is doing no work.
The AND and OR rows are drawn from the same interval sets that produce the printed notation, so the picture and the brackets cannot drift apart.
Add this calculator to your site
Responsive embed — and private: nothing your visitors type leaves their browser.