Find the volume and surface area of a cylinder, sphere, cube, cone, or rectangular box — with the exact formula shown for every result.
Each 3D shape has its own volume formula based on its dimensions. Select a shape above, enter its measurements, and the calculator applies the matching formula automatically.
Volume measures the three-dimensional space enclosed by a shape, expressed in cubic units. The formula depends entirely on the shape's geometry.
Example: a cylinder with a 4-unit radius and 10-unit height has a volume of π × 4² × 10 ≈ 502.65 cubic units.
| Shape | Dimensions | Volume |
|---|---|---|
| Cylinder | r = 4, h = 10 | 502.65 |
| Sphere | r = 5 | 523.60 |
| Cube | side = 6 | 216.00 |
| Cone | r = 3, h = 9 | 84.82 |
How do you find the volume of a cylinder? Multiply pi by the radius squared, then multiply by the height: Volume = π × r² × h.
What is the formula for the volume of a sphere? Volume = (4/3) × π × r³, where r is the sphere's radius.
How do I calculate the volume of a cube? Multiply the side length by itself three times: Volume = side³. A cube with 6-inch sides has a volume of 6³ = 216 cubic inches.
What is the volume of a cone? Volume = (1/3) × π × r² × h — exactly one-third the volume of a cylinder with the same base radius and height.
How is the volume of a rectangular box calculated? Multiply length × width × height. A box measuring 8 × 5 × 4 inches has a volume of 160 cubic inches.
What units does volume use? Volume is expressed in cubic units matching whatever length unit you enter — cubic inches, cubic feet, cubic centimeters, or cubic meters, for example. Keep all dimensions in the same unit before calculating.
What's the difference between volume and surface area? Volume measures the three-dimensional space a shape occupies (cubic units), while surface area measures the total area of its outer faces (square units) — this calculator shows both.
Example 1 — Cylindrical water tank: radius 4 ft, height 10 ft → volume ≈ 502.65 cubic feet, surface area ≈ 351.86 square feet.
Example 2 — Spherical ball: radius 5 in → volume ≈ 523.60 cubic inches, surface area ≈ 314.16 square inches.
Example 3 — Shipping box: 8 in × 5 in × 4 in → volume = 160 cubic inches, surface area = 184 square inches.