Shapes & spaces

Spherical triangle circumcenter calculator from three points

Find the two antipodal unit directions equally distant in angle from three given spherical directions.

Your numbers

Rows separated by semicolons; values by commas.

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

Find the two antipodal unit directions equally distant in angle from three given spherical directions. Both circumcenter candidates and their angular radii are returned instead of silently choosing one spherical cap. Normalization, degeneracy and the difference from a planar three-point circle are explained with a coordinate-axis example.

THE FORMULAc parallel to (b−a)×(d−a); angular radius=acos(c·a).

A worked example

The three coordinate-axis directions have spherical circumcenters ±(1,1,1)/√3. Their angular radii are acos(1/√3) and π − acos(1/√3). Both centers are equidistant from all three input directions, so choosing the smaller cap is an explicit interpretation.

Good to know

Three nonzero3D directions normalized. Both antipodal centers returned; degenerate repeated/collinear difference vectors rejected. No automatic minor-cap choice.

Interpret each input as a direction

The three nonzero spatial input vectors are normalized to the unit sphere. Their original magnitudes therefore do not affect the result. This differs from a planar circumcircle fit, where coordinate distance and point position in a Euclidean plane are retained exactly as entered.

A zero vector cannot be normalized and is rejected. The calculator works on directions from a common origin, not arbitrary points on a translated sphere with an unknown center. If your geometry uses another sphere center, subtract that center before interpreting the resulting directions.

Three unit-axis directions share two antipodal spherical centerscc=±(1,1,1)/√3Radii sum to πOne small; one large
The three coordinate-axis directions have spherical circumcenters ±(1,1,1)/√3. Their angular radii are acos(1/√3) and π − acos(1/√3). Both centers are equidistant from all three input directions, so choosing the smaller cap is an explicit interpretation. Diagram is schematic; labels specify the numerical values.

The Spherical polygon surface centroid calculator averages a spherical surface region. A circumcenter is equidistant from the boundary vertices and generally differs from a centroid direction.

Translate equal angles into equal dot products

For unit vectors, angular distance is arccos of their dot product. A circumcenter direction c is equally far from a,b,d when c dot (b−a)=0 and c dot (d−a)=0. A direction perpendicular to both differences is their cross product, normalized when nonzero.

This construction produces a line through the origin with two unit intersections, c and minus c. Both are equally distant angularly from the three vertices. Returning only one without an explicit cap convention would hide a real spherical ambiguity rather than simplify a duplicate numeric solution.

Verify the coordinate-octant example

Take directions (1,0,0),(0,1,0),(0,0,1). The two candidates are plus and minus (1,1,1)/sqrt(3). The positive candidate has dot product 1/sqrt(3) with every vertex, giving angular radius arccos(1/sqrt(3)).

The negative candidate has the opposite dot product and radius pi minus that value. The radii sum to pi. Both solve the equal-distance equations, even though one naturally describes the smaller cap around the three positive-axis directions and the other describes the complementary orientation choice.

Read the equidistance residual

The residual compares the center’s dot product with each normalized vertex against its dot product with the first. A small residual confirms the equal-distance algebra within floating-point precision. It does not choose which spherical region the user intended or guarantee a well-conditioned geometric construction.

Angular radii are in radians. Converting them to physical arc lengths requires multiplying by a sphere radius supplied outside this unit-sphere calculation. The point’s spatial norm is one and is not itself the circumradius; confusing those two uses of radius would turn every answer into the same value.

Recognize degeneracies and near-degeneracies

Repeated directions or linearly dependent difference vectors can make the cross product vanish, leaving no unique pair of equidistant centers from this construction. The page rejects that case rather than dividing by a nearly zero norm and printing unstable directions.

Near-degenerate data can remain sensitive even when accepted. Small directional perturbations may rotate the candidate axis noticeably. Inspect whether the three observations are genuinely distinct and geometrically informative rather than forcing acceptance by adding an arbitrary tiny coordinate offset.

Separate circumcenter from spherical centroid

A circumcenter is selected by equal distances to vertices. A surface centroid integrates position over an enclosed spherical region, while a normalized vertex mean averages only the supplied directions. These are different definitions and need not agree, except in special symmetric examples.

The coordinate-octant example makes them share a positive direction, but their underlying vectors and meanings still differ. The circumcenter candidates lie on the sphere; a uniform surface centroid vector generally lies inside the unit ball. Do not transfer an answer between those pages just because their diagrams look centered.

Keep the cap-selection question explicit

This form does not automatically identify a minor cap, an oriented spherical triangle interior or a desired navigation region. Both antipodal solutions are retained. An application can select a candidate through an additional hemisphere or orientation condition, but that condition must be stated.

For antipodal vertices or boundaries spanning large spherical regions, the intended geometric object can require further conventions. The calculator supplies the equidistant-direction construction only. Use the table’s candidate and radius together, with coordinate normalization and angular units, to reproduce the result without silently changing the region.

A few questions, answered

Why are two circumcenters returned?

Both antipodal unit directions satisfy the equal-angle equations. A cap-selection convention is additional information.

Are the input vector lengths used?

No. Nonzero vectors are normalized and interpreted as directions.

Is the angular radius always one?

No. One is the center-direction norm. Angular radius is the arccosine of its dot product with a vertex.

Is this the spherical surface centroid?

No. Equal vertex distances and area-weighted position averages are different definitions.

Find your calculator

Start typing to explore the library.