Pyramid volume is one of those things everyone learns in high school geometry and then immediately forgets
The formula itself is straightforward enough. Volume equals one third times the base area times the height. That is V equals one third Bh. Where B represents the area of whatever shape is sitting at the bottom and h is the perpendicular height from that base to the apex. This applies to pyramids with square bases, rectangular bases, triangular bases, hexagonal bases, or any polygon you can dream up. The shape of the base does not change the one third multiplier. It only changes how you calculate B. I spent years building math curriculum materials and seeing students absolutely wreck themselves on this topic, not because the formula is hard, but because they consistently mess up the height measurement. They measure the slant height instead of the vertical height. The slant height runs along the face of the pyramid from the base edge to the apex. It is always longer than the true perpendicular height. Using slant height in place of vertical height will give you a volume that is too large every single time.
Victory In Math Unlocking The Secrets Of The Pyramid Volume Formula
If you are dealing with a pyramid where you are only given the slant height and the base dimensions, you need to reconstruct the true height using the Pythagorean theorem. Take a square pyramid as the most common case. If the base side length is s and the slant height is l, the perpendicular height h equals the square root of l squared minus s over two squared. Subtract the square of half the base side from the square of the slant height, then take the square root. That gives you the vertical distance you actually need for the volume formula. Here is a realistic example. Say you have a square pyramid with a base side of ten units and a slant height of thirteen units. Half the base is five. Thirteen squared is one hundred sixty-nine. Five squared is twenty-five. Subtract twenty-five from one hundred sixty-nine and you get one hundred forty-four. The square root of one hundred forty-four is twelve. So the true height is twelve units. Now plug into the volume formula. Base area is ten squared, which is one hundred. One third times one hundred times twelve gives you four hundred cubic units. The math works out cleanly when the numbers are friendly, but real world problems rarely cooperate like that. I once had a student working on a problem involving a rectangular pyramid where the base measured eight by twelve and the slant heights on the two different faces were different values. She kept trying to use a single slant height for the whole pyramid, which is impossible unless the base is square or the pyramid is somehow specially configured. Rectangular based pyramids have two distinct slant heights depending on which face you are looking at. The workaround I used was to pick one triangular face, extract its corresponding slant height, find half the adjacent base side, solve for height using Pythagoras, then verify that height also worked when derived from the other face. When it did not match, the problem had inconsistent given values. That happens more often than people realize, especially in textbook problems that were never properly validated.
Another thing that trips people up regularly is confusing pyramids with cones. The cone volume formula is also one third times base area times height. The base area for a cone is pi r squared instead of whatever polygon formula you use for a pyramid. Structurally they are in the same family. A cone is essentially a pyramid with a circular base in the limit. If you ever see a problem describing a rounded base tapering to a point, treat it as a cone and use pi r squared for the base area before multiplying by one third and the height. There is also a common misconception that the one third factor only applies to right pyramids, where the apex sits directly above the center of the base. It applies to oblique pyramids as well. Cavalieri's principle guarantees that the volume depends only on the base area and the perpendicular height, regardless of whether the apex is shifted horizontally. An oblique pyramid with the same base and same vertical height as a right pyramid will always have the exact same volume. This is not intuitive at all. People assume leaning the pyramid over changes the volume. It does not. The main bottleneck with this formula is when the height is not given and the geometry of the problem makes it difficult to derive. Regular pyramids with symmetric bases tend to yield clean solutions. Irregular pyramids with arbitrary vertex positions can require coordinate geometry, vector cross products, or numerical integration just to find the effective height. In those cases the one third times base area times height formula is still theoretically correct, but finding B and h becomes a separate and sometimes lengthy calculation. If you are working with a pyramid defined by four or more points in three dimensional space, setting up a determinant or using the scalar triple product is often faster than trying to geometrically construct the height.
Get the Full Details

For practical classroom or testing purposes, the most reliable approach is to memorize the formula, practice identifying whether the given height is perpendicular or slant, and become comfortable converting between the two using right triangle relationships. Work through problems with square bases first since those are the most common. Then move to rectangular bases, then triangular bases, and finally irregular polygons where you need to decompose the base into simpler shapes to find the area. One final note. If you encounter a frustum, which is a pyramid with the top cut off parallel to the base, the volume formula is different entirely. It is one third times height times the sum of the base area plus the top area plus the square root of the product of the two areas. Do not try to force the standard pyramid formula into a frustum problem. It will not work.