- Volume
- 523.6 m³
About this result
Lengths use m in this calculation. V = 4 × π × 5³ ÷ 3 = 523.598775598 m³.
How do I calculate volume?
Volume measures the space a solid occupies. For a box, multiply length × width × height. For a cylinder, multiply the area of its circular base (π × radius²) by its height. A cone with the same base and height holds one third as much. Choose your shape and set the unit beside each measurement.
How it works

Volume formulas and examples by solid
Choose from eleven solids and an alternate spherical-cap method. Here r and r₂ are radii, and h is perpendicular height or the capsule’s straight length. For an ellipsoid, a, b, and c are semi-axes. Divide a diameter or full axis length by two before entering a radius or semi-axis.
Select a shape name below to load its calculator. Diagrams show which dimensions to measure and are not to scale.
Scroll sideways to see all columns.
| Solid | Formula | Example inputs | Result |
|---|---|---|---|
Rectangular prism![]() | V = a × b × h | Length 6 m; width 4 m; height 2 m | 48 m³ |
Cube![]() | V = a³ | Edge 3 m | 27 m³ |
Cylinder![]() | V = πr²h | Radius 2 m; height 5 m | 62.83 m³ |
Sphere![]() | V = 4πr³ ÷ 3 | Radius 3 m | 113.1 m³ |
Cone![]() | V = πr²h ÷ 3 | Radius 3 m; height 4 m | 37.7 m³ |
Rectangular pyramid![]() | V = a × b × h ÷ 3 | Base 6 m × 4 m; height 3 m | 24 m³ |
Ellipsoid![]() | V = 4πabc ÷ 3 | Semi-axes 3 m, 2 m, 1 m | 25.13 m³ |
Capsule![]() | V = πr²h + 4πr³ ÷ 3 | Radius 2 m; straight cylinder length 6 m | 108.91 m³ |
Spherical cap![]() | V = πh²(3r − h) ÷ 3 | Sphere radius 5 m; cap height 2 m | 54.45 m³ |
Cap: alternate dimensions![]() | V = πh(3a² + h²) ÷ 6, where a is base radius | Base radius 4 m; cap height 2 m | 54.45 m³ |
Conical frustum![]() | V = πh(r² + rr₂ + r₂²) ÷ 3 | Radii 4 m and 2 m; height 3 m | 87.96 m³ |
Hollow cylinder: material![]() | V = π(r² − r₂²)h | Outer radius 3 m; inner radius 2 m; height 5 m | 78.54 m³ |
Measure the radius, perpendicular height, and straight length
Use the center-to-edge radius of a sphere, cylinder, cone, or capsule. Entering diameter instead of radius makes a sphere’s volume eight times too large and a cylinder’s volume four times too large. Cone and pyramid height is perpendicular to the base, not measured along the sloping side.
A capsule combines a cylinder with two hemispherical ends. Enter only the straight cylinder length as h; overall length is h + 2r. For an ellipsoid, enter half of each full axis length. A solid measuring 6 m × 4 m × 2 m across its three axes has semi-axes 3 m, 2 m, and 1 m.
How much water is in a partly filled tank?
A rectangular tank measures 100 cm long, 50 cm wide, and 40 cm high on the inside. It holds 200 L to the brim. If the water sits 5 cm below the rim, enter 35 cm for Height. The water occupies 100 × 50 × 35 = 175,000 cm³, or 175 L.

Each extra centimeter of water in this tank adds 5 L because the footprint stays the same. Water depth also works as the height of an upright cylinder. In a cylinder lying on its side, the width of the water surface changes as it fills. A partial fill in that position needs a circular segment calculation.
If there is an insert below the waterline, subtract its submerged volume from the space below that line. Use the volume calculator with the shape of the insert and keep both answers in the same unit.
How much soil will fill a tapered planter?
A round pot with straight, sloping sides measures 20 cm across the inside base and 32 cm across the inside rim. It is 24 cm deep. You want to leave 4 cm at the top for watering. How much potting mix will reach the mark?

