Sphere and Cylinder Calculator
Results
Formulas Used in Sphere and Cylinder Calculator
Full formula reference: Cylinder Volume Formula · Cone Surface Area Formula · Cylinder Surface Area Formula
In-Depth Tutorial: Sphere and Cylinder Calculator
The Sphere/Cylinder/Cone Calculator handles the three most common rounded 3D shapes — they all share the same circular cross-section profile, which is why one calculator can solve all three. Pick the shape, give the radius (and the height if you chose cylinder or cone), and the calculator returns the volume, surface area, and other derived quantities. This tutorial walks through what each formula means, why the cone's volume is exactly one-third of the cylinder's, and how to spot the common mistakes.
The three shapes, side by side
| Shape | Inputs | Volume | Surface Area |
|---|---|---|---|
| Sphere | radius r | (4/3)πr³ | 4πr² |
| Cylinder | radius r, height h | πr²h | 2πr² + 2πrh |
| Cone | radius r, height h | (1/3)πr²h | πr² + πrℓ |
The cone's surface area uses slant height ℓ, not vertical height. The slant height is the distance from the apex to a point on the rim along the surface — it relates to vertical height by another Pythagorean relationship: ℓ = √(r² + h²).
The sphere
A sphere is fully determined by its radius. There is no "height" — a sphere is symmetric in every direction.
Volume: V = (4/3)πr³. The volume scales as the cube of the radius. A sphere with twice the radius has 8× the volume.
Surface area: SA = 4πr². The surface area scales as the square of the radius. A sphere with twice the radius has 4× the surface area.
Interesting fact: a sphere has the smallest surface area of any shape enclosing a given volume. This is why soap bubbles form spheres (minimum surface tension energy) and why raindrops are roughly spherical in free fall.
Example: a basketball has radius ≈ 12 cm. Volume = (4/3)π(12)³ = (4/3)π(1728) ≈ 7238 cm³. Surface area = 4π(12)² = 576π ≈ 1810 cm².
The cylinder
A cylinder is two parallel circular bases joined by a curved lateral surface. It needs two inputs: radius r and height h.
Volume: V = πr²h. This is simply (base area) × (height). Pour water into a cylindrical glass to fill it: the volume of water equals the floor area (πr²) times how high it stands (h). Cylindrical tanks, cans, pipes, and pillars all use this formula.
Surface area has three pieces:
- Top base: πr²
- Bottom base: πr² (same as top)
- Lateral (side) surface: 2πr × h. Unrolling the side flat gives a rectangle with width 2πr (the circumference) and height h.
Total: SA = 2πr² + 2πrh = 2πr(r + h).
For an open cylinder (a pipe or a cup with no lid), use lateral area only or subtract the missing base. Our calculator returns the closed-cylinder total.
Example: a soup can with r = 4 cm, h = 12 cm. V = π(4)²(12) = 192π ≈ 603 cm³. SA = 2π(4)(4 + 12) = 128π ≈ 402 cm².
The cone
A cone has a circular base, an apex (point), and a curved lateral surface joining them. The two inputs are the base radius r and the perpendicular height h (apex straight down to the base).
Volume: V = (1/3)πr²h. Exactly one-third of a cylinder with the same base and same height.
Why exactly one-third? A classic demonstration: a cone and a cylinder with identical bases and identical heights are made out of paper. Filling the cone with sand three times exactly fills the cylinder. The factor of 1/3 isn't arbitrary — it comes out of calculus (integrating the radius² over the height), but the intuitive way to remember it is "the cone tapers, so on average it has half the radius… and (1/2)² × some integration factor works out to 1/3".
Surface area: cone surface area uses the slant height ℓ, which is the diagonal from apex to rim:
- Base: πr²
- Lateral: πrℓ where ℓ = √(r² + h²)
Total: SA = πr² + πrℓ = πr(r + ℓ).
If the problem gives you slant height directly, use it as ℓ. If it gives you perpendicular height, compute ℓ first.
Example: an ice cream cone with r = 2.5 cm, h = 10 cm. Slant height ℓ = √(2.5² + 10²) = √(6.25 + 100) = √106.25 ≈ 10.31 cm. V = (1/3)π(2.5)²(10) = (1/3)(62.5)π ≈ 65.4 cm³. Lateral SA = π(2.5)(10.31) ≈ 80.9 cm².
Open vs closed
Real-world objects often miss a face: an open can has no top, an ice cream cone has no base (otherwise you couldn't eat it). Adjust the surface area by subtracting whichever face is absent:
- Open cylinder (no top, has bottom): SA = πr² + 2πrh
- Open cone (no base): SA = πrℓ
- Hollow tube (cylinder, no top, no bottom): SA = 2πrh
Our calculator returns the closed-shape total — subtract the missing piece by hand if needed.
Hemispheres and segments
A hemisphere is half a sphere. V = (2/3)πr³ and the curved surface is 2πr² (plus πr² for the flat circular base if you need closed). Useful for domes, half-tanks, and bowls.
For partial spheres (spherical caps, spherical zones) the formulas get more involved — those are not in this calculator. See an advanced reference for V = (πh²/3)(3r − h) and similar.
Common mistakes
- Using slant height where you want perpendicular height (or vice versa) for cone volume. Volume needs the perpendicular height h. Surface area needs the slant height ℓ. They are different numbers; only the calculation that demands one accepts that one.
- Forgetting the 1/3 in cone volume. Without it your answer is 3× too large — exactly the cylinder volume.
- Using diameter as radius. Halve it. If a ball is 24 cm "across", r = 12.
- Confusing surface area and lateral area for a cylinder. Lateral = side only (2πrh). Surface = lateral + 2 bases. A label says "lateral area" or "total surface area" — check which one the problem wants.
- Unit cubes vs squares. Volume is cm³, surface area is cm². Mixing units is a giveaway that something is off.
Where to go next
Related calculators on this site:
- Cube and Rectangular Prism Calculator — for box-shaped solids.
- Cone Formula — the formula-focused page for cone work.
- Cylinder Formula — same, for cylinder.
- All 3D Geometry Formulas — comparison sheet for prism, pyramid, sphere, cylinder, cone, frustum.
Frequently Asked Questions – Sphere and Cylinder Calculator
Sphere, cylinder, and cone. Select the shape and enter the radius (plus height for cylinder and cone).
Volume = (4/3)πr³ and Surface Area = 4πr². Only the radius is needed.
Yes — cylinder volume (πr²h) and lateral surface area depend on both radius and height.
Divide the volume by the area of the base: h = V / (πr²). For V = 500 and r = 5: h = 500 / (π × 25) ≈ 6.3662. Enter the volume and the radius above.
Rearrange V = (4/3)πr³ to r = ∛(3V / (4π)). A volume of 113.1 gives r ≈ 3.
Half of a sphere: V = (2/3)πr³. Its total surface area is 3πr² — the curved part 2πr² plus the flat circle πr².
Yes — free and unlimited.
Archimedes engraved the sphere/cylinder ratio on his tombstone
Around 225 BCE, Archimedes proved that a sphere inscribed in the smallest possible cylinder (the cylinder that exactly contains the sphere — same radius, height equal to the sphere's diameter) has both:
- Volume ratio of exactly 2:3. Sphere volume is
(4/3)πr³; enclosing cylinder isπr² · 2r = 2πr³. The ratio is(4/3)/(2) = 2/3. - Surface area ratio also of 2:3. Sphere surface is
4πr²; enclosing cylinder total surface (including two circular ends) is2πr² + 2πr · 2r = 6πr². Ratio4/6 = 2/3.
The same 2:3 ratio applies to both volume and surface area — a striking coincidence that Archimedes considered his greatest mathematical achievement. He instructed that a sphere-inside-a-cylinder diagram be engraved on his tombstone as his epitaph. Cicero, visiting Sicily 137 years after Archimedes's death, reported finding the tomb with exactly this diagram intact.
The achievement's significance runs deeper than a fun numerical coincidence. Archimedes derived his results without modern calculus — using a technique now called the method of exhaustion that anticipated integral calculus by two thousand years. He inscribed and circumscribed polygons around circles, refined by cutting into ever-thinner strips, and took the limit. The formulas (4/3)πr³ and 4πr² were among the earliest exact results in solid geometry that couldn't be reached by direct measurement — they required a proof.
The tombstone diagram (a sphere inside a cylinder) is unusual for the ancient world in that it commemorates a mathematical theorem rather than a warrior's exploits or a ruler's achievements. Archimedes chose his identity as a mathematician over his fame as an engineer (he designed war machines that held off the Roman siege of Syracuse for three years). The 2:3 ratio is what he wanted future visitors to remember about him.
Sphere is nature's minimum-surface shape
The sphere has a defining physical property: among all closed 3D shapes with a given volume, the sphere has the smallest possible surface area. This is the 3D isoperimetric inequality, and it dictates the shape of countless natural phenomena.
Soap bubbles. Surface tension in a soap film costs energy proportional to the film's surface area. A given amount of trapped air seeks its minimum-energy configuration, which is the minimum-surface shape — a sphere. Every isolated soap bubble is spherical because it's the shape that minimizes surface tension energy for the trapped air volume. When two bubbles touch, they don't stay spherical (they share a flat internal wall), but each isolated bubble does.
Planets and moons. Any sufficiently large accumulation of matter (roughly > 800 km diameter for rock, less for ice) collapses under its own gravity into a sphere. Gravity pulls every point toward the center of mass with equal force per unit mass, and the shape that satisfies this balance is a sphere. Smaller bodies (asteroids, small moons) resist gravity's shape-forcing and remain irregularly lumpy; larger ones become spheres. This is why every planet in our solar system is spherical, but many asteroids look like potatoes.
Raindrops. Contrary to popular illustration, actual raindrops are almost never teardrop-shaped. Small droplets are essentially spherical (surface tension dominates); larger drops distort into hamburger-bun shape (air resistance flattens the bottom); and very large drops break apart before they can form the traditional teardrop shape. The teardrop of children's drawings is an artifact of visual convention, not physics.
Pressure vessels. Industrial tanks storing pressurized gas or liquid are almost always cylindrical with rounded ends (the "capsule" shape). The compromise here: spheres would minimize the required wall thickness (thinnest wall for a given internal pressure) but are expensive to manufacture. Cylindrical shape is easy to roll from flat sheet metal, and hemispherical end caps approximate spherical stress distribution. Every propane tank, industrial gas storage vessel, and rocket fuel tank uses this cylinder-plus-hemispheres design because it approximates the sphere's optimality with manageable manufacturing.
Sphere and cylinder questions beyond the formulas
Why is the cone's volume exactly one-third of the cylinder's?
Because of a beautiful principle from Cavalieri's method. Take a cone and a cylinder with the same base and same height. Slice both horizontally at every height y from 0 to h. Each cylinder slice is a full-radius circle of area πr². Each cone slice at height y from the apex has smaller radius r(y/h), so its cross-sectional area is π · r²(y/h)². Integrating from 0 to h: cylinder volume = ∫πr² dy = πr²h, cone volume = ∫π r²(y/h)² dy = πr²h/3. The factor of 3 in the denominator comes from integrating y²/h², which gives y³/(3h²) evaluated between 0 and h. The same 1/3 factor appears in every pyramid or cone formula, regardless of the base shape — it's the calculus fingerprint of tapering to a point.
Is a half-full sphere really half volume?
Yes — a sphere cut exactly in half by a plane through its center gives two hemispheres of equal volume, each (2/3)πr³. But this is only true when the plane passes through the center. A "half-full" spherical container filled to some level below the center has less than half the sphere's volume; filled above center, more than half. Compare with a cylinder oriented vertically: a cylinder filled to half its height contains exactly half its volume, always. This is why cylindrical measuring containers (kitchen graduated cylinders, chemistry cylinders) are the standard for liquid volume measurement — the linear relationship between fill height and volume is trivially readable from markings, while spherical containers would require nonlinear graduations. For a spherical bowl containing water at height h above the bottom (with sphere radius R), the volume filled is (πh²/3)(3R − h) — the "spherical cap" formula, which is not linear in h.
What made Archimedes call this his greatest achievement?
Because it was his first result that combined two independent theorems (volume ratio and surface area ratio) into a single numerical coincidence, and because the proof required his newly-invented method of exhaustion. The volume result alone would have been notable; the surface area result alone would have been notable; together they revealed an unexpected structural relationship between sphere and cylinder geometries that no earlier mathematician had suspected. Archimedes proved dozens of other results — spiral areas, parabola quadratures, hydrostatics laws, principles of mechanical advantage — but he specifically requested the sphere-inside-cylinder diagram on his tombstone. Modern mathematicians would probably rank his development of the method of exhaustion (the precursor to integral calculus) as his most influential contribution, but Archimedes himself apparently valued the specific numerical elegance of the 2:3 ratio above the underlying method.
Why do industrial storage tanks use cylinders with hemisphere ends rather than pure spheres?
Because manufacturing cost and functional needs both favor the hybrid design. A perfect sphere requires specialized manufacturing (spinning or hydro-forming a sheet metal blank), while cylindrical sections can be rolled from flat sheet on standard equipment. Hemispherical end caps are also standard rolled parts. The joining points (where cylinder meets hemispheres) are engineered with slightly thicker material to handle stress concentration — a well-understood problem in pressure vessel design. Additionally, cylindrical bodies are easier to transport (they nest on flatbed trucks; spheres would roll), easier to install (they sit on a saddle without needing a full cradle), and easier to plumb (piping connects at cylindrical walls at consistent right angles). For very large capacity tanks (like LNG tanks or gas processing plants), pure spheres are used because at that scale the manufacturing cost is dominated by material rather than fabrication complexity, and the sphere's minimum-wall-thickness advantage outweighs the added fabrication cost. Below about 20-meter diameter, cylinder-plus-hemispheres wins; above, pure sphere wins.