Saved

Press the star next to a tool's name to save it.

All my tools

Volume and Surface Area Calculator

Choose a shape and enter its measurements, and this volume and surface area calculator gives both answers, along with the capacity in liters and US gallons.

Restored your last values ·

Use the same unit for every measurement.

Volume

–

Enter the measurements of your shape.

See full result

A volume and surface area calculator gives you both key measurements of a solid shape at once. Choose a sphere, a cube, a cuboid, a cylinder or a cone, enter its measurements, and this volume and surface area calculator returns the volume, the total surface area, and the capacity in liters and US gallons. It's useful for homework, for working out how much a tank or a container holds, for estimating paint or wrapping, and for any project where you need to move from measurements to materials. You can enter a radius or a diameter, and choose from common metric and US units.

How to use the volume and surface area calculator

  1. Choose your shape.
  2. Enter the measurements, all in the same unit.
  3. Tick the diameter box if you've measured across the widest part of a circle.
  4. Choose the unit.
  5. Press Calculate.

Volume and surface area formulas

ShapeVolumeSurface area
Sphere4/3 × π × r³4 × π × r²
Cubea³6 × a²
Cuboidl × w × h2 × (lw + lh + wh)
Cylinderπ × r² × h2 × π × r × (r + h)
Cone1/3 × π × r² × hπ × r × (r + s)

In the last row, s is the slant height of the cone, which is the square root of r² + h². The surface areas given here include all of the faces, such as both ends of a cylinder and the base of a cone.

Worked examples

  • Sphere: with a radius of 5 feet, the volume is 4/3 × π × 125 = 523.5988 cubic feet, and the surface area is 4 × π × 25 = 314.1593 square feet.
  • Cube: with a side of 3, the volume is 27 cubic units and the surface area is 54 square units.
  • Cuboid: with sides of 4, 3 and 2, the volume is 24 cubic units and the surface area is 2 × (12 + 8 + 6) = 52 square units.
  • Cylinder: with a radius of 2 and a height of 5, the volume is 62.8319 cubic units and the surface area is 87.9646 square units.
  • Cone: with a radius of 3 and a height of 4, the slant height is 5, the volume is 37.6991 cubic units and the surface area is 75.3982 square units.

What is the difference between volume and surface area?

Volume measures the space inside a shape, so it's stated in cubic units. Surface area measures the total area of the outside, so it's stated in square units. Imagine a box. Its volume tells you how much it can hold, while its surface area tells you how much cardboard or paint is needed to cover it. Doubling every dimension of a shape multiplies its surface area by four but multiplies its volume by eight, which is why large objects hold so much more than you might expect.

A little history of the sphere

Archimedes first derived the formula for the volume of a sphere, around 225 BCE, in his work On the Sphere and Cylinder. He showed how a sphere relates to the cylinder that just contains it, with the same height and diameter. He's said to have considered this among his greatest achievements. The two formulas he found are still taught today.

Radius and diameter

The radius is the distance from the center of a circle to its edge, and the diameter is the full distance across, which is twice the radius. In practice, the diameter is often far easier to measure, particularly on a real object like a tank or a ball. Tick the diameter box, and the calculator will halve the value for you. Forgetting to halve a diameter is one of the most common errors in geometry, and it makes a volume eight times too large for a sphere.

From volume to capacity

Volume is often used to find out how much a container holds. The calculator converts the result into liters and US gallons, so that you can read off the capacity of a tank, a planter or an aquarium directly. A 2-foot-long, 1-foot-wide, 1-foot-high tank holds 2 cubic feet, which is about 56.634 liters, or 14.961 US gallons. Remember that a real container has walls, so the inside measurements are the ones that count.

Where these calculations are used

  • School and exam math, to check your own working.
  • Construction, to work out concrete for round columns.
  • Packaging and shipping, to compare box sizes.
  • Gardening, to calculate how much soil a raised bed needs.
  • Cooking, to convert the size of a pan into a capacity.

Choosing the right shape

Real objects rarely match a perfect shape, so choose the closest one and treat the answer as an estimate. A box, a room or a raised garden bed is a cuboid. A pipe, a can or a round tank is a cylinder. A ball is a sphere, and a pile of sand or gravel is often close to a cone. For a more complicated object, split it into simpler parts, work out each part separately, and then add the volumes together.

Common mistakes

  • Mixing units. Convert everything to the same unit first.
  • Using the diameter as the radius. Tick the box if you measured across.
  • Confusing slant height with height. A cone's height goes straight up.

Work in two dimensions with the area and perimeter calculator, find a missing side with the Pythagorean theorem calculator, and change units with the volume converter.

What next

Use this often? Add Volume and S to your Home screen.

Frequently asked questions

How does the volume and surface area calculator work?

It applies the standard geometry formula for the shape you choose to your measurements.

What is the formula for the volume of a sphere?

4/3 × π × r³, where r is the radius.

What is the surface area of a cube?

6 × a², where a is the length of one side.

How do I find a cuboid's volume?

Multiply its length, width and height together.

Can I enter the diameter?

Yes. Tick the diameter box and the tool halves it for you.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools