How this calculation works
An interval represents every value between its lower and upper endpoints. Interval arithmetic produces bounds containing all possible operation results when the operands vary independently over their intervals. This calculator keeps endpoint fractions exact rather than calculating decimal endpoints and pretending they were rounded outward. It supports addition, subtraction, multiplication and division, with divisor intervals containing zero rejected explicitly because a single finite result interval may not describe that domain.
For multiplication, take min and max of all four endpoint products; division first reciprocates an interval that excludes zero.A worked example
Multiply A = [−2,3] by B = [−4,5]. The four corner products are 8, −10, −12 and 15, so the tight independent-operand result is [−12,15]. Multiplying only the lower endpoints and only the upper endpoints would incorrectly give [8,15]. For [1,1] divided by [3,3], the exact result is [1/3,1/3], not a rounded decimal interval.
Good to know
Endpoints use integers, decimals with up to six places or fractions under the shared magnitude and component bounds of 1,000,000. Each lower endpoint must not exceed its upper endpoint. Exact intermediate fractions have a size limit. This page handles one independent binary operation, not arbitrary expression evaluation with dependency tracking, unions of unbounded intervals, transcendental interval functions or probabilistic confidence intervals.
Reference: NIST DLMF — interval arithmetic (opens in a new tab) ↗
Sign changes make all four endpoint products necessary
The minimum product need not involve both lower endpoints. In the default example, positive three times negative four produces the smallest value, while positive three times positive five produces the largest. Evaluating all four endpoint combinations handles positive, negative and zero-crossing intervals without assuming a sign pattern. The result table retains the exact input and output bounds.
Subtraction has a different monotonic rule: [a,b] − [c,d] = [a−d,b−c]. Subtracting the larger second operand gives the lower result. Division uses the reciprocal interval [1/d,1/c] when the second interval stays strictly on one side of zero, then applies multiplication. The reciprocal rule works for a wholly negative interval too, with the endpoint order preserved correctly.
The fraction calculator can independently check individual endpoint operations. Interval arithmetic additionally determines which endpoint combinations produce extrema.
Interval bounds are not probabilities or dependence models
A = [0,1] says that an unknown value is somewhere in that range; it does not assign a uniform distribution or any other probability law. If the same unknown x appears twice, interval evaluation may overestimate because it treats occurrences independently. For example, x − x is exactly zero, while [0,1] − [0,1] gives [−1,1]. This page deliberately evaluates independent interval operands rather than simplifying a shared-variable expression.
A divisor that includes zero is not silently replaced by a small nonzero number. Its quotient set can be undefined or split into unbounded components, which the finite single-interval interface does not represent. Exact rational endpoints avoid floating-point enclosure errors for the four implemented operations, but they do not validate the original input bounds as measurements. Fraction arithmetic can check individual endpoint operations; interval arithmetic adds the range-extrema logic.
A few questions, answered
Are single-value intervals allowed?
Yes. Equal endpoints represent one exact value, such as [1/3,1/3]. The same endpoint rules remain valid.
Why does exact arithmetic matter for an interval?
A rounded endpoint can accidentally exclude a true result. Exact rational endpoint output avoids that rounding problem for the supported rational operations.