Last updated March 2026

Volume Calculator

Calculate the volume and surface area of common 3D shapes with step-by-step formulas.

Volume -- cubic units
Surface Area -- sq units
Formula Used --

What Is Volume?

Volume is the measure of the three-dimensional space enclosed within a boundary. It quantifies how much space an object occupies or how much a container can hold. Volume is expressed in cubic units such as cubic meters (m³), cubic feet (ft³), cubic centimeters (cm³), liters, or gallons. Whether you are filling a swimming pool, pouring concrete for a foundation, determining how much soil to order for a garden bed, or calculating the capacity of a storage tank, understanding volume is essential.

The concept of volume has been studied since antiquity. Archimedes famously discovered how to measure the volume of irregular objects by immersing them in water and measuring the displaced fluid, a method still used today. The formulas for the volumes of basic shapes like spheres, cones, and cylinders were well known to the ancient Greeks, and they remain fundamental tools in mathematics, science, and engineering more than two thousand years later.

Volume differs from area in an important way. Area measures two-dimensional space (a flat surface), while volume measures three-dimensional space (the interior of a solid object). Area uses square units (ft², m²), while volume uses cubic units (ft³, m³). You can think of volume as area extended into a third dimension: the volume of many shapes can be found by multiplying a cross-sectional area by a height or depth.

Volume Formulas for Common 3D Shapes

Each three-dimensional shape has its own formula for calculating volume and surface area. Below are the formulas for the five shapes supported by this calculator, with detailed explanations and worked examples.

Sphere

Volume = (4/3)πr³
Surface Area = 4πr²

A sphere is a perfectly round three-dimensional shape where every point on its surface is equidistant from the center. The distance from the center to the surface is the radius (r). Spheres appear everywhere in nature and engineering: planets, bubbles, ball bearings, and oranges are all approximately spherical. The volume formula shows that a sphere's volume grows with the cube of its radius, meaning that doubling the radius increases the volume eightfold. For a sphere with radius 5 cm, the volume is (4/3) × π × 125 ≈ 523.6 cm³, and the surface area is 4 × π × 25 ≈ 314.2 cm².

Cube

Volume = s³
Surface Area = 6s²

A cube is a special case of a rectangular prism where all six faces are identical squares and all twelve edges have the same length (s). The volume is simply the side length cubed. Cubes are the standard unit shape for measuring volume; one cubic centimeter is the volume of a cube with 1 cm sides. A sugar cube with 1 cm sides has a volume of 1 cm³ and a surface area of 6 cm². A Rubik's cube with sides of approximately 5.7 cm has a volume of about 185.2 cm³.

Cylinder

Volume = πr²h
Surface Area = 2πr² + 2πrh

A cylinder has two parallel circular bases connected by a curved surface. The volume equals the area of the circular base (πr²) multiplied by the height (h). Cylinders are one of the most common shapes in everyday life: cans, pipes, water tanks, silos, and drinking glasses are all cylindrical. For a cylinder with radius 3 cm and height 10 cm, the volume is π × 9 × 10 ≈ 282.7 cm³, and the total surface area is 2π(9) + 2π(3)(10) ≈ 245.0 cm².

Cone

Volume = (1/3)πr²h
Surface Area = πr² + πr√(r² + h²)

A cone has a circular base and tapers to a point (apex). Its volume is exactly one-third of the volume of a cylinder with the same base and height, a remarkable relationship first proven by Archimedes. The slant height, needed for the surface area, is calculated as √(r² + h²). Ice cream cones, traffic cones, volcanic mountains, and funnels are all cone-shaped. For a cone with radius 4 cm and height 9 cm, the volume is (1/3) × π × 16 × 9 ≈ 150.8 cm³. The slant height is √(16 + 81) = √97 ≈ 9.85, so the surface area is π(16) + π(4)(9.85) ≈ 174.0 cm².

Rectangular Prism (Box)

Volume = l × w × h
Surface Area = 2(lw + lh + wh)

A rectangular prism (also called a cuboid or box) has six rectangular faces, with opposite faces being identical. The volume is simply length times width times height. This is the most intuitive volume formula and the one most people learn first. Rooms, shipping containers, aquariums, and bricks are all rectangular prisms. For a box that is 6 cm long, 4 cm wide, and 3 cm tall, the volume is 6 × 4 × 3 = 72 cm³, and the surface area is 2(24 + 18 + 12) = 108 cm².

Real-World Volume Applications

Volume calculations are used in countless practical situations across many fields:

Volume Units and Conversions

