Skip to main content

Calcu.fit

Volume Calculator: Find the Volume of Any Common Shape

Use this free volume calculator to find the volume of a cube, rectangular box, cylinder, sphere, cone, pyramid, and other common shapes. Choose a shape, enter its measurements, and the calculator shows the volume. You can also convert the result to cubic feet, cubic meters, liters, gallons, and more. No signup needed.

How to Use This Volume Calculator

If you have a diameter, divide it by 2 to get the radius.

  1. Choose a shape.
  2. Enter the measurements, such as length, width, height, or radius. Use the same unit for all of them.
  3. Choose your unit (centimeters, meters, inches, feet, or yards).
  4. Click Calculate to see the volume and conversions.

What You’ll See in Your Results

  • Volume in cubic units
  • Volume in liters, gallons, cubic feet, cubic yards, and cubic meters
  • The formula and the steps used
  • Related values such as surface area, if your tool shows them

What Is Volume?

Volume is the amount of space inside a three-dimensional object. It is measured in cubic units, such as cubic centimeters (cm³), cubic meters (m³), cubic inches (in³), and cubic feet (ft³). Liquid volume is often measured in liters or gallons.

Volume Formulas

ShapeFormulaVariables
CubeV = a³a = side length
Rectangular prism (box)V = l × w × hlength, width, height
CylinderV = π × r² × hr = radius, h = height
SphereV = (4/3) × π × r³r = radius
HemisphereV = (2/3) × π × r³r = radius
ConeV = (1/3) × π × r² × hr = radius, h = height
PyramidV = (1/3) × base area × hh = height
Triangular prismV = (1/2) × b × a × lb = triangle base, a = triangle height, l = length
EllipsoidV = (4/3) × π × a × b × ca, b, c = semi-axes
CapsuleV = π × r² × h + (4/3) × π × r³h = length of the cylinder part
Cone frustumV = (π × h ÷ 3) × (R² + R×r + r²)R, r = radii, h = height

π is about 3.14159. A cone has one-third the volume of a cylinder with the same base and height, and a pyramid has one-third the volume of a prism with the same base and height.

Volume Examples

Example 1: Cube

A cube has a side of 5 cm.

  • V = 5³ = 125 cm³

Example 2: Rectangular Box

A box is 10 cm long, 4 cm wide, and 3 cm high.

  • V = 10 × 4 × 3 = 120 cm³

Example 3: Cylinder

A cylinder has a radius of 3 cm and a height of 10 cm.

  • V = π × 3² × 10 = 282.74 cm³

Example 4: Sphere

A sphere has a radius of 6 cm.

  • V = (4/3) × π × 6³ = 904.78 cm³

Example 5: Cone

A cone has a radius of 4 cm and a height of 9 cm.

  • V = (1/3) × π × 4² × 9 = 150.80 cm³

Example 6: Pyramid

A pyramid has a square base of 6 cm by 6 cm and a height of 9 cm.

  • V = (1/3) × 6 × 6 × 9 = 108 cm³

Example 7: Hemisphere

A hemisphere has a radius of 5 cm.

  • V = (2/3) × π × 5³ = 261.80 cm³

Example 8: Triangular Prism

A triangular prism has a triangle with base 6 cm and height 4 cm, and a length of 10 cm.

  • V = (1/2) × 6 × 4 × 10 = 120 cm³

Example 9: Ellipsoid

An ellipsoid has semi-axes of 3, 4, and 5 cm.

  • V = (4/3) × π × 3 × 4 × 5 = 251.33 cm³

Example 10: Capsule

A capsule has a radius of 2 cm and a cylinder part 10 cm long.

  • V = π × 2² × 10 + (4/3) × π × 2³ = 125.66 + 33.51 = 159.17 cm³

Example 11: Cone Frustum

A cone frustum has radii of 4 cm and 2 cm and a height of 6 cm.

  • V = (π × 6 ÷ 3) × (4² + 4×2 + 2²) = 175.93 cm³

Everyday Volume Examples

Concrete for a Slab

A slab is 4 m long, 3 m wide, and 0.1 m thick.

  • V = 4 × 3 × 0.1 = 1.2 m³ of concrete

Order a little extra, often about 5% to 10%, to allow for waste and uneven ground.

A Water Tank

A cylindrical tank has a diameter of 2 m and a height of 3 m, so the radius is 1 m.

  • V = π × 1² × 3 = 9.42 m³
  • In liters: 9.42 × 1,000 = 9,425 liters
  • In U.S. gallons: 9.42 × 264.172 = about 2,490 gallons

