CalcCards

Volume Calculator: Find the Volume of Any 3D Shape Instantly

Updated Apr 10, 2026

Volume Calculator

Results

Volume400.00
Gallons1.73
Liters6.55
View saved →

Embed

Add this to your site

<iframe
  src="https://calc.cards/embed/math/volume-calculator"
  width="600"
  height="700"
  frameborder="0"
  loading="lazy"
  title="Calc.Cards calculator"
  style="border:1px solid #e0e0e0;border-radius:8px;max-width:100%;"
></iframe>

Free with attribution. The Volume Calculator runs entirely inside the iframe.

Branded

Customize & brand for your site

Get the Volume Calculator as a self-contained widget styled with your colors and logo. No iframe, no Calc.Cards branding.

  • Brand color palette (auto-extract from your URL)
  • Your logo, your typography
  • Clean HTML/CSS/JS you can drop on any page
  • Lifetime updates if the formula changes
Brand this calculator — $199

Need something different? Build a fully custom calc

From Shipping Boxes to Swimming Pools

Whether you're calculating how much water fills a pool, figuring out if a box fits your belongings, or determining the capacity of a storage container, you need volume. A volume calculator handles every common 3D shape, turning complex geometry into instant answers. Enter your measurements and get the cubic units-no hunting formulas or wrestling with calculators.

What This Calculator Does

A volume calculator computes the space inside any 3D object using the appropriate formula. Cubes need just one dimension. Cylinders need radius and height. Spheres need only radius. Cones and pyramids need base area and height. Rather than remembering which formula applies or spending time on hand calculations, you select your shape, enter dimensions, and get an instant answer in cubic units.

How to Use This Calculator

Select the 3D shape from a dropdown-cube, rectangular prism (box), cylinder, sphere, cone, pyramid, or others depending on features. Input fields appear for that shape's required dimensions. For a cube, you enter one side length. For a rectangular box, length, width, and height. For a cylinder, radius and height. For a sphere, just the radius.

Enter measurements in consistent units. All dimensions should be in feet, inches, meters, or whatever unit you're using. The calculator displays the volume in cubic units-cubic feet, cubic inches, cubic meters. Some calculators let you convert between volume units afterward (cubic feet to gallons, for example).

The calculator shows the result immediately and often displays the formula used, helping you understand the calculation or verify it's correct. For multi-shape problems, you can calculate components separately and combine results.

The Formula Behind the Math

Cube: Volume = side³

A cube where each edge is 4 inches: V = 4³ = 64 cubic inches

Rectangular Prism (Box): Volume = length × width × height

A storage box measuring 10 ft × 8 ft × 6 ft: V = 10 × 8 × 6 = 480 cubic feet

Cylinder: Volume = π × r² × h

Radius and height must be perpendicular. A cylindrical water tank with radius 3 meters and height 8 meters: V = π × 3² × 8 = 72π ≈ 226.19 cubic meters

Sphere: Volume = (4/3) × π × r³

A spherical tank with radius 2 feet: V = (4/3) × π × 2³ = (4/3) × π × 8 ≈ 33.51 cubic feet

Cone: Volume = (1/3) × π × r² × h

The height is from the base to the apex, perpendicular to the base. A cone with base radius 5 cm and height 12 cm: V = (1/3) × π × 5² × 12 = 100π ≈ 314.16 cubic cm

Pyramid: Volume = (1/3) × base area × height

Calculate the base area first (using area formulas), then apply the pyramid formula. A pyramid with a square base (5 ft × 5 ft = 25 sq ft area) and height 9 ft: V = (1/3) × 25 × 9 = 75 cubic feet

Notice that cones and pyramids have the (1/3) factor-they taper to a point, so they hold one-third the volume of a cylinder or prism with the same base and height.

Our calculator does all of this instantly-but now you understand exactly what it's computing.

Aquarium and Pool Sizing

You want to build a circular pool with a diameter of 20 feet and depth of 5 feet (an approximation as a cylinder).

Radius = 10 feet

Volume = π × 10² × 5 = 500π ≈ 1,570.80 cubic feet

