Equation of a Sphere: Simple Formula, Easy Examples

Jordan Jun 18, 2026

The equation of a sphere serves as the fundamental mathematical expression defining the set of all points equidistant from a single center point in three-dimensional space. This simple yet powerful concept forms the backbone of spatial reasoning in geometry, providing a precise language to describe circular symmetry in physical reality, from the orbits of planets to the design of everyday objects. Understanding this formula unlocks the ability to model and analyze volumetric shapes with rigorous accuracy.

Equation of a Sphere
Equation of a Sphere

Standard Equation of a Sphere

the formula for an electric field is shown in black and white, with three equals at
the formula for an electric field is shown in black and white, with three equals at

In a three-dimensional Cartesian coordinate system, where the center of the sphere is located at the point \((h, k, l)\) and \(r\) represents the radius, the standard equation is expressed as \((x - h)^2 + (y - k)^2 + (z - l)^2 = r^2\). Each variable and constant within this formula carries specific geometric meaning: \(x, y,\) and \(z\) denote the coordinates of any arbitrary point on the surface, while \(h, k,\) and \(l\) define the spatial location of the center. The radius \(r\), always a positive value, dictates the size of the sphere, determining the fixed distance every point maintains from the center.

Origin-Centered Sphere

Volume Calculator
Volume Calculator

A specific and frequently encountered scenario arises when the sphere is centered at the origin, where the coordinates are \((0, 0, 0)\). In this simplified context, the equation reduces to \(x^2 + y^2 + z^2 = r^2\). This streamlined version eliminates the subtraction terms, making calculations involving spheres aligned with the coordinate axes significantly more straightforward. It serves as the foundational template from which the general formula is derived, highlighting the direct relationship between the coordinates of a point and the radius.

Deriving the Equation

Examples on Spheres
Examples on Spheres

The validity of the equation stems directly from the Euclidean distance formula. The distance between the center \((h, k, l)\) and any point \((x, y, z)\) on the sphere is calculated using the square root of the sum of the squared differences of their coordinates: \(\sqrt{(x - h)^2 + (y - k)^2 + (z - l)^2}\). By definition, this distance is constant and equal to the radius \(r\). Setting this distance formula equal to \(r\) and squaring both sides yields the standard equation, effectively translating a geometric definition into an algebraic relationship.

Feature Description Equation Component
Center The fixed point in space around which the sphere is symmetric \((h, k, l)\)
Radius The constant distance from the center to any point on the surface \(r\)
General Form Expanded polynomial equation useful for integration and system solving \(x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0\)

General Form and Practical Applications

Calculate the radius, diameter, circumference, area & volume of a circle or sphere from any starting point
Calculate the radius, diameter, circumference, area & volume of a circle or sphere from any starting point

While the standard form is intuitive for identifying the center and radius, the equation can be expanded into the general form: \(x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0\). This version is particularly useful in calculus and linear algebra, where coefficients are manipulated to solve systems of equations or to integrate over spherical volumes. Converting from the general form back to the standard form involves a process known as completing the square, which reorganizes the terms to reveal the center coordinates and the true radius value.

Beyond pure mathematics, the equation of a sphere is indispensable in physics and engineering. It models gravitational fields, where the force emanates from a central point, and is crucial in computer graphics for rendering 3D objects with realistic lighting and shading. In navigation, spherical coordinates derived from this equation help define positions on the Earth's surface. The ability to calculate volumes, surface areas, and intersections relies entirely on a firm grasp of this foundational algebraic expression, making it a vital tool for solving real-world spatial problems.

some diagrams for different types of spheres and their functions in the form of an object
some diagrams for different types of spheres and their functions in the form of an object
223K views · 27K reactions | A quick proof that the volume of a sphere is 4/3 * πr^3. #math #calculus #geometry #proof #sphere | ElectricalMath | Facebook
223K views · 27K reactions | A quick proof that the volume of a sphere is 4/3 * πr^3. #math #calculus #geometry #proof #sphere | ElectricalMath | Facebook
Volume Of A Sphere
Volume Of A Sphere
Volume of a Sphere
Volume of a Sphere
Calculating Surface Area and Volume Formulas for Geometric Shapes
Calculating Surface Area and Volume Formulas for Geometric Shapes
the volume of a sphere is shown in this graphic style, with an arrow pointing to it
the volume of a sphere is shown in this graphic style, with an arrow pointing to it
Euclidean Spherical Mechanics – Euclidean/Minkowski Spacetime Metrics
Euclidean Spherical Mechanics – Euclidean/Minkowski Spacetime Metrics
three diagrams showing the different types of spherical objects
three diagrams showing the different types of spherical objects
the volume of a sphere spherical coordinates is shown in red, green and white
the volume of a sphere spherical coordinates is shown in red, green and white
Parametric Calculus: Surface Area: Example 1: Sphere
Parametric Calculus: Surface Area: Example 1: Sphere
a sphere with the center surrounded by smaller circles and inscribed on it, is shown
a sphere with the center surrounded by smaller circles and inscribed on it, is shown
three dimensional balls are shown with the same number of sides, and one side has two equal
three dimensional balls are shown with the same number of sides, and one side has two equal
Sphere Properties and Formulas Explained | Easy 3D Geometry Guide
Sphere Properties and Formulas Explained | Easy 3D Geometry Guide
PRO NATION ❤ on Instagram: "Equation of sphere ✨"
PRO NATION ❤ on Instagram: "Equation of sphere ✨"
a hand holding up a notebook with math problems on it
a hand holding up a notebook with math problems on it
How to Use Volume of a Sphere Formula: Your Complete Guide — Mashup Math
How to Use Volume of a Sphere Formula: Your Complete Guide — Mashup Math
According to Nassim Haramein's equations, the most fundamental pattern of energy in the universe is the Torus and the most fundamental balanced geometry in the universe is the cube octahedron.  Here they are together in one image... Torus Sacred Geometry, Torus Field Drawing, Torus Geometry, Metatron's Cube 13 Sphere, Torus Gif, Torus Field Gif, Toroidal Field Gif, 3d Torus With Grid Lines, Fractal Sphere With Intricate Patterns
According to Nassim Haramein's equations, the most fundamental pattern of energy in the universe is the Torus and the most fundamental balanced geometry in the universe is the cube octahedron. Here they are together in one image... Torus Sacred Geometry, Torus Field Drawing, Torus Geometry, Metatron's Cube 13 Sphere, Torus Gif, Torus Field Gif, Toroidal Field Gif, 3d Torus With Grid Lines, Fractal Sphere With Intricate Patterns
3D Functions
3D Functions
Basis 2D & 3D Geometry & Shapes Formulas - PDF Download
Basis 2D & 3D Geometry & Shapes Formulas - PDF Download
an old drawing with lines and circles on it, in the shape of a sphere
an old drawing with lines and circles on it, in the shape of a sphere