Skip to content

Online Pyramid Volume Calculator

    Find the volume of a pyramid with this pyramid volume calculator. Choose a square or equilateral triangle base, then enter its side length and the perpendicular height to see the volume and base area.

    Shapes & measurements

    Pyramid Volume Calculator

    Calculate a pyramid's volume from its base side length and perpendicular height. Choose a square or equilateral triangle base.

    Your dimensions

    h a — base side

    The dashed height h meets the base at a right angle. Measure straight up from the base to the tip, not along a sloping face. Diagrams are not to scale.

    Use the same unit for both lengths, such as cm or inches. Decimals and fractions such as 3 1/2 are accepted.

    Volume

    —units³

    Enter your dimensions, then calculate.

    Volume = base area × height ÷ 3
    Base area = √3 × a² ÷ 4

    For example, lengths in cm give area in cm² and volume in cm³. Answers are rounded for display; calculations use unrounded values.

    For pyramid calculations on your phone, Unit Converter is free to download and includes a Pyramid Volume tool.

    How to use this tool

    1. Choose Equilateral triangle or Square under Base shape.
    2. Enter Base side length (a) and Perpendicular height (h) in the same length unit. Height runs straight from the base plane to the tip.
    3. Click Calculate to see the volume and base area.

    What is a pyramid?

    A pyramid is a solid with a polygon base and triangular side faces that meet at one point, called the apex. The base gives the pyramid its name: a square pyramid has a square base, while a triangular pyramid has a triangular base. The sides taper toward the apex instead of continuing to a matching top face.

    Volume measures the three-dimensional space enclosed by that shape. It is useful when estimating the material in a solid model or casting, or comparing the space inside pyramid-shaped forms. A pyramid volume calculator finds this volume from the base dimensions and the height of the solid.

    The pyramid volume formula

    A pyramid’s volume is one-third of its base area multiplied by its perpendicular height:

    V = B × h ÷ 3

    Here V is volume, B is the area of the base and h is the shortest distance from the apex to the plane containing the base. A prism with the same base area and height has volume B × h, so the pyramid occupies one-third as much space.

    The difference comes from the taper. In a prism, slices parallel to the base keep the same area. In a pyramid, those slices become progressively smaller toward the apex. Their lengths shrink in proportion to the distance from the apex, and their areas shrink with the square of that proportion. Adding the volumes of these thin slices produces the one-third factor, as shown in OpenStax’s derivation of pyramid volume.

    Volume of a square pyramid

    A square base has four equal sides and four right angles. If its side length is a, its area is a × a, or a². The volume of a square pyramid follows by substituting that area into the pyramid formula:

    Square base area B = a²
    Square pyramid volume V = a² × h ÷ 3

    The base side length sets the size of the footprint, while the height sets how far the apex rises above it. The sloping edges connecting the apex to the corners are separate dimensions; they are not the side length used in this formula.

    Calculating triangular pyramid volume

    An equilateral triangle has three equal sides. Its altitude divides it into two right triangles, giving a triangle altitude of a × √3 ÷ 2. Applying the usual triangle-area formula, half the base times that altitude, gives:

    Equilateral base area B = √3 × a² ÷ 4
    Triangular pyramid volume V = √3 × a² × h ÷ 12

    In this formula, a is an edge of the triangular base and h is the pyramid’s perpendicular height. The triangle’s own altitude lies flat within the base; the pyramid height extends out of that plane. The equilateral-triangle area relationship explains why this base needs only one side length.

    A square and an equilateral triangle with the same side length have different areas. Their pyramids therefore have different volumes even when their perpendicular heights match. The base shape is part of the volume calculation, not just a name for the finished solid.

    Perpendicular height, slant height and side edges

    The perpendicular height meets the base plane at a right angle. In a right pyramid with a regular base, it runs from the apex to the center of the base. This is the height that controls volume.

    Slant height runs along a triangular face, from the apex perpendicular to that face’s base edge. A side edge instead joins the apex to a base corner. These lengths describe the sloping faces and are used when working out their areas or laying out the shape, while the volume formula uses the perpendicular height.

    The same volume relationship also applies when the apex is off-center. Moving the apex sideways while preserving the base and its perpendicular height changes the faces but leaves the volume unchanged. Wolfram’s pyramid formulas describe this general relationship.

    How size affects the volume

    For either base shape here, volume is proportional to the height and to the square of the base side length. Increasing only the height changes volume in the same proportion. Scaling the whole pyramid changes all three dimensions, so volume changes by the cube of the scale factor.

    Keep the base side and height in the same length unit. The base area is then in the corresponding square unit and the volume in the cubic unit. These describe different quantities: base area measures the footprint, while volume measures the space above it up to the apex.

    More tools: Browse all calculators and unit converters.

    Calculate pyramid volume on your phone

    Keep pyramid volume and other geometry tools handy with Unit Converter. Download it free from the App Store or Google Play.

    Leave a Reply

    Your email address will not be published. Required fields are marked *