Geometry

Volume Calculator

Calculate the volume of any shape. Select your shape, enter the dimensions, and get instant results.

Volume

125.00cubic units

Formulaside³
Inputsside: 5.00

What is the Volume Calculator?

Volume is the amount of space occupied by a three-dimensional object, measured in cubic units. Different shapes require different formulas to calculate their volume. This calculator automates those formulas for six common shapes: cubes, rectangular boxes, spheres, cylinders, cones, and pyramids.

How it works

Select your shape from the dropdown menu. Enter the required dimensions (side length, radius, height, etc.) into the input fields. The calculator computes the volume instantly using the appropriate mathematical formula and displays the result in cubic units along with the formula and input values used.

Volume formulas vary by shape: Cube (s³), Rectangular Box (l × w × h), Sphere ((4/3)πr³), Cylinder (πr²h), Cone ((1/3)πr²h), Pyramid ((1/3) × l × w × h)

Each formula represents the specific geometric relationship for that shape. Cube volumes grow cubically with side length. Cylinders and cones use the circular base area (πr²) multiplied by height; the cone divides by 3 because its volume is one-third of a cylinder with the same base and height. Pyramids similarly are one-third of a rectangular prism. Spheres use π to account for their curved surface.

Examples

InputResultNotes
Cube with side 5 units125 cubic units5³ = 125. A perfect cube scales predictably.
Sphere with radius 3 units113.10 cubic units(4/3) × π × 3³ ≈ 113.10. Spheres capture more volume than you might expect.
Cylinder with radius 2 and height 6 units75.40 cubic unitsπ × 2² × 6 ≈ 75.40. Circular bases make cylinders efficient containers.

How to use the Volume Calculator

  1. Open the calculator and identify your 3D shape
  2. Select the matching shape from the dropdown (Cube, Rectangular Box, Sphere, Cylinder, Cone, or Pyramid)
  3. Measure the required dimensions (e.g., side length for a cube, radius and height for a cylinder)
  4. Enter each measurement into its corresponding input field
  5. The volume is calculated automatically and displayed in cubic units
  6. Review the formula and inputs shown in the stats section to verify the calculation

Benefits

  • Saves time: instant results instead of manual calculation
  • Error-free: eliminates arithmetic mistakes in complex formulas
  • Educational: displays formulas and inputs so you learn the underlying math
  • Versatile: covers all common 3D shapes in one tool
  • Accessible: works entirely in your browser with no login required

Tips & common mistakes

Common mistakes

  • Forgetting that all dimensions must be in the same unit (e.g., all centimetres) for results to be meaningful
  • Confusing radius and diameter (the calculator uses radius; diameter is twice the radius)
  • Using negative or zero values, which the calculator will reject since shapes must have positive size
  • Rounding inputs too early, which can accumulate error in the final volume

Tips

  • Keep dimensions in consistent units. If you mix units (cm and inches), convert everything first.
  • For a rectangular box, length and width order doesn't matter—multiplication is commutative.
  • Remember that volume grows with the cube of linear dimensions: double the side length = 8× the volume.
  • Use this tool to compare shapes: a cube of side 5 has volume 125, while a sphere of radius 3 has volume ≈113, showing different efficiencies.

Frequently asked questions

What are cubic units?

Cubic units are the 3D equivalent of square units. If you measure dimensions in metres, volume is in cubic metres (m³). If you use centimetres, it's cubic centimetres (cm³). The calculator uses 'cubic units' as a generic label; apply the same unit system to your dimensions that you want in the result.

Why does a cone have (1/3) in its formula?

A cone's volume is exactly one-third of a cylinder with the same base and height. This is a geometric fact: if you fill a cone and a cylinder with the same radius and height with water, the cone holds exactly one-third as much.

How is a pyramid's volume calculated?

A pyramid's volume is (1/3) × base area × height. For a square base, that's (1/3) × l × w × h. Like cones, pyramids hold one-third the volume of a rectangular box with the same dimensions.

Can I use decimal values?

Yes. You can enter any positive decimal number (e.g., 2.5 or 0.75). The calculator handles them accurately.

What if I need a shape not listed here?

This calculator covers the six most common shapes. For irregular or complex shapes, you may need specialized software or consult a geometry reference for custom formulas.

Is the result always in cubic units?

Yes. The result is always expressed in cubic units matching your input dimensions. If you enter dimensions in feet, the volume is in cubic feet. Enter in millimetres, get cubic millimetres.

Related tools

FreeToolz Editorial Team · Last reviewed July 2026

Reviewed for accuracy. Results are estimates for general information and are not professional (medical, financial or legal) advice.