Interval Notation Calculator
Build interval notation from endpoints and inclusivity.
Interval notation compactly describes a range of numbers using brackets and parentheses.
The math behind it
Square brackets [ ] include the endpoint; parentheses ( ) exclude it. So [2, 5) means 2 ≤ x < 5.
Worked example
Lower 2 included, upper 5 excluded → [2, 5).
FAQ
How do I write 'all reals'?
(−∞, ∞), always with parentheses since infinity is never included.