Interval Notation Calculator
Convert between interval notation and inequality notation, and visualize intervals on a number line.
Was this calculator helpful?
How to use this tool?
This calculator converts an interval (set of real numbers) into its inequality form and shows it on a number line.
- Choose brackets – Select
(or[for the left and right endpoints.[means the endpoint is included;(means it is excluded. - Enter values – Type the left and right numeric endpoints. Use decimals or integers as needed.
- Click "Calculate" – The result shows:
- The interval notation (e.g.,
(-2, 5]) - The corresponding inequality (e.g.,
-2 < x ≤ 5) - A number line with a blue segment and filled/empty circles for included/excluded endpoints
- The interval notation (e.g.,
Rules:
- Left value must be ≤ right value.
- For a single point (left = right), both brackets must be
[and]. - Any real numbers are accepted (no metric/imperial units).
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
Interval notation is a way to represent a set of real numbers using brackets and parentheses. For example, [a,b] includes all numbers between a and b, including a and b.
A parenthesis ( or ) means the endpoint is not included (open interval). A bracket [ or ] means the endpoint is included (closed interval).
Currently, this calculator handles finite intervals. For infinite intervals (using ∞), you would need a separate tool.