Calculator: Tetrahedron circumsphere

Enter the labelled inputs to calculate: Value Ox; Value Oy; Value Oz; Radius.

Value Ox
0.5
Value Oy
0.5
Value Oz
0.5
Radius
0.8660254038

How the calculation works

O=A+[‖u‖²(v×w)+‖v‖²(w×u)+‖w‖²(u×v)]/(2det(u,v,w))

Coordinates use one common length unit. Rotation axes are normalized and angles are degrees. Quaternion order is w,x,y,z. Lines are infinite, not rays; parallel/coincident line-plane cases are rejected. Circumspheres require noncoplanar vertices. Solid-angle vectors originate at the observer; spherical triangles are convex minor-arc triangles.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

O=A+[‖u‖²(v×w)+‖v‖²(w×u)+‖w‖²(u×v)]/(2det(u,v,w))

What assumptions apply?

Coordinates use one common length unit. Rotation axes are normalized and angles are degrees. Quaternion order is w,x,y,z. Lines are infinite, not rays; parallel/coincident line-plane cases are rejected. Circumspheres require noncoplanar vertices. Solid-angle vectors originate at the observer; spherical triangles are convex minor-arc triangles.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Values (spaces or semicolons; decimal point) A = 0 0 0
Values (spaces or semicolons; decimal point) B = 1 0 0
Values (spaces or semicolons; decimal point) C = 0 1 0
Values (spaces or semicolons; decimal point) D = 0 0 1
Value Ox: 0.5
Value Oy: 0.5
Value Oz: 0.5
Radius: 0.8660254038
2
Values (spaces or semicolons; decimal point) A = 1 2 3
Values (spaces or semicolons; decimal point) B = 4 0 1
Values (spaces or semicolons; decimal point) C = -1 5 2
Values (spaces or semicolons; decimal point) D = 2 2 6
Value Ox: 7.891304348
Value Oy: 8.717391304
Value Oz: 2.369565217
Radius: 9.644214305
3
Values (spaces or semicolons; decimal point) A = 0 0 0
Values (spaces or semicolons; decimal point) B = 0 1 0
Values (spaces or semicolons; decimal point) C = 1 0 0
Values (spaces or semicolons; decimal point) D = 0 0 3
Value Ox: 0.5
Value Oy: 0.5
Value Oz: 1.5
Radius: 1.658312395

How we test our calculators →

Also try:

Back to category →