When using the volume calculator for a planter with a drainage layer, measure the radius at the top of that layer. It is the lower radius of the soil region. Measure the soil depth from there to the fill line.
- Use the filled depth. From the inside floor to the soil line, the height is 24 − 4 = 20 cm.
- Find the width at that height. The pot widens by 12 cm over its full depth, so the diameter at the mark is 20 + 12 × (20 ÷ 24) = 30 cm. You can also measure across the pot at the mark.
- Choose Conical frustum. Enter 10 cm for Bottom radius, 15 cm for Top radius, and 20 cm for Height. In cubic centimeters the result is about 9,948 cm³, or 9.95 L. If a root ball is going into the pot, it takes up some of that space.
Try your measurements in the conical frustum calculator.
How do cubic units convert to liters?
Picture a cube 10 cm on each side. It holds exactly 1 liter because 10 × 10 × 10 = 1,000 cm³. To turn cubic centimeters into liters, divide by 1,000. For cubic meters, multiply by 1,000. A single cubic centimeter is 1 mL.
A box measuring 2 ft × 12 in × 6 in is 2 ft long, 1 ft wide, and half a foot tall. Its volume is 1 ft³, which equals 1,728 in³ or about 28.32 L. For cubic yards, divide cubic feet by 27.
To convert a known volume to liters, milliliters, or US or imperial gallons, use the unit conversion calculator.
How much water fits in a pipe, and how much material is in its wall?
Take a 2 m pipe with an outside diameter of 5 cm and an inside diameter of 4 cm. For water capacity, choose Cylinder. Use the inside radius of 2 cm and enter the pipe length of 2 m as Height. The pipe holds about 2,513 cm³, or 2.51 L.

