Volume of Pyramid Calculator

Measure every pyramid with flexible base inputs easily. See detailed steps before saving your calculation. Use consistent units for dependable volume estimates every time.

Calculate a pyramid volume

Choose one base method. Enter all length values in the selected unit.

Use the selected length unit squared.

Formula used

The universal pyramid formula is V = B × h ÷ 3.

V is volume. B is the base area. h is the perpendicular height.

Rectangular base
B = length × width
Square base
B = side²
Triangular base
B = ½ × base × triangle height
Regular polygon base
B = n × side² ÷ [4 × tan(π ÷ n)]

When slant height is known, use h = √(slant height² − base apothem²).

How to use this calculator

  1. Select the base shape that matches your pyramid.
  2. Choose direct height or slant-height conversion.
  3. Select one length unit for every input.
  4. Enter the base dimensions or a known base area.
  5. Enter the vertical height, or slant height and apothem.
  6. Press Calculate Volume to show results above the form.
  7. Download CSV or PDF after checking the displayed values.

Example data table

Base type Base measurements Vertical height Base area Volume
Rectangular6 m × 4 m9 m24 m²72 m³
Square8 m side15 m64 m²320 m³
Triangular10 m × 7 m12 m35 m²140 m³
Regular hexagon6 sides, 5 m each10 m64.952 m²216.506 m³
Custom area48 m² supplied9 m48 m²144 m³

Understanding pyramid volume

Why volume matters

Pyramids appear in school geometry, architecture, packaging, landscaping, and model building. Their volume tells you how much space exists inside a solid shape. This matters when estimating material, storage, excavation, or container capacity. A pyramid narrows from a flat base to one apex. That shape creates a volume smaller than a prism with matching base area and height.

Find the base area first

The key measurement is the base area. A rectangular pyramid uses length times width. A square pyramid uses the side length squared. A triangular pyramid uses one half times its base and perpendicular triangle height. Regular polygon pyramids use the number of sides and side length. When the base is irregular, calculate its area separately and enter the custom result.

Use the perpendicular height

Next, find the perpendicular height. This is the straight distance from the base plane to the apex. It is not normally the sloping edge. Using slant height by mistake produces an oversized answer. Some designs provide slant height and base apothem instead. The calculator can derive the perpendicular height with the Pythagorean theorem. The slant height must exceed the apothem.

Apply the one-third rule

After finding base area and perpendicular height, multiply them together. Divide that product by three. The result uses cubic units. Centimetres produce cubic centimetres. Metres produce cubic metres. Inches produce cubic inches. Keep every length measurement in one chosen unit before calculating. This prevents silent conversion errors.

Check and save your result

The calculator also offers useful checks. It shows the base area and derived vertical height. It converts the final result into cubic metres, litres, and cubic feet. These comparisons help with plans that mix drawing units and supply units. Save a CSV file for worksheets, quotes, or project notes. Save a PDF summary when a printable record is needed.

For reliable estimates, measure twice and record the measurement source. Use internal dimensions for capacity. Use external dimensions for material envelopes. Round only after the final calculation. Use enough decimal places for small parts. Use practical rounding for construction orders. A volume result is an estimate when dimensions are estimated. Confirm unusual shapes with drawings or professional specifications.

Compare the result with an equivalent prism. The pyramid should hold exactly one third of that prism. This simple check quickly reveals most formula mistakes. Label exported files securely with units, date, and project reference for later review.

Frequently asked questions

1. What is the volume formula for every pyramid?

Use V = B × h ÷ 3. B is the base area. h is the perpendicular height from the base plane to the apex.

2. Can I calculate a square pyramid?

Yes. Choose Square base, enter one side length, then enter the vertical height. The calculator squares the side before applying the pyramid formula.

3. Does slant height equal vertical height?

Usually no. Slant height follows a face. Vertical height goes straight from the apex to the base plane. Use the vertical measurement for volume.

4. How does the slant-height option work?

It uses h = √(slant height² − base apothem²). The slant height must be longer than the base apothem for a real vertical height.

5. What is a base apothem?

For a regular polygon, it is the distance from the base center to the midpoint of one side. It is perpendicular to that side.

6. Can I use an irregular base?

Yes. Find the base area separately, choose Custom base area, and enter that area. Then provide the perpendicular pyramid height.

7. Why are my result units cubed?

Volume measures three-dimensional space. Length uses linear units, area uses square units, and volume uses cubic units such as m³ or cm³.

8. Can I mix centimetres and metres?

Convert every input to one unit first. Mixing units without conversion creates incorrect base areas and volumes. The calculator assumes all entered lengths share one unit.

9. How are litres calculated?

The calculator converts the result to cubic metres, then multiplies by 1,000. One cubic metre equals 1,000 litres.

10. Is this useful for material estimates?

Yes, for geometric estimates. Add waste, compaction, thickness, or supplier requirements separately. Real projects may need professional drawings and specifications.

11. What should I export after calculation?

Export the CSV for spreadsheets or the PDF for printing. Both include key measurements, formulas, and converted volume values from the displayed result.


Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.