Volume can be expressed in many different units. The key principle for converting between cubic units is that you must cube the linear conversion factor. Since 1 foot = 12 inches, 1 cubic foot = 12³ = 1,728 cubic inches. Here are the most commonly used volume conversions:

ConversionFactor
1 cubic foot (ft³)1,728 cubic inches
1 cubic yard (yd³)27 cubic feet
1 cubic meter (m³)35.315 cubic feet
1 liter (L)1,000 cm³ (1,000 mL)
1 US gallon231 in³ (3.785 L)
1 cubic foot7.481 US gallons
1 cubic meter264.2 US gallons
1 barrel (oil)42 US gallons (159 L)

Example conversion: A cylindrical tank holds 500 gallons. How many cubic feet is that? Divide by 7.481: 500 / 7.481 ≈ 66.8 cubic feet. Conversely, a rectangular tank that is 4 ft × 3 ft × 2 ft holds 24 cubic feet, which is 24 × 7.481 ≈ 179.5 gallons.

Relationship Between Volume and Surface Area

Volume and surface area measure fundamentally different properties of a three-dimensional object, but they are mathematically related. For any given volume, the sphere has the smallest possible surface area of any shape, a principle with important implications in nature and engineering.

Soap bubbles are spherical because surface tension minimizes the surface area for the volume of air inside. Cells in biology tend toward spherical shapes to maximize their volume-to-surface-area ratio. In contrast, structures that need to maximize surface area relative to volume, like radiators, lungs, and heat sinks, use complex folded or branching geometries.

As objects get larger while maintaining the same shape (scaling up), volume increases faster than surface area. This is because volume scales with the cube of the linear dimension (r³), while surface area scales with the square (r²). This is why large animals need proportionally larger lungs and blood vessels to supply their greater volume of tissue, and why small insects can breathe through their skin while elephants cannot.

Calculating Volumes of Composite and Irregular Shapes

Many real-world objects are not simple geometric shapes. To calculate their volumes, you can use several strategies:

Practical example: A cylindrical grain silo has a dome-shaped top. The cylindrical portion has radius 10 ft and height 30 ft: V = π(100)(30) ≈ 9,425 ft³. The dome is approximately a hemisphere with radius 10 ft: V = (2/3)π(1,000) ≈ 2,094 ft³. Total volume ≈ 11,519 ft³, or about 426.6 cubic yards.

Frequently Asked Questions

How do you calculate the volume of a cylinder?

The volume of a cylinder is V = πr²h, where r is the radius of the circular base and h is the height. Multiply the area of the circular base (πr²) by the height. For example, a water tank with a radius of 2 meters and a height of 5 meters has a volume of π × 4 × 5 ≈ 62.83 cubic meters, which is about 62,830 liters or 16,602 gallons.

What is the difference between volume and surface area?

Volume measures the amount of three-dimensional space inside an object, expressed in cubic units (cm³, ft³, m³). Surface area measures the total area of all the outer surfaces of a 3D object, expressed in square units (cm², ft²). Volume tells you how much a container can hold (capacity), while surface area tells you how much material you need to cover or wrap the object. For example, the volume of a box tells you how many items fit inside, and the surface area tells you how much wrapping paper you need.

How do you convert between different volume units?

Cube the linear conversion factor. Since 1 foot = 12 inches, 1 ft³ = 12³ = 1,728 in³. Since 1 meter = 100 cm, 1 m³ = 100³ = 1,000,000 cm³. Other useful conversions: 1 ft³ = 7.481 US gallons, 1 cubic yard = 27 ft³, 1 liter = 1,000 cm³, and 1 US gallon = 3.785 liters. Always remember to cube the factor, not just multiply by it, when converting cubic units.

Why is a cone's volume one-third of a cylinder's volume?

A cone with the same base radius and height as a cylinder always has exactly one-third the volume. This can be proven using calculus by integrating the cross-sectional area of the cone from base to apex. Intuitively, it takes exactly three cones of sand to fill a cylinder of the same dimensions. This 1:3 ratio was first proven rigorously by Archimedes and is one of the most elegant results in geometry.

How do you calculate the volume of an irregular shape?

For irregular shapes, you can decompose the object into simpler shapes (spheres, cylinders, cones, boxes) and add their volumes. Alternatively, use the subtraction method by calculating a larger enclosing shape and subtracting cut-out portions. For physical objects, the water displacement method works well: submerge the object in water and measure the volume of water displaced. In mathematics, calculus provides exact methods using integration of cross-sectional areas.

Related Calculators