Match the solid to the space being calculated
Volume measures three-dimensional space in cubic units. To calculate it, identify a solid whose dimensions and boundaries match the problem: a cuboid, cube, cylinder, cone, sphere, triangular prism or rectangular-base pyramid. These seven shapes use different formulas, even when the supplied numbers happen to be identical. A cone and cylinder with the same base radius and height, for example, do not enclose the same amount of space.
The Volume Calculator finds the complete geometric volume of the selected solid from positive dimensions. Choose a shape and inspect its labeled diagram before entering measurements. Changing shape loads example values, so replace them with your actual dimensions. The diagram is not to scale. This guide uses hypothetical examples for checking the equations; they are not estimates of container capacity, material quantities or the amount of usable water in a real aquarium.
Multiply three perpendicular dimensions for boxes and cubes
A cuboid, also called a rectangular prism, has volume V = abh, with mutually perpendicular length, width and height. Dimensions 3 m, 2 m and 4 m give 24 m³. Multiplying just 3 by 2 produces the base area, 6 m²; multiplying that by height supplies the third dimension. Keep the unit powers visible so a square-unit intermediate result is not mistaken for the final volume.
A cube has all three edge lengths equal, so V = a³. A cube with side 3 cm has volume 27 cm³. Its face area is 9 cm² and its total surface area is 54 cm²; neither is a substitute for volume. If the object has rounded edges, a hollow center or varying dimensions, the simple outer cuboid or cube model describes only an idealized boundary and needs further interpretation.
Compare cylinders and cones using the same base
A circular cylinder has base area πr² and volume V = πr²h. Radius 3 cm and height 5 cm produce 45π cm³, approximately 141.371669412 cm³. The radius field needs half of an edge-to-edge diameter through the center. Supplying diameter 6 cm as radius 6 cm would quadruple the cylinder's volume because the circular base area depends on the square of the entered radius.
A cone with that same radius and perpendicular height has volume V = πr²h / 3, giving 15π cm³, approximately 47.1238898038 cm³. Its height runs from the base plane to the apex at right angles; a slant measurement along the outer surface is a different length. The factor of one third compares full solids with matching base and height, not arbitrary cones and cylinders chosen because they look similar.
Cube the radius for a sphere
A sphere has volume V = 4πr³ / 3. Radius 3 cm gives 36π cm³, approximately 113.097335529 cm³. If the source gives diameter 6 cm, halve it before using the radius input. Unlike the cylinder case with unchanged height, doubling a sphere's radius multiplies its entire volume by eight. That cubic scaling makes a radius-versus-diameter mistake especially large and easy to spot with a quick ratio check.
The sphere option describes a complete solid, not a hemisphere, spherical cap or partly filled spherical vessel. A hollow sphere also needs an inner boundary to establish material volume. You may calculate separate full-sphere volumes and subtract them in a documented external calculation if that model actually fits, but the interface does not request wall thickness or automatically turn an outside radius into usable interior space.
Separate a triangular prism's face height from its length
A triangular prism uses V = (bh / 2)L. Here b is the triangle's base, h is the triangle's perpendicular height, and L is the prism length between its parallel triangular faces. With b = 8 cm, h = 6 cm and L = 10 cm, the triangular face area is 24 cm² and the volume is 240 cm³. Labeling those two distinct directions prevents the word height from referring to the wrong measurement.
The prism length is not a sloping side of the triangular face. If the problem supplies all three triangle sides instead of a perpendicular height, another method is needed to obtain its area or the required height first. The calculator's triangular-prism mode does not apply Heron's formula or infer an unknown angle. Use a measured or correctly derived perpendicular height and preserve that derivation with the final volume record.
Use perpendicular apex height for a rectangular pyramid
A pyramid with rectangular base sides a and b has volume V = abh / 3, where h is perpendicular to the base plane. Base dimensions 8 cm and 6 cm with height 9 cm give 144 cm³. A cuboid on the same base with the same perpendicular height would have volume 432 cm³. The pyramid occupies one third of that ideal comparison volume, providing a direct independent check on the arithmetic.
A sloping face height or corner-to-apex edge cannot be entered as h without an appropriate geometric conversion. The needed conversion depends on the apex position and which sloping measurement is supplied. This mode assumes that you already know the perpendicular height; its diagram explains the input rather than solving every possible pyramid measurement problem. It supports a rectangular base, not every polygonal pyramid or a truncated pyramid with a second top face.
| Solid | Volume formula | Example in cubic centimeters |
|---|---|---|
| Cuboid | abh | 3 × 2 × 4 = 24 |
| Cube | a³ | 3³ = 27 |
| Cylinder | πr²h | r = 3, h = 5: 45π |
| Cone | πr²h / 3 | r = 3, h = 5: 15π |
| Sphere | 4πr³ / 3 | r = 3: 36π |
| Triangular prism | (bh / 2)L | b = 8, h = 6, L = 10: 240 |
| Rectangular pyramid | abh / 3 | a = 8, b = 6, h = 9: 144 |
Every example in this table uses centimeter dimensions. Heights are perpendicular; L is the prism length and circular measurements use radius.
Keep cubic units separate from capacity conversions
All dimensions in one calculation must share the selected length unit. The result then uses that unit cubed. A box 2 m long, 50 cm wide and 40 cm high is 2 m by 0.5 m by 0.4 m, giving 0.4 m³. Multiplying the raw numbers 2, 50 and 40 and attaching cubic meters would mix incompatible units and inflate the answer by a factor of 10,000.
The selector does not convert existing measurements; it reinterprets their numbers. Once a volume is known, use the Volume Converter for liters, milliliters or explicitly identified US and imperial gallons. For example, the 0.4 m³ box corresponds to 400 liters of ideal enclosed space. That conversion does not establish actual fill volume: wall thickness, headspace, objects inside and the chosen waterline can all change the usable capacity of a physical container.
Check scale and choose a more specific model when needed
Doubling every linear dimension multiplies the volume of any supported shape by eight. Doubling only a cylinder's height doubles its volume, while doubling only its radius multiplies it by four. These checks help distinguish an input error from a misunderstanding of the equation. Invalid or nonpositive dimensions are rejected, and finite numerical ranges apply. Rounded displayed values should not be reused as exact inputs when a later calculation needs more precision.
This educational model reports geometry, without adding waste, deriving mass from density or approving structural loads. For aquariums, use the Aquarium Volume Calculator when water height and solid displacement matter; the generic solid formula does not replace that workflow. Save the shape, original dimensions, unit and formula with the result. Then select any necessary practical model separately instead of treating a cubic-unit answer as a complete purchase, stocking or engineering recommendation.