Pyramid Volume Calculator
Calculate the volume of a pyramid from a regular polygon base or a known base area, with optional right-pyramid surface geometry.
Pyramid inputs
Live results
Pyramid volume
2,448,591.82 m³
V = ⅓ × 53,038.09 m² × 138.5 m
Results will appear when the active fields contain valid nonnegative numbers.
Pyramid volume is 2,448,591.82 cubic meters.
Surface area composition
For a right pyramid with a regular base, total surface area is the base area plus the lateral area of the triangular faces.
Use a regular polygon side and enable right-pyramid details to calculate the two area components.
Geometry detail
| Measure | Value | How it is obtained |
|---|
How to use the pyramid volume calculator
What this calculator does
This calculator estimates the volume enclosed by a pyramid and, when enough regular-base information is available, its main right-pyramid dimensions and surface areas. The core identity is exact for any pyramid whose base area and perpendicular height are known: volume equals one third of base area multiplied by height. The tool can derive the base area from a regular triangle, square, pentagon, hexagon, heptagon, or octagon, or it can accept a measured base area directly. It does not determine structural capacity, material waste, wall thickness, tolerances, or whether a physical object is a perfect pyramid.
When to use it
Use it to check homework or geometry exercises, estimate the internal volume of pyramid-shaped packaging or architectural forms, compare designs with different base shapes, or convert a measured plan area and height into a cubic quantity. It is also useful when estimating surface coverage for a right pyramid, because the optional detail mode separates the base from the triangular faces.
How to calculate
The calculator opens with a complete demonstration based on a square pyramid: height 138.5 m and side length 230.3 m. The result and a validated Excel workbook are ready immediately.
- Choose Base definition. Select Regular polygon side when one base side is known, or Known base area for an irregular or already measured base.
- For a regular base, choose Shape of base and enter Side length (a). Then enter the perpendicular Height (h).
- Select the Length unit. Existing dimensions are converted automatically; area is shown in square units and volume in cubic units.
- Keep Show right-pyramid details enabled when the apex is directly above the base center and you want slant height, lateral edge, and surface area.
- Read the live result cards, the surface-area composition, and the geometry table. Choose Download Excel to export the current typed inputs and canonical calculated values.
- Reset clears the demonstration values and all computed content. Download Excel is then disabled until a complete valid input set is entered again.
Input guide
Base definition is required and controls which base input is active. Regular polygon side uses a side length and a polygon formula; Known base area accepts a nonnegative decimal in square units. A common mistake is entering a linear measurement in the base-area field.
Shape of base is required in regular-polygon mode. Choose the exact number of equal sides in the base. Changing the shape changes the area produced by the same side length; for example, a regular hexagon encloses more area than a square with the same side. Do not use this control for an irregular polygon.
Length unit is required and may be millimeters, centimeters, meters, inches, or feet. The calculator follows the cubic relationship between length and volume, so converting 1 m to 100 cm converts 1 m³ to 1,000,000 cm³. NIST explains why volume is expressed in cubic units and how common SI volume units relate.
Height (h) is required. Enter a nonnegative ordinary decimal such as 138.5; commas may be used only as thousands separators, and scientific notation is not accepted. Height must be perpendicular to the base plane, not the sloping edge. Increasing height increases volume in direct proportion.
Side length (a) is required only in regular-polygon mode. Enter one nonnegative side length, such as 230.3 m. A larger side increases base area with the square of the change, so doubling the side makes the base area and volume four times as large at the same height.
Base area (B) is required only in known-area mode. Enter a nonnegative square-unit value, such as 450 m². The field is useful for irregular bases because the universal volume formula needs area, not a particular base shape.
Show right-pyramid details is optional. It is meaningful only for a regular polygon side and assumes a centered apex. Turning it off leaves the universal volume result intact but removes slant and surface results that cannot be inferred from base area and height alone.
Output guide
Pyramid volume is the primary result in cubic units. It is an exact geometric identity for the supplied base area and perpendicular height, subject to the accuracy of those measurements. Base area is either the entered value or the area derived from the regular polygon. Base perimeter is the number of sides multiplied by side length. Slant height runs from the midpoint of a base side to the apex along a face. Total surface area equals base area plus lateral area.
The summary pills repeat Base, Area, and Volume for quick scanning. The Surface area composition chart compares two compatible parts of the same total: base area and lateral area. The geometry table documents each reported measure and its formula. A zero result indicates a degenerate pyramid with zero height or zero base area; negative dimensions are rejected.
Worked example
With a square base, side length 230.3 m, and height 138.5 m, the base area is 230.3² = 53,038.09 m². The volume is one third of 53,038.09 × 138.5, which equals 2,448,591.82 m³ after display rounding. The result matches the first-open controls, result card, detail table, chart source data, and workbook checkpoints. For a broader mathematical description of pyramids and their regular-base geometry, see Wolfram MathWorld's pyramid reference.
Formula and interpretation
V = (1/3) × B × hThe one-third factor applies to right and oblique pyramids alike. For a regular n-sided base with side length a, the calculator derives base area with B = n × a² × cot(π/n) / 4. Right-pyramid surface geometry then uses the base apothem and circumradius to form right triangles with the vertical height.
Keep measurement units consistent before comparing results. NIST's guidance on SI length units is a useful reference when converting source measurements, while the volume page linked above explains the cubic scaling that makes unit changes much larger for volume than for length.