Solve interval endpoints, midpoint, radius, containment, and overlaps clearly. Built for quick maths checks fast. See graph output, exports, examples, and practical interval insights.
Use the main interval fields to build a closed interval. The optional point and optional comparison interval add more analysis.
Closed interval: If the entered endpoints are a and b, then the normalized closed interval is [min(a,b), max(a,b)].
Length: Length = upper bound - lower bound
Midpoint: Midpoint = (lower bound + upper bound) / 2
Radius: Radius = (upper bound - lower bound) / 2
Point membership: A point x belongs to the interval if lower ≤ x ≤ upper.
Intersection: For [a,b] and [c,d], the intersection exists when max(a,c) ≤ min(b,d).
Union: If intervals overlap or touch, the union is [min(a,c), max(b,d)]. Otherwise, the union remains two separate closed intervals.
| Main endpoints | Closed interval | Length | Midpoint | Test point | Membership |
|---|---|---|---|---|---|
| 2 and 8 | [2, 8] | 6 | 5 | 6 | Inside |
| 9 and 3 | [3, 9] | 6 | 6 | 10 | Outside |
| -4 and 1.5 | [-4, 1.5] | 5.5 | -1.25 | -2 | Inside |
A closed interval includes both endpoints. The notation uses square brackets, such as [a, b], meaning every value from a through b is included.
The calculator automatically normalizes them. For example, entering 9 and 3 becomes the valid closed interval [3, 9].
The length is the upper bound minus the lower bound. For [2, 8], the length is 8 - 2 = 6.
The midpoint shows the center of the interval. It helps when you want a balanced representative value between the bounds.
The radius is half of the interval length. It measures how far each endpoint is from the midpoint.
The calculator checks whether the optional test point satisfies lower ≤ x ≤ upper. If true, the point belongs to the closed interval.
Yes. Enter the optional comparison interval to find the relation, overlap, intersection, and union between the two intervals.
Large intervals may contain many integers. To keep results readable, the calculator shows a preview when the list becomes long.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.