📦Volume Calculator

Calculate the volume and surface area of any 3D shape. Supports cubes, rectangular prisms, spheres, cylinders, cones, triangular prisms, and pyramids with instant unit conversions.

Prefer to skip the form? Scroll down and Ask AI Instead. Just describe your situation and let AI handle the math for you in seconds.

Volume

236

A cylinder with these dimensions has a volume of 235.6194 cm³ and a surface area of 251.3274 cm².

Volume236
Surface Area251
Volume (Liters)0
Volume (Gallons)0
Height / Depth3

Volume Breakdown

235.6194

251.3274

0.2356

0.0622

Advertisement

728 × 90

✦ Ask AI Instead

Volume Calculator: How to Calculate Volume of 3D Shapes

A volume calculator takes the guesswork out of one of geometry's most practical measurements. Whether you need to know how to calculate volume of 3D shapes for a school project, a construction estimate, or an everyday task like filling a tank or ordering concrete, this tool covers all seven common shapes and converts results into cubic units, liters, and gallons automatically. Enter your dimensions, select your shape, and get an instant answer.

What Is Volume and Why Does It Matter?

Volume is the amount of three-dimensional space enclosed within a solid shape. It answers the question: how much can this hold? Volume is measured in cubic units because it captures space across three directions simultaneously. Common cubic units include cubic centimeters (cm3), cubic meters (m3), cubic inches (in3), and cubic feet (ft3). One liter equals exactly 1,000 cubic centimeters, and one US gallon equals approximately 3,785 cubic centimeters. This calculator provides conversions automatically so you can work in whichever unit your project requires.

Volume of a Sphere, Cube, and Cylinder Calculator

Three shapes account for the majority of volume calculations in everyday use: the sphere, the cube, and the cylinder. Here are their formulas and where each one appears in real life:

  • Sphere volume: V = (4/3) x pi x r3. A sphere with radius 5 cm has volume 523.6 cm3, equal to about 0.52 liters. Spheres appear in tanks, balls, globes, and planets.
  • Cube volume: V = s3, where s is the side length. A cube with side 5 cm holds 125 cm3. Cubes are common in dice, sugar cubes, and cubic storage units.
  • Cylinder volume: V = pi x r2 x h. This formula multiplies the circular base area by the height. Cylinders appear in cans, pipes, columns, and tanks of all kinds.

Each of these shapes is supported by this calculator with full cubic-unit output and automatic conversion to liters and gallons.

Volume Formula for Common 3D Shapes

Rectangular Prism (Box)

The rectangular prism is the most common shape in everyday life. Cardboard boxes, rooms, shipping containers, and bricks are all rectangular prisms. Volume = length x width x height. To find how many boxes fit in a room, divide the room's volume by one box's volume. To calculate how much water a rectangular aquarium holds, multiply the interior length, width, and height in centimeters and divide by 1,000 to get liters.

Cone

A cone has a circular base that tapers to a point at the apex. Volume = (1/3) x pi x r2 x h. The one-third factor exists because a cone holds exactly one-third the volume of a cylinder with the same base radius and height. You can verify this physically: it takes exactly three full cones poured into the matching cylinder to fill it. Cones appear in funnels, ice cream cones, traffic cones, and volcanic peaks.

Triangular Prism

A triangular prism has two triangular end faces and three rectangular side faces. Volume = (1/2) x base x triangle height x prism length. This shape appears in roof profiles, glass optics, and structural engineering beams. The triangular cross-section carries the load, while the prism length determines the total enclosed capacity.

Pyramid

A rectangular pyramid has a rectangular base and four triangular faces meeting at a point. Volume = (1/3) x base length x base width x height. Like the cone, the one-third factor reflects that a pyramid fills exactly one-third the volume of the enclosing prism. The Great Pyramid of Giza, with a base of roughly 230 m x 230 m and an original height of about 146 m, has a volume of approximately 2.6 million cubic meters.

How to Calculate Volume Step by Step

Follow these steps for any shape:

  • Identify the shape and look up its formula.
  • Measure all required dimensions in the same unit. Mixing inches and feet, or centimeters and meters, is the most common source of calculation errors.
  • Substitute the values into the formula and compute.
  • Convert to your desired unit: divide cubic centimeters by 1,000 for liters, multiply cubic feet by 7.481 for gallons.

This calculator automates all four steps. Select your shape, enter your dimensions, choose your unit, and the result appears instantly in cubic units, liters, and gallons simultaneously.

Practical Applications of Volume Calculations

Aquariums and Water Tanks

Multiply the interior length, width, and height of a rectangular tank in centimeters, then divide by 1,000 to get liters. For cylindrical tanks, use pi x r2 x h. Always subtract a small amount for the volume displaced by substrate, decorations, and the headspace you leave above the water line.

Concrete and Construction

Concrete is ordered by volume in cubic yards or cubic meters. A slab 4 inches thick, 10 feet wide, and 20 feet long contains (4/12) x 10 x 20 = 66.7 cubic feet, or about 2.47 cubic yards. Accurate volume calculations prevent costly over-ordering and project-delaying shortfalls.

Shipping and Freight

Freight carriers often charge by dimensional weight, which is the package volume divided by a standard factor rather than actual weight. Knowing the volume of your shipment lets you estimate dimensional weight charges and choose packaging dimensions that minimize cost.

Frequently Asked Questions

What is the formula for the volume of a sphere?

The volume of a sphere is V = (4/3) x pi x r3, where r is the radius. For a sphere with radius 5 cm, the volume is (4/3) x 3.14159 x 125 = 523.6 cm3, which equals 0.524 liters. If you know the diameter instead of the radius, divide the diameter by 2 to get the radius before applying the formula. The sphere encloses the maximum volume for any given surface area, which is why pressurized vessels and bubbles take spherical forms.

How do I calculate the volume of a cylinder?

The volume of a cylinder is V = pi x r2 x h, where r is the base radius and h is the height. First calculate the base area (pi x r2), then multiply by the height. For a cylinder with radius 3 cm and height 10 cm: base area = pi x 9 = 28.27 cm2, and volume = 28.27 x 10 = 282.7 cm3, equal to about 0.283 liters. This formula applies to any cylinder, including pipes, tanks, and cans.

What is the difference between volume and surface area?

Volume measures how much three-dimensional space a shape encloses, expressed in cubic units (cm3, ft3). Surface area measures the total area of all outer faces, expressed in square units (cm2, ft2). A large volume can have a relatively small surface area (like a sphere) or a large surface area (like a very flat, spread-out box). Volume determines capacity; surface area determines material needed for coating, wrapping, or heat transfer.

What units are used to measure volume?

Volume is measured in cubic units because it spans three dimensions. Common units include cubic centimeters (cm3), cubic meters (m3), cubic inches (in3), and cubic feet (ft3) for geometric shapes. For liquids, liters and gallons are more familiar: 1 liter = 1,000 cm3, and 1 US gallon = 3.785 liters = 231 in3. In cooking, milliliters (1 mL = 1 cm3) and fluid ounces are used. This calculator outputs results in both cubic units and liquid-measure equivalents.