Home · Math · Solid Geometry · Equation of a Sphere Calculator
Equation of a Sphere Calculator
General-form coefficients of a sphere from its centre and radius: D, E, F and the constant in x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0, with volume and surface area.
What this calculator does
General-form coefficients of a sphere from its centre and radius: D, E, F and the constant in x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0, with volume and surface area. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Expanding (x - h)^2 + (y - k)^2 + (z - l)^2 = r^2 gives the general form with linear coefficients -2h, -2k, -2l and constant h^2 + k^2 + l^2 - r^2. The sphere's volume is (4/3) pi r^3 and its surface 4 pi r^2.
The general form is normalised so the squared terms have coefficient 1.
Worked example
With the example inputs this page opens with (centre h 1, centre k 2, centre l 3, radius 4), the result is -2.00 — coefficient d. Change any figure and the result updates with the same formula.
Quick reference
| Centre h | Coefficient D |
|---|---|
| 0.5 | -1.00 |
| 0.8 | -1.60 |
| 1 | -2.00 |
| 1.25 | -2.50 |
| 1.5 | -3.00 |
| 2 | -4.00 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Equation of a Sphere Calculator work?
General-form coefficients of a sphere from its centre and radius: D, E, F and the constant in x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0, with volume and surface area. Centre h k l - Radius -> Coefficient D. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Equation of a Sphere Calculator need?
Centre h k l - Radius -> Coefficient D. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Equation of a Sphere Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.