Rectangular base · Any units · Formula shown live

Pyramid Volume Calculator

Enter the base length, base width and perpendicular height. The calculator applies V = lwh/3 instantly and shows the substitution, so you can see where the number came from.

  • ✓ Base length, width and height
  • ✓ Metric and imperial units
  • ✓ Live formula substitution
Formula with your numbers V = l × w × h / 3
Volume

— cm³

Enter the values above — the volume updates instantly.

Quick answer: a pyramid holds exactly one third of the rectangular box that encloses it. Use V = l × w × h ÷ 3, where h is the perpendicular height from the base to the apex. A pyramid with a 10 cm × 8 cm base and 12 cm height holds 10 × 8 × 12 ÷ 3 = 320 cm³.

Why the answer is one third

Imagine filling a pyramid with water and pouring it into an open box with the same base and height: exactly three pyramid-fulls fill the box. This is not a rough rule for tidy pyramids — it follows from slicing the solid into thin horizontal squares. At a fraction t of the way up, the cross-section is scaled by (1 − t), so its area scales by (1 − t)². Adding those slices from base to apex gives exactly one third of the enclosing box.

The same one-third factor works for every pyramid and cone regardless of the shape of the base, which is why the cone and pyramid formulas look so alike.

Worked example, step by step

A stone plinth has a rectangular base 1.2 m by 0.8 m and stands 1.5 m tall.

  1. Base area: 1.2 × 0.8 = 0.96 m²
  2. Multiply by height: 0.96 × 1.5 = 1.44 m³ (the enclosing box)
  3. Divide by three: 1.44 ÷ 3 = 0.48 m³ of stone

At a typical masonry density around 2,400 kg/m³ that is roughly 1.15 tonnes before allowing for waste.

Recovering a missing height

Rearrange the formula to h = 3V ÷ (l × w). A pyramid required to hold 2 m³ with a 2 m × 1.5 m base needs h = 6 ÷ 3 = 2 m of height. The calculator always uses the entered numbers, so you can check reverse calculations by typing the recovered height back in.

Where this calculation is useful

  • Landscaping and hardscape: pyramidal caps on posts or planters, estimated in cubic metres before ordering material.
  • Packaging: the internal capacity of pyramid-shaped boxes and display stands.
  • Tents and shelters: volume estimates for air exchange and heating calculations.
  • Earthworks: spoil heaps approximated as pyramids when a site is levelled.

A practical checklist before you rely on the volume

Run through this short list the first time you calculate a job. It takes under a minute and prevents most of the errors that turn a correct formula into a wrong answer.

  1. Identify the shape honestly: does the object really have the constant cross-section, flat base or straight taper the formula assumes?
  2. Decide inside versus outside dimensions and write the choice down next to your measurements.
  3. Put every measurement into one unit system before multiplying; use the per-field selectors rather than converting by hand.
  4. Check that a radius is a radius and a diameter is a diameter — the factor of two enters squared or cubed.
  5. Compute a bounding case (the enclosing box or cylinder) and confirm your answer sits below it by a sensible amount.
  6. Round the final volume to match the precision of your least certain measurement, then add any wastage or freeboard allowance the job requires.

If the answer will be used by someone else, send the inputs along with the result. A number without its assumptions is hard to audit later; a number with its dimensions and units can be checked by anyone with the same calculator.

Reading the formula, term by term

The expression V = l × w × h / 3 is compact, but every symbol carries a physical meaning worth naming before you substitute numbers. In this calculator the inputs are Base length, Base width, Perpendicular height. Each is measured first, then converted into the tool's internal base unit, and only afterwards combined by the formula. That order matters: multiplying two lengths that are still in different units produces a number with no usable meaning.

Start with the dimensions that define the shape and confirm which one is a radius, which a diameter, and which a true perpendicular height. A radius enters squared or cubed in most rotational formulas, so a small measurement error there is amplified: a one-percent radius error becomes roughly a two-percent error in an area result and about a three-percent error in a volume result. A height error, by contrast, usually scales the answer linearly. Spending your measuring time on the radius or the width of the base therefore pays off more than fussing over the height.

The final division or coefficient is not decoration. It encodes how the shape tapers or how a section repeats along an axis. Removing it — even accidentally, by rounding it away — changes the meaning of the result entirely. If you ever doubt a number, rebuild the answer from a simpler bounding shape: a cone must be exactly one third of the cylinder around it, and a pyramid exactly one third of its enclosing box. Those relationships hold regardless of the units chosen.

Common mistakes & practical tips

Frequently asked questions

What is the volume formula for a pyramid?

For a rectangular base, V = l × w × h / 3. More generally, V = base area × perpendicular height / 3. The height must be measured at right angles to the base.

Does the one-third rule work for a pyramid with any base shape?

Yes. Triangular, square, pentagonal and circular-based pyramids all use V = (base area × height) / 3. The cone is the circular special case of the same principle.

How do I convert a pyramid from cubic centimetres to litres?

One litre is exactly 1,000 cm³. Divide your cm³ result by 1,000, or select L in the output unit menu — the calculator performs the conversion for you.

What if I know the slant height rather than the vertical height?

Use Pythagoras on the right triangle formed by the apex, base centre and midpoint of a side: h = √(s² − (w/2)²) for a slant s measured to the middle of a width w side.

How accurate is a pyramid volume estimate for a stockpile?

Real stockpiles have rounded crowns and irregular bases, so treat the result as an estimate. It is usually within roughly 10–20% for a reasonably regular pile.