Shapes & spaces

Tetrahedron circumsphere calculator from four vertices

Find the center and radius of the sphere through four noncoplanar 3D vertices and verify equal distances to every vertex.

Your numbers

Exactly four rows. Use finite decimal coordinates within ±1,000,000 in a common Cartesian unit.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A tetrahedron’s circumsphere passes through all four vertices. Its center is where the perpendicular-bisector planes meet, so it is equally distant from every vertex. Subtracting pairs of squared-distance equations eliminates the center’s quadratic terms and produces a three-by-three linear system. This calculator solves that translated, scaled system and then checks all four distances. Noncoplanarity is required for a unique sphere.

THE FORMULA2(Pᵢ − P₀)·(C − P₀) = |Pᵢ − P₀|² for i = 1,2,3; R = |C − P₀|.

A worked example

For (0,0,0), (2,0,0), (0,3,0) and (0,0,4), the equal-distance equations give center (1,1.5,2). The radius is √(1² + 1.5² + 2²) = √29/2, approximately 2.692582. Changing any one of the four vertices generally changes both the center and the radius.

Good to know

Exactly four finite 3D vertices are required, with each component within ±1,000,000. Coplanar, repeated or numerically near-coplanar configurations are rejected when they do not determine a stable unique sphere. This is not a minimum enclosing sphere or a sphere fitted approximately to noisy data. All coordinates must use the same Cartesian unit.

Subtracting sphere equations leaves a linear problem

Write |C − Pi|² = R² for each vertex. Subtract the equation for P0 from the others. The terms |C|² and R² cancel, leaving equations linear in the center. In coordinates relative to P0, these become 2(Pi − P0)·(C − P0) = |Pi − P0|². The default vertices lie on the coordinate axes, so each equation immediately determines one center coordinate.

A generic tetrahedron has a less convenient orientation, but the same three linear equations apply. Translating to the first vertex and scaling by a characteristic edge length reduces cancellation from a large common coordinate offset. The result table then recomputes the actual center-to-vertex distances, and the displayed residual records their maximum difference from the reported radius.

All four distances from the computed circumcenter equal square root twenty-nine divided by twoC = (1,1.5,2)|C − P0| = √29/2|C − P1| = √29/2|C − P2| = √29/2|C − P3| = √29/2
For the axis-vertex example, center C is (1,1.5,2). The diagram lists the four equal radii as arithmetic checks rather than a perspective drawing of the irregular tetrahedron.

The Tetrahedron volume calculator from six edge lengths measures the solid itself rather than the sphere through its four vertices.

A circumsphere need not be the smallest containing sphere

Passing through every vertex is a stronger constraint than merely containing them. A minimum enclosing sphere can leave one or more vertices strictly inside and can therefore have a smaller radius. This calculator solves the through-all-four problem. It also does not compute the insphere, which is tangent to the tetrahedron’s faces and generally has a different center.

If four vertices lie in a plane, a unique three-dimensional circumsphere is not determined. They may be inconsistent with any common sphere intersection, or they may lie on a circle with infinitely many sphere centers along a perpendicular line. A nearly coplanar tetrahedron can have a very distant center and extreme sensitivity to small errors. The conditioning rejection makes that limitation visible. The six-edge tetrahedron volume calculator addresses the solid’s volume, while this page addresses the sphere constrained by its vertices.

A few questions, answered

Must the circumcenter lie inside the tetrahedron?

No. Depending on the vertex geometry, the circumcenter may lie inside or outside. Equal distance, rather than containment, defines it.

Why display a radius residual?

It checks that all four vertex distances agree within numerical precision. It is an arithmetic diagnostic, not an uncertainty estimate for measured coordinates.

Find your calculator

Start typing to explore the library.