Geometry · Formula v1.0

Pyramid Volume Calculator

Calculate the volume and surface area of a rectangular pyramid from its base and height.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Volume72
Total surface area117.3
Sensitivity check

What if base length changes?

-10% input64.8
0% input72
+10% input79.2

Answer first

What this calculator tells you

Calculate the volume and surface area of a rectangular pyramid from its base and height. Size fill, wrap or paint for a pyramid or a hip-roof shape. Formula: Volume = length × width × height ÷ 3; surface area = base + l·√((w ÷ 2)² + h²) + w·√((l ÷ 2)² + h²). At the worked-example inputs, the volume is 72. Holding every other input steady, moving base length from 4.8 to 7.2 moves the result from 57.6 to 86.4.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Volume = length × width × height ÷ 3; surface area = base + l·√((w ÷ 2)² + h²) + w·√((l ÷ 2)² + h²)At the worked-example inputs the volume is 72. It rises with height, base length and base width.

Size fill, wrap or paint for a pyramid or a hip-roof shape.

Worked example

Volume72
Total surface area117.3

Example inputs

Base length6
Base width4
Height9

How to interpret the result

A pyramid holds exactly one third of the box that has the same base and height. A 6 by 4 base standing 9 tall would fill a 216 cubic unit box, and the pyramid takes 72. That one third is the same in every pyramid and cone, whatever the base. The surface output adds the base and the four sloping faces, which is what covering it with paint, tile or shingles takes.

At the worked-example inputs the volume is 72. It rises with height, base length and base width.

Interpretation boundary

Formulas assume ideal geometric shapes. Real-world measurements carry their own error, and every input must use the same unit: mixing feet and inches silently produces a wrong answer.

Before you rely on it

What to check

Measure the height straight up from the base. The slanted edge is longer, and using it in the volume formula overstates the result.

The common error

Where people go wrong with pyramid volume calculator

Forgetting the division by three. The result then matches a box, which is three times too large.

Sensitivity evidence

How base length changes the volume

Holding every other input at the worked-example value, moving base length from 4.8 to 7.2 moves the volume from 57.6 to 86.4: a spread of 28.8, or 40% of the worked-example result.

Pyramid Volume Calculator: volume and total surface area across a range of base length, every other input held at the worked-example value.
Base lengthVolumeTotal surface area
4.857.6100.7
5.464.8109
6worked example72117.3
6.679.2125.6
7.286.4134

Every input, tested

Which input moves the volume most

Of the 3 inputs, height moves the volume most (16 across the range tested) and base width moves it least (14.4).

Pyramid Volume Calculator: volume with each input moved on its own, every other input held at the worked-example value.
InputTested fromToVolume at each endSwing
Height81064 to 8016 (22%)
Base length5.46.664.8 to 79.214.4 (20%)
Base width3.64.464.8 to 79.214.4 (20%)

Two variables at once

Volume by base length and base width

Across the grid the volume runs from 46.1 to 103.7. Moving base length from 4.8 to 7.2 shifts it by 28.8 at the middle column, and moving base width from 3.2 to 4.8 shifts it by 28.8 at the middle row, so neither is the bigger lever here.

Pyramid Volume Calculator: volume at each combination of base length (rows) and base width (columns).
Base length \ Base width3.244.8
4.846.157.669.1
5.451.864.877.8
657.67286.4
6.663.479.295
7.269.186.4103.7

The highlighted cell is the worked example: 72.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the pyramid volume calculator.
InputValue usedWhat it means
Base length6Enter the base length used in this calculation.
Base width4Enter the base width used in this calculation.
Height9The straight-up distance from the base to the tip, not the slanted edge.
Volume72
Total surface area117.3

Inputs, definitions and assumptions

Base length

Enter the base length used in this calculation. The prefilled worked-example value is 6.

Base width

Enter the base width used in this calculation. The prefilled worked-example value is 4.

Height

The straight-up distance from the base to the tip, not the slanted edge. The prefilled worked-example value is 9.

How to use this calculator

  1. 1Verify the inputs. Gather base length, base width and height from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the volume at 72. Store your own version of it as Scenario A.
  3. 3Test one change. Start with height, the input with the biggest effect here: moving height from 8 to 10 takes the volume from 64 to 80, a swing of 22% of the worked-example figure.
  4. 4Check the extremes. At half the example height (4.5) the volume is 36; at double (18) it is 144.

People also ask

Frequently asked questions

How do you calculate pyramid volume?

Volume = length × width × height ÷ 3; surface area = base + l·√((w ÷ 2)² + h²) + w·√((l ÷ 2)² + h²). At the worked-example inputs the volume is 72.

What does the pyramid volume result mean?

Size fill, wrap or paint for a pyramid or a hip-roof shape. At the worked-example inputs the volume is 72. It rises with height, base length and base width.

How much does base length change the volume?

Holding every other input at the worked-example value, moving base length from 4.8 to 7.2 moves the volume from 57.6 to 86.4, a spread of 28.8.

What are the limits of this pyramid volume calculator?

Formulas assume ideal geometric shapes. Real-world measurements carry their own error, and every input must use the same unit: mixing feet and inches silently produces a wrong answer. The tables on this page test base length only from 4.8 to 7.2; a value outside that range is not tabulated here.

Which input moves the volume most in the pyramid volume calculator?

Ranked by how far each moves the volume across the range tested: height (16, 22%), base length (14.4, 20%) and base width (14.4, 20%).

If I double height in the pyramid volume calculator, does the volume double?

Doubling it from 9 to 18 takes the volume from 72 to 144, which is 2.00 times the worked-example figure. So the result scales almost exactly in proportion. Halving it to 4.5 gives 36.

How much does base width matter in the pyramid volume calculator?

The worked example uses 4. Holding every other input at its worked-example value, moving base width from 3.6 to 4.4 takes the volume from 64.8 to 79.2, a swing of 20% of the worked-example figure.

How much does height matter in the pyramid volume calculator?

The worked example uses 9. With the other inputs left at the worked example, moving height from 8 to 10 takes the volume from 64 to 80, a swing of 22% of the worked-example figure.

Which inputs change the total surface area in the pyramid volume calculator?

At the worked-example inputs it is 117.3. Base length takes it from 109 to 125.6, base width takes it from 110.8 to 123.7 and height takes it from 107.7 to 126.9.

Why is a cone's volume exactly a third of a cylinder's?

For the same base radius and height, a cone tapers linearly to a point while a cylinder maintains its full cross-section throughout: integrating that taper over the height works out to exactly one-third the cylinder's volume, a result provable with calculus but true regardless of the specific dimensions.

All geometry questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Heron's formula : glossary term
A method for calculating a triangle's area from its three side lengths alone, without needing a separate height measurement. The method computes the semi-perimeter, half the sum of the three sides, then combines it with each side under a square root. Unlike the base-times-height formula, it applies to any triangle. Right, obtuse or scalene. The only condition is that the three lengths can actually form one.
Body surface area : glossary term
The total external surface area of the body, estimated from height and weight. Some clinical dosing and burn assessment work from it.