The Air in a Room

A room is 10 ft by 12 ft with an 8 ft ceiling.

  • V = 10 × 12 × 8 = 960 ft³
  • In cubic yards: 960 ÷ 27 = 35.6 yd³

A Garden Bed

A raised bed is 8 ft long, 4 ft wide, and 0.5 ft (6 inches) deep.

  • V = 8 × 4 × 0.5 = 16 ft³
  • In cubic yards: 16 ÷ 27 = 0.59 yd³ of soil
  • In liters: 16 × 28.3168 = about 453 liters

A Swimming Pool

A rectangular pool is 20 ft long, 10 ft wide, and 5 ft deep on average.

  • V = 20 × 10 × 5 = 1,000 ft³
  • In U.S. gallons: 1,000 × 7.48052 = about 7,480 gallons

A Pipe or Can

A cylinder has a diameter of 4 in and a length of 12 in, so r = 2 in.

  • V = π × 2² × 12 = 150.80 in³
  • In U.S. gallons: 150.80 ÷ 231 = 0.65 gallons

Common Volume Conversions

FromToMultiply by
1 cubic meter (m³)liters1,000
1 litercubic centimeters (cm³)1,000
1 cubic meterU.S. gallons264.172
1 U.S. gallonliters3.78541
1 cubic foot (ft³)liters28.3168
1 cubic footU.S. gallons7.48052
1 cubic yard (yd³)cubic feet27
1 cubic yardcubic meters0.764555
1 cubic inch (in³)cubic centimeters16.3871
1 U.S. galloncubic inches231

A U.S. gallon and an imperial (UK) gallon are different sizes. The imperial gallon is about 4.546 liters.

Tips for Calculating Volume

  • Use the same unit for every measurement before you multiply. Convert inches to feet, or centimeters to meters, first.
  • For a cylinder or sphere, check whether you have the diameter or the radius, and use the radius in the formulas.
  • For an irregular shape, split it into simple shapes, find each volume, and add them.
  • For a hollow object, subtract the inner volume from the outer volume.
  • Round at the end, not in the middle, to keep the result accurate.
  • Add extra for waste when you order materials such as concrete, soil, or gravel.
  • Check the units on your answer. Volume is always in cubic units.

Volume vs. Other Measurements

  • Volume: the space inside a 3D object, in cubic units.
  • Capacity: how much a container can hold, often in liters or gallons.
  • Area: the size of a flat surface, in square units.
  • Surface area: the total area of the outside of a 3D object.
  • Mass and weight: how much matter there is, in kilograms or pounds. To find the weight of something, multiply its volume by its density.

Volume Calculator vs. Other Tools

  • Area Calculator: area of 2D shapes.
  • Surface Area Calculator: total outside area of 3D shapes.
  • Concrete Calculator: concrete needed for slabs and footings.
  • Unit Converter: convert between units.
  • Density Calculator: mass, volume, and density.
  • Scientific Calculator: general math and functions.

Frequently Asked Questions (FAQ)

How do I calculate volume?

It depends on the shape. For a box, multiply length × width × height. For a cylinder, use π × radius² × height. For a sphere, use (4/3) × π × radius³.

V = π × r² × h, where r is the radius and h is the height. A cylinder with r = 3 cm and h = 10 cm has a volume of 282.74 cm³.

 V = (4/3) × π × r³. A sphere with a radius of 6 cm has a volume of 904.78 cm³.

V = (1/3) × π × r² × h. A cone with r = 4 cm and h = 9 cm has a volume of 150.80 cm³.

Multiply the length, width, and height. A box that is 10 × 4 × 3 cm has a volume of 120 cm³.

Multiply by 1,000. A volume of 1.2 m³ is 1,200 liters.

Multiply by 7.48052 for U.S. gallons. A volume of 1,000 ft³ is about 7,480 gallons.

 Divide by 27. A volume of 16 ft³ is 0.59 yd³.

Volume is the space an object takes up. Capacity is how much a container can hold. They use the same math, but capacity is usually in liters or gallons.

Break it into simple shapes, find each volume, and add them. For a very irregular object, you can measure the water it displaces.

Multiply the radius by 2. To find the radius from a diameter, divide by 2.

Yes. It is free, with no registration and no limits.

It uses exact formulas and the numbers you enter, with π to many decimal places. Real objects may differ because of rounding and measurement errors.

Disclaimer

This calculator is for general informational purposes only. Results are estimates based on the measurements you enter. For construction, engineering, or safety-critical work, double-check your numbers and consult a qualified professional.