Equation of a Sphere Calculator
Get a sphere's volume, surface area and general-form constant from centre and radius.
The standard equation of a sphere is (x − h)² + (y − k)² + (z − l)² = r².
The math behind it
Expanding gives a general form whose constant term is h² + k² + l² − r². Volume is (4/3)πr³ and surface area is 4πr².
Worked example
Centre (1, 2, 3), r = 4 → volume ≈ 268.08, surface ≈ 201.06.
FAQ
How do I recover the radius from general form?
Complete the square in x, y and z to find the centre and radius.