Inequality Calculator
Home/Calculator/Interval Notation Calculator
Free interval conversion with number line, set-builder, and set operations

Interval Notation Calculator

Convert between inequalities, interval notation, and number lines — instantly, with the bracket rules explained.

interval notation calculator with stepsinequality to interval notation calculatorunion intersection interval notation calculatorNumber Line Builder

Why this page is different

Acts as the inequality interval notation translation hub for the calculator series.
Handles both directions instead of only writing interval notation after another solver finishes.
Keeps inequality notation, interval notation, set-builder notation, and the number line together so endpoint mistakes are easier to catch.
Includes visual number-line input plus union and intersection mode for interval set operations.

Loading the interval notation calculator workspace...

Translation Hub

From which calculator did you come from?

Jump back to the solver that produced your boundary values, then return here to convert the answer into interval notation, inequality notation, and a number-line graph.

Compound inequality calculator

Bracket Decisioner

Bracket or Parenthesis? Click the Endpoint

Use this mini checker when the interval notation bracket parenthesis inequality number line connection feels fuzzy. Solid endpoints mean the boundary is included; open endpoints mean the boundary is excluded.

Infinity is never included — always use a parenthesis

Left endpoint

Includes this point (≥ or ≤)

Right endpoint

Infinity is locked to a parenthesis.