To convert to gallons: 1,570.80 × 7.48 ≈ 11,750 gallons. Now you know the exact capacity and can size your filtration system accordingly.

Shipping and Storage Container Capacity

A rectangular storage container measures 8 ft × 6 ft × 4 ft.

Volume = 8 × 6 × 4 = 192 cubic feet

If standard moving boxes are 2 ft × 2 ft × 2 ft (8 cubic feet each), you could theoretically fit about 24 boxes in the container (192 ÷ 8 = 24), though real packing is less efficient due to gaps. A volume calculator helps estimate what you can store.

Concrete and Material Ordering

You're pouring a concrete slab foundation for a small garage: 20 feet wide, 24 feet long, and 4 inches deep.

Convert 4 inches to feet: 4/12 ≈ 0.33 feet

Volume = 20 × 24 × 0.33 ≈ 158.4 cubic feet

Concrete is often ordered in cubic yards. Convert: 158.4 cubic feet ÷ 27 cubic feet per cubic yard ≈ 5.9 cubic yards. Order 6 cubic yards and you'll have enough with minimal waste.

Tips and Things to Watch Out For

Radius, not diameter, for spheres and cylinders. If you're given a diameter, divide by 2. A sphere with a 10-foot diameter has a 5-foot radius. Using diameter directly leads to an 8x error in volume (diameter squared is 4 times as large as radius squared, and for spheres you cube the radius).

Height is perpendicular. For cylinders, cones, and pyramids, height must be perpendicular to the base, not a slant height. A cone tilted at an angle has different slant height than perpendicular height.

Unit consistency throughout. If some measurements are in feet and others in inches, convert to a single unit first. Mixed units create unit errors that ruin calculations.

The (1/3) factor for cones and pyramids is essential. These shapes taper to a point, so they contain one-third the volume of a prism with identical base and height. Forgetting this factor leads to results three times too large.

Estimating first catches errors. Rough mental math should be in the ballpark of your calculated result. If you calculated 1,000 cubic feet for a box you visualize as modest-sized, something is wrong.

Complex shapes need decomposition. If you have an irregular 3D shape, break it into simple shapes (rectangular pieces, cylindrical sections), calculate each volume, and add them. A volume calculator helps with the components.

Frequently Asked Questions

What's the difference between volume and capacity?

Volume is the space an object occupies. Capacity is how much it can hold. They're related but not identical-a container's volume includes wall thickness, but its capacity is what fits inside. For most practical purposes, people treat them as equivalent.

Why is a cone's volume one-third of a cylinder with the same base and height?

The cone tapers from the base to a point. At any height h from the base, its radius is smaller than the cylinder's constant radius. Integrating these changing radii throughout the height yields exactly one-third the cylinder's volume.

How do I find the volume of a pyramid with a triangular base?

First, calculate the triangle's area. Then apply the pyramid formula: V = (1/3) × area × height. If the triangle has base 6 feet and height 8 feet, area = 24 square feet. With pyramid height of 10 feet, V = (1/3) × 24 × 10 = 80 cubic feet.

What if my measurements are in different units?

Convert everything to the same unit before calculating. If one dimension is in feet and another in inches, convert the inches to feet (or feet to inches) first. The calculator works with consistent units only.

How many gallons are in a cubic foot?

One cubic foot holds 7.48 gallons (approximately). To convert cubic feet to gallons, multiply by 7.48. To go from gallons to cubic feet, divide by 7.48. Many volume calculators include this conversion.

What's the difference between slant height and perpendicular height for cones?

Perpendicular height goes straight up from the base's center to the apex. Slant height is the distance along the slanted side from the base edge to the apex. Slant height is longer. Volume formulas require perpendicular height.

Can I calculate the volume of irregular shapes?

For complex irregular shapes, break them into standard shapes, calculate each volume separately, and add them. This works well for real-world objects like composite tanks or custom containers.

Related Calculators

The area calculator handles the 2D foundations of 3D shapes-if you need the base area for a cone or pyramid, use it. The circle calculator helps with cylindrical volumes if you need to find radius or diameter from other measurements. The pythagorean theorem calculator assists when you need to calculate one dimension from others using geometry.

Related Calculators