How this calculation works
Find a thin enclosing annulus with its center constrained to an explicit rectangular search box. The page reports inner and outer radii, a feasible width, a lower bound and the remaining optimality gap. Its certification is limited to that box and tolerance; it does not overstate a bounded numerical search as an unrestricted-plane theorem.
min_(c in box)[max_i ||p_i−c||−min_i ||p_i−c||].A worked example
The four unit-circle axis points admit center (0,0), with inner and outer radii both equal to 1. Their annulus width is 0, meeting the universal lower bound. This center is inside the default search box, so it also solves the stated constrained problem.
Good to know
Center constrained to explicit finite box; Lipschitz branch-and-bound tolerance,≤50points/50,000cells. Certification applies only inside the box; no unrestricted-plane optimum claim.
Reference: Method reference: Minimum annulus calculator with bounded center coordinates (opens in a new tab) ↗
Define annulus width rather than outer radius
For center c, the smallest enclosing annulus has inner radius equal to the nearest sample distance and outer radius equal to the farthest sample distance. Every sample lies between them. The objective is outer minus inner radius, not minimum outer radius alone.
A minimum enclosing circle has no inner-radius tradeoff and solves another problem. A faraway center can give a large outer radius but a small width, which is why simply using an enclosing-circle center is not a general annulus optimizer. Keep the two radii and their difference together when interpreting the result.
The Largest inscribed ball calculator from linear inequalities maximizes a ball inside halfspaces. An annulus surrounds a point set between two concentric circles and minimizes their radial difference within the stated center box.
Make the center box part of the question
The four box values are xmin,xmax,ymin,ymax. They restrict where the center is allowed to lie, not where the sample points must lie. An optimal center outside that box is excluded deliberately, so the returned guarantee must retain the box boundaries.
This restriction matters for nearly collinear configurations and other cases where unrestricted centers can move far away while widths improve. The page does not claim that increasing the box once has proved an unrestricted optimum. Compare boxes as a sensitivity analysis and state the actual finite domain used for certification.
Verify the zero-width circular example
The default four samples are the positive and negative coordinate-axis points on the unit circle. Center zero gives every distance one, so inner and outer radii both equal one and width is zero. No annulus width can be negative.
The feasible zero-width result therefore meets the universal lower bound and proves optimality in any entered box containing that center. This special case is stronger than a merely small numerical gap. It does not mean arbitrary sample data should also produce zero or that measurement noise will preserve exact cocircularity.
Understand the Lipschitz lower bound
Moving a center by distance delta changes any sample distance by at most delta. Both the nearest and farthest distances obey that bound, so their difference changes by at most twice delta. For a rectangular cell, evaluating its midpoint gives a lower bound after subtracting twice the maximum midpoint-to-cell distance.
The solver splits cells and prioritizes the smallest lower bounds. Every evaluated center gives a feasible upper bound. The difference between the best feasible width and the smallest remaining cell lower bound quantifies how much improvement could still exist inside the box under this bound, rather than estimating a statistical error bar.
Read tolerance and search effort separately
The tolerance is an allowed width optimality gap in the same distance units as the coordinates. A tolerance of one hundredth means the certified-box optimum cannot improve the returned width by more than that amount, subject to the floating-point calculation and bound implementation.
Tighter tolerances can require many more cells, particularly for flat objectives. The search stops with a resource error after its cell cap rather than reporting an unfinished gap as complete. A large cell count is computational effort, not a confidence score about whether the input points lie on a true physical circle.
Interpret multiple centers and noisy samples
Several centers can have the same minimum width, and the best returned center need not be unique. A tiny change to sample coordinates can select another tied or nearly tied center while leaving the practical width almost unchanged. The result is a geometric fit, not an estimate of measurement uncertainty.
For measured circular parts, a minimum-width annulus is only one possible roundness criterion. Least-squares circles and minimum circumscribed circles optimize different quantities. Do not interpret disagreement between their centers as a programming error without first matching the chosen objective and permitted center domain.
Keep the bounded claim visible in reporting
The form accepts up to fifty planar points and uses floating-point branch-and-bound. It returns no unique-center proof, unrestricted-plane certificate or confidence interval. Exact language about global optimality always refers to the entered center box and requested gap tolerance.
Report the center, both radii, box, tolerance and final gap together. Quoting only a width can conceal whether the center was constrained in a way that changed the answer. If a metrology standard requires a specific unbounded or standardized evaluation procedure, this educational bounded solver is not a substitute for that procedure.
A few questions, answered
Is this unrestricted global minimum annulus?
No. The center is restricted to the entered finite box, and the gap guarantee applies there.
Does the box have to contain all sample points?
No. It bounds possible centers rather than sample locations.
Is the gap a confidence interval?
No. It bounds numerical optimization improvement within the box, not sampling uncertainty.
Why can the outer radius be large for a thin annulus?
The objective minimizes outer minus inner radius, not outer radius alone.