For the wall itself, choose Hollow cylinder. Use the same length with an outer radius of 2.5 cm and an inner radius of 2 cm. Subtracting the hollow center leaves about 1,414 cm³ of pipe material.
Calculate each non-overlapping solid separately, then add their volumes in the same unit. Subtract empty regions when measuring material. A 4 m × 3 m × 2 m block with a 1 m × 1 m opening through its 2 m height contains 24 − 2 = 22 m³ of material.
To find the area you would paint or wrap, use the surface area calculator.
Why can a spherical cap have two answers?
With the sphere radius r and cap height h, the cap is defined: h must be greater than zero and no greater than 2r. With a base radius a and cap height h, the alternate mode first finds r = (a² + h²) ÷ (2h). For a = 4 m and h = 2 m, r = 5 m and volume is about 54.45 m³.
With only sphere radius r and base radius a, there can be two cap heights: r − √(r² − a²) and r + √(r² − a²). A sphere of radius 5 m cut along a base circle of radius 4 m gives heights 2 m and 8 m. The alternate mode shows both caps, so choose the one matching the piece you measured.
Volume, material allowance, and measurement precision
Area uses square units; volume uses cubic units. A slab 6 m long, 4 m wide, and 0.1 m thick covers 24 m² and contains 2.4 m³. Thickness must be included when estimating material, even when it is much smaller than the other dimensions.
The result models the dimensions entered. Keep unrounded values when combining pieces, then round to match measurement precision. Material allowances, compaction, and purchase quantities are separate from geometric volume.
For slabs and round columns with an extra-material allowance, use the concrete calculator.
Choosing a shape in the volume calculator
Look at the ends of the object as well as its sides. A round container with parallel circular ends is a cylinder. A container that gets wider from one circular end to the other has a different cross section at each height. If its sides are straight, the conical frustum is a better model. Trace the outline from the top to the bottom before deciding which measurements to take.
Consider a cube with an inside edge of 20 cm and a cylindrical jar with an inside diameter of 20 cm and an inside height of 20 cm. The cube holds 8,000 cm³, or 8 L. The jar has a radius of 10 cm and holds about 6.28 L. Imagine the jar standing inside the cube. The four empty corners explain why the cube holds more even though both objects have the same overall width and height. This is a quick way to check whether the result is plausible.
Measuring a storage box with thick walls
A manufacturer may give the outside dimensions of a box because those are what matter on a shelf. To find how much it holds, take measurements between the inside faces. If you can only measure the outside, draw a cross section and mark the material you need to subtract. Each pair of opposite walls takes space from that dimension. For an open box, only the bottom takes space from the vertical dimension.
Suppose an open box measures 50 cm long, 30 cm wide and 24 cm high on the outside. Its side walls are 1 cm thick and its bottom is 2 cm thick. In the volume calculator, choose Rectangular prism and enter the inside dimensions of 48 cm, 28 cm and 22 cm. That gives 29,568 cm³ of space. If the contents must stop 2 cm below the rim, enter a fill height of 20 cm instead. The usable space falls to 26,880 cm³. A lid that fits inside the box can take up some of that space as well.
Check the inside dimensions in the volume calculator.
Measuring an irregular object by displacement
A smooth stone can have a length, width and height yet leave considerable space around it inside a rectangular box. For a small waterproof object that can be fully submerged, a graduated container lets you measure that difference directly. Record the water level, place the object in the water, and record the new level after the surface settles. Keep enough space above the original water level to avoid losing any water over the rim.
If the level rises from 140 mL to 173 mL, the displaced water occupies 33 mL. A milliliter equals a cubic centimeter, so the submerged object occupies 33 cm³. Read both levels at eye level and use the same edge of the curved water surface each time. Bubbles caught beneath the object add to the apparent volume. For a hollow object, water that enters an opening also changes what the measurement represents.
You can use the volume calculator to compare that reading with a geometric estimate. For example, enter the dimensions of the smallest rectangular box that encloses the stone. The stone should occupy at most that much space. A larger displacement reading is a reason to check the units or the water levels.
Finding the fill depth for a known capacity
When a tank has straight vertical sides, each extra centimeter of depth adds the same volume. To find the depth that corresponds to a particular capacity, divide that capacity by the area of the base. First express the volume and base area in compatible units. Liters divided by square centimeters need a conversion before the answer can be read in centimeters.
Take a tank whose inside base is 60 cm by 40 cm. Its base area is 2,400 cm². For a target of 48 L, divide 48,000 cm³ by that area to get a water depth of 20 cm. Enter the three dimensions in the volume calculator to check the result. If the water is already 12 cm deep, only the upper 8 cm needs filling. That layer holds 19,200 cm³, or 19.2 L. Measuring from the inside bottom gives both depths the same starting point.
A tank standing on a tapered base fills differently. The area of its water surface changes as the level rises. For that shape, measure the radii at the two water levels and use the vertical distance between them as the height of the frustum.
Where to measure the length of a capsule
A capsule has a straight circular middle and a hemispherical end at each side. Imagine cutting across it where each rounded end meets the middle. The two end pieces together form a sphere. The height field for the middle measures the distance between the cuts. A tape running from the tip of one end to the tip of the other also includes the two rounded sections.
For a capsule that measures 10 cm from tip to tip and 4 cm across, each rounded end extends 2 cm along its length. The straight middle is therefore 6 cm long. Choose Capsule in the volume calculator, enter a radius of 2 cm and a cylinder length of 6 cm. The combined volume is about 108.91 cm³. A flat-ended cylinder of the same overall length and radius would hold about 125.66 cm³. The rounded capsule fits inside that cylinder, which gives you an upper bound for the answer.
If the measured ends have different shapes or the middle changes diameter, mark the sections on a sketch. Estimate each identifiable part separately and record which dimensions you had to approximate.
How a scale change affects volume
A model maker who enlarges a drawing also needs to scale the depth of the object. Increasing every length changes the number of small cubes that fit along three directions. For a scale factor of one and a half, multiply the original volume by that factor three times. Keeping a hole or a wall thickness at its original size changes the geometry, so the same shortcut then requires a closer look.
You can see the effect in the volume calculator with a rectangular block measuring 10 cm by 6 cm by 4 cm. Its volume is 240 cm³. At the larger scale the dimensions become 15 cm by 9 cm by 6 cm, giving 810 cm³. The larger block occupies 3.375 times the original volume. If only the length changes, the base width and height stay fixed and the volume grows in direct proportion to the length. Write down which dimensions changed before applying a scale factor to a materials estimate.
Adding a raised section and subtracting a hole
Break up a stepped object where the cross section changes. Picture a display stand with a wide base and a smaller rectangular platform on top. The platform adds material only above the base. If a drawing gives a single height from the table to the top of the stand, subtract the base thickness to find the extra height of the platform.
A base measuring 30 cm by 20 cm by 4 cm occupies 2,400 cm³. A platform measuring 20 cm by 10 cm by 3 cm adds 600 cm³. Together they contain 3,000 cm³ before any hole is drilled. Run the volume calculator in Cylinder mode for a circular hole of radius 1 cm passing vertically through both pieces. At a depth of 7 cm the hole removes about 21.99 cm³, leaving about 2,978.01 cm³ of material. A hole drilled through the platform alone would have a shorter depth. Mark the start and end of the hole on the drawing before choosing that measurement.
How many small boxes fit in a carton?
Dividing the inside volume of a carton by the outside volume of one item gives an upper limit on the number of items it can hold. A corner gap may have plenty of volume and still be too narrow for another item. If the items must stay upright, count how many complete items fit along each of the three directions and multiply those counts.
Try a carton with inside dimensions of 30 cm by 20 cm by 12 cm. Small boxes measuring 10 cm by 5 cm by 4 cm fit three along its length, four across and three layers high. That arrangement holds 36 boxes. For boxes measuring 16 cm by 10 cm by 6 cm in that fixed orientation, only one fits along the length, two across and two layers high. The arrangement holds four. The volume calculator gives the capacity of the carton and the volume of an individual box. The dimension counts explain the unused space. If rotation is allowed, try another orientation and compare the counts before choosing a layout.
What to keep in mind
Measure the inside dimensions for tank capacity. A partially filled horizontal cylinder needs a separate calculation using the liquid level.
Formula references
- OpenStax: volume and surface area (opens in a new tab)
- Wolfram MathWorld: spherical cap formulas (opens in a new tab)
- NIST Handbook 133 (2026), Appendix E: general tables of units of measurement (opens in a new tab)
- Wolfram MathWorld on conical frustums (opens in a new tab)
- American Chemical Society guide to water displacement (opens in a new tab)
References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.
Common questions
How do I find the radius if I can only measure around a cylinder?
Wrap a tape once around the cylinder and divide that circumference by 2π. A can measuring 31.4 cm around has an outside radius of about 5 cm. To find what it holds, use the inside radius or subtract the wall thickness from the outside radius.
Can I mix feet, inches, and meters?
Yes. Set the unit beside each dimension. If one side measures 5 ft 6 in, enter 5.5 feet or 66 inches. Those 6 inches are half a foot.
How do I find the volume of an irregular stone?
For a stone that sinks and does not absorb water, use water displacement. Read the level in a graduated cylinder at eye level. Lower the stone until it is fully covered and release any trapped bubbles. A rise from 75 mL to 93 mL gives a stone volume of 18 mL, or 18 cm³.
Which gallon should I use for tank capacity?
A US liquid gallon is about 3.785 L. An imperial gallon is about 4.546 L. If a tank label just says “gal,” check which gallon the manufacturer uses before comparing capacities.
Does capsule length include the rounded ends?
The Cylinder length input includes only the straight section. The total end-to-end length is that straight length plus twice the radius. The calculator adds the volume of both hemispherical ends automatically.
How deep will a known volume of water be in a rectangular tray?
Divide the water volume by the inside base area. A tray measuring 40 cm by 25 cm inside has a base area of 1,000 cm². Pour in 12 L (12,000 cm³) and the water will be 12 cm deep, provided the sides are vertical and tall enough.
See our methodology and editorial policy.












