Interval Notation Calculator

Convert an inequality to interval notation. Enter the bounds and inequality type to get the interval, set notation, and number line.

Enter Inequality

Interval Notation Reference

NotationInequalityMeaning
(a, b)a < x < bOpen — endpoints excluded
[a, b]a ≤ x ≤ bClosed — endpoints included
[a, b)a ≤ x < bHalf-open — a included, b excluded
(a, +∞)x > aUnbounded right, open at a
(−∞, b]x ≤ bUnbounded left, closed at b