[+∞includedunbounded

Interval

[a, ∞)

Inequality

x ≥ a

Zone 3

Interval Notation Reference Chart

Use this reference chart when you need a fast bracket-versus-parenthesis check. The inequality, interval notation, set-builder notation, and number-line shape should all tell the same story.

x > a

Interval

(a, +∞)

Number line

空心圆→右箭头

Load example

x ≥ a

Interval

[a, +∞)

Number line

实心圆→右箭头

Load example

x < a

Interval

(-∞, a)

Number line

左箭头→空心圆

Load example

x ≤ a

Interval

(-∞, a]

Number line

左箭头→实心圆

Load example

a < x < b

Interval

(a, b)

Number line

空心圆-空心圆

Load example

a ≤ x ≤ b

Interval

[a, b]

Number line

实心圆-实心圆

Load example

x < a or x > b

Interval

(-∞, a) ∪ (b, +∞)

Number line

两段各自延伸

Load example

a < x ≤ b

Interval

(a, b]

Number line

○══════●

Load example

a ≤ x < b

Interval

[a, b)

Number line

●══════○

Load example

x ≤ a or x ≥ b

Interval

(-∞, a] ∪ [b, +∞)

Number line

←══● ●══→

Load example

x ≠ a

Interval

(-∞, a) ∪ (a, +∞)

Number line

←══○ ○══→

Load example

All reals

Interval

(-∞, +∞)

Number line

←════════→

Load example

No solution

Interval

Number line

────────

Load example

Zone 4

How to Use the Interval Notation Calculator

This interval notation calculator is built as the translation hub for the inequality calculator series. It handles the exact conversion tasks that cause the most confusion in algebra, precalculus, and calculus: converting inequality interval notation, translating interval notation back into inequality form, deciding whether an endpoint should be open or closed, handling infinity correctly, and combining intervals with union or intersection.

The hero workspace separates the jobs that students often mix together. In inequality-to-interval mode, the page reads a solved inequality, a compound inequality, or a simple not-equal statement and turns it into interval notation, set-builder notation, and a number line. In interval-to-inequality mode, the page reverses that process and shows how each bracket or parenthesis maps back to a strict or inclusive inequality sign. The visual number line builder lets you choose the shape first, then sends the generated interval into the same converter.

The result area is designed to make notation choices visible. The Result tab summarizes the conversion and the endpoint rules, the Number Line tab makes the set visual, the Steps tab explains the reasoning in plain English, and the All Notations tab lines up inequality notation, interval notation, set-builder notation, and the graph at once. That side-by-side structure is the fastest way to catch bracket mistakes before they become homework mistakes.

01

Choose the source: inequality to interval notation, interval notation to inequality, visual number line builder, or interval union/intersection.

02

Enter the expression directly, use the interval keyboard for symbols like ∞, ∪, ∩, brackets, or parentheses, build the number line visually, or tap one of the guided examples.

03

Read the result cards together: inequality notation, interval notation, set-builder notation, endpoint rules, and the number line should all agree.

04

Use the steps tab to see why the endpoints are open or closed, then verify the answer on the number line before copying it.

What Is Interval Notation?

Interval notation is a compact way to describe sets of real numbers. Instead of writing a sentence such as all x greater than 3, you can write (3, +∞). Instead of writing -1 < x ≤ 5, you can write (-1, 5]. The notation is short, but it still contains all the information about whether endpoints are included, excluded, bounded, or unbounded.

The notation belongs to the real number line. Each interval represents a continuous stretch of values, a union of continuous stretches, all real numbers, or the empty set. That is why interval notation appears so often in inequality solving, domain and range work, calculus, and set notation. It is not a different answer from inequality notation. It is the same answer written more efficiently.

Students usually struggle with interval notation because the symbols carry meaning in both directions. Parentheses and brackets tell you whether an endpoint is open or closed, while infinity tells you the set never stops in that direction. Once those three ideas are clear, interval notation becomes one of the easiest ways to read a solution set quickly.

Open vs Closed Intervals: Parentheses and Brackets Explained

An open interval uses parentheses and excludes the endpoint. For example, (a, b) means a < x < b, so neither a nor b is part of the set. A closed interval uses brackets and includes the endpoint. For example, [a, b] means a ≤ x ≤ b, so both endpoints stay in the solution.

Mixed intervals combine those rules. The interval (a, b] means the left endpoint is open and the right endpoint is closed, while [a, b) means the left endpoint is closed and the right endpoint is open. That one-symbol difference is what separates x < 5 from x ≤ 5, so a bracket mistake changes the actual solution set.

A reliable memory rule is this: parentheses mean the point is not included, brackets mean the point is included. On the number line that becomes an open circle for parentheses and a closed circle for brackets. The symbol on the page and the marker on the graph should always match.

Open interval

Endpoints excluded, so use strict signs.

Closed interval

Endpoints included, so use inclusive signs.

Left open, right closed

Exclude a, include b.

Left closed, right open

Include a, exclude b.

How to Convert an Inequality to Interval Notation

To convert an inequality into interval notation, first identify the boundary values. For x > 3, the boundary is 3. For -1 < x ≤ 5, the boundaries are -1 and 5. Those values become the endpoints of the interval.

Next decide whether each endpoint is open or closed. Strict inequalities, < and >, use parentheses because the endpoint is excluded. Inclusive inequalities, ≤ and ≥, use brackets because the endpoint is included. If the solution extends forever to the left or right, use -∞ or +∞ with parentheses.

Finally write the interval from left to right on the number line. A single bounded solution such as -1 < x ≤ 5 becomes (-1, 5]. A right ray such as x ≥ 3 becomes [3, +∞). A split answer such as x < -3 or x > 7 becomes (-∞, -3) ∪ (7, +∞).

How to Convert Interval Notation to an Inequality

To convert interval notation back into an inequality, read each endpoint symbol first. A parenthesis means the endpoint is not included, so it becomes a strict sign. A bracket means the endpoint is included, so it becomes an inclusive sign.

Then read the direction of the interval. A bounded interval such as [-1, 5) becomes -1 ≤ x < 5 because x stays between the two endpoints. An interval with infinity has only one finite boundary, so (3, +∞) becomes x > 3 and (-∞, -2] becomes x ≤ -2.

If the interval uses a union symbol, convert each piece separately and combine them with OR. For example, (-∞, -3) ∪ (7, +∞) becomes x < -3 or x > 7. The union symbol means the solution can live in either interval.

Interval Notation with Infinity

Infinity is not a real number, so interval notation never treats it like a reachable endpoint. That is why both +∞ and -∞ always use parentheses. Even if an inequality is x ≥ 3, the interval [3, +∞) still ends with a parenthesis on infinity.

The same rule works in the other direction. If you see (-∞, 2], the finite endpoint 2 is closed because x can actually equal 2, but the negative infinity side must stay open because the interval continues forever and never reaches a smallest real number.

All real numbers are written as (-∞, +∞). That notation does not mean the set includes infinity itself. It means the set extends without bound in both directions. Students often remember the bracket rule but forget the infinity exception, so it is worth treating as a separate rule every time.

Union and Intersection of Intervals

Union uses the symbol ∪ and means OR. If a value belongs to interval A or interval B or both, it belongs to A ∪ B. On the number line, union makes the highlighted region larger because it keeps every point that appears in at least one interval.

Intersection uses the symbol ∩ and means AND. A value belongs to A ∩ B only if it lies in both intervals at the same time. On the number line, that usually makes the highlighted region smaller because only the overlap survives.

When intervals overlap, union can merge them into one larger interval while intersection can isolate the shared middle. When intervals do not overlap at all, union keeps both pieces and intersection becomes the empty set. Those are the same OR and AND ideas students already know from compound inequalities.

Compound Inequalities and Interval Notation

Compound inequalities usually translate into either a single bounded interval or a union of two outer rays. An AND inequality such as -1 < x ≤ 5 keeps the overlap of two conditions, so its interval notation is a single bounded interval, (-1, 5].

An OR inequality behaves differently. The statement x < -3 or x > 7 keeps values on either outer side, so the answer is a union: (-∞, -3) ∪ (7, +∞). The union symbol is the interval-notation version of the word OR.

Not-equal statements are another special compound pattern. The inequality x ≠ 2 means every real number except 2, so it becomes (-∞, 2) ∪ (2, +∞). The number line looks continuous except for one open hole at the excluded point.

Set-Builder Notation vs Interval Notation

Set-builder notation describes the same solution set in sentence form. The expression { x | -1 < x ≤ 5 } reads as the set of all x such that -1 < x ≤ 5. Interval notation compresses that same information into symbols by writing (-1, 5].

The advantage of set-builder notation is that the condition stays explicit. The advantage of interval notation is that the number-line structure becomes obvious at a glance. Strong students learn to move between both forms because textbooks, exams, and calculus problems use them interchangeably.

A useful checking strategy is to compare three forms at once: inequality notation, interval notation, and set-builder notation. If one form says the endpoint is included and another form says it is not, the mismatch becomes easy to spot before you move on.

Interval Notation Examples with Solutions

Example 1Basic

x ≥ 3 → [3, ∞)

≥ includes endpoint → bracket [. The finite endpoint 3 is part of the solution, while infinity still uses a parenthesis.

Interval

Inequality

Load this example
Example 2Basic

x < 5 → (-∞, 5)

The solution runs left forever, so -∞ uses a parenthesis. The strict sign excludes 5, so the finite endpoint also uses a parenthesis.

Interval

Inequality

Load this example
Example 3Basic

-2 ≤ x ≤ 4 → [-2, 4]

Both endpoints are included because both inequality signs are inclusive, so both sides use brackets.

Interval

Inequality

Load this example
Example 4Intermediate

x < -1 or x ≥ 6 → (-∞, -1) ∪ [6, ∞)

OR becomes the union symbol. The left branch excludes -1, while the right branch includes 6. For more OR/AND patterns, use the compound inequality calculator.

Interval

Inequality

Load this exampleOpen compound inequality calculator
Example 5Intermediate

OR becomes union

OR keeps either outer branch, so the interval notation uses the union symbol ∪.

Interval

Inequality

Load this example
Example 6Intermediate

Union merges overlap

These intervals overlap, so the union becomes one larger interval, (-2, 8].

Interval

Inequality

Load this example
Example 7Intermediate

Intersection keeps only overlap

The shared part starts at 3 and ends at 5. The result is [3, 5).

Interval

Inequality

Load this example
Example 8Advanced

Disjoint intervals produce the empty set

No value can be less than 4 and greater than 6 at the same time, so the intersection is ∅.

Interval

Inequality

Load this example

Frequently Asked Questions

When do you use a bracket vs a parenthesis in interval notation?

Use a bracket when the endpoint is included, which matches ≤ or ≥. Use a parenthesis when the endpoint is excluded, which matches < or >.

Why does infinity always use a parenthesis?

Infinity is not a real endpoint you can reach or include. That is why -∞ and +∞ always use parentheses, even when the finite endpoint uses a bracket.

What does the union symbol (∪) mean in interval notation?

The union symbol means OR. A value is part of the solution if it belongs to the interval on the left, the interval on the right, or both.

How do you write "all real numbers except one value" in interval notation?

Split the number line around the excluded value. For example, all real numbers except 3 is written as (-∞, 3) ∪ (3, +∞).

What's the difference between interval notation and set-builder notation?

Interval notation compresses the solution into number-line endpoints, such as [-2, 4]. Set-builder notation states the condition as a set, such as {x | -2 ≤ x ≤ 4}.

Can interval notation represent a single point or an empty set?

Yes. A single point can be written as [a, a], while no solution is written as ∅.

What is interval notation in math?

Interval notation is a compact way to describe a set of real numbers using parentheses, brackets, commas, infinity symbols, and sometimes union symbols.

What is the difference between interval notation and inequality notation?

Inequality notation states the condition directly, such as x > 3, while interval notation writes the same solution set as (3, +∞).

What are the four types of intervals?

The four basic bounded interval types are open, closed, left-open right-closed, and left-closed right-open.

What is set-builder notation and how does it relate to interval notation?

Set-builder notation writes the condition as a set, such as {x | -1 < x ≤ 5}, while interval notation compresses the same set as (-1, 5].

What does a parenthesis mean in interval notation?

A parenthesis means the endpoint is excluded from the set, which matches a strict inequality such as < or >.

What does a bracket mean in interval notation?

A bracket means the endpoint is included in the set, which matches an inclusive inequality such as ≤ or ≥.

Why does infinity always use parentheses in interval notation?

Infinity is not a real endpoint that can be reached or included, so it always uses parentheses.

Can you use a bracket with infinity? (e.g., [3, ∞])

No. A finite endpoint such as 3 can use a bracket, but infinity itself must always use a parenthesis.

How do you convert an inequality to interval notation?

Find the boundary values, decide whether each endpoint is open or closed, and write the interval from left to right using parentheses, brackets, and infinity when needed.

How do you convert interval notation to an inequality?

Read each endpoint symbol first: parentheses become strict signs, brackets become inclusive signs, and infinity creates an unbounded inequality.

How do you write x > 3 in interval notation?

x > 3 becomes (3, +∞) because 3 is excluded and the solution extends forever to the right.

How do you write x ≤ -2 in interval notation?

x ≤ -2 becomes (-∞, -2] because the interval extends left without bound and includes -2.

How do you write -1 < x ≤ 5 in interval notation?

It becomes (-1, 5] because -1 is open and 5 is closed.

How do you write a compound inequality in interval notation?

An AND compound inequality usually becomes one bounded interval, while an OR compound inequality usually becomes a union of two intervals.

What does the union symbol ∪ mean in interval notation?

The union symbol means OR. A value belongs to the final set if it is in either interval.

How do you find the union of two intervals?

Keep every point that belongs to at least one interval, and merge the intervals if they overlap or touch through an included endpoint.

How do you find the intersection of two intervals?

Keep only the overlap shared by both intervals. If no overlap exists, the result is the empty set.

What is the intersection of (-2,5) and [3,8]?

The intersection is [3, 5) because 3 is included in both sets, while 5 is excluded by the first interval.

How do you write all real numbers in interval notation?

All real numbers are written as (-∞, +∞).

How do you write no solution in interval notation?

No solution is written as ∅, the empty set.

How do you write x ≠ 2 in interval notation?

x ≠ 2 becomes (-∞, 2) ∪ (2, +∞) because every real number works except 2 itself.

Keep Exploring

Related calculators