Pyramid Volume Calculator
- Like every pyramid and cone, the volume is one third of the enclosing box: V = (1/3) × a² × h = (1/3) × 6² × 4 = 48.00 cubic units.
- Each triangular face has a slant height of √(4² + 3²) = 5.00 — measured up the middle of the face, not along the corner edge.
- Four faces at (1/2 × 6 × 5.00) each give 60.00 of lateral area; with the 36.00 base the total surface is 96.00 square units.
This pyramid volume calculator lets you find the volume of a square pyramid quickly and accurately. Simply enter the base side length and the height, and the calculator returns the volume along with the face slant height, lateral area, and total surface area. Every result is computed from exact geometric relationships, so the numbers you get match what you would derive by hand. For example, a pyramid with a base side of 6 and a height of 4 gives a volume of 48.00 and a face slant height of 5.00. A base side of 10 and a height of 12 yields a volume of 400.00, a slant height of 13.00, and a total surface area of 360.00. A base side of 4 and a height of 3 produces a volume of 16.00 and a slant height of 3.61.
The method behind these results follows directly from established geometry. A square pyramid's volume equals one third of its base area times its height, expressed as V = (1/3)a²h. The face slant height is calculated as √(h² + (a/2)²), measured up the middle of a triangular face rather than along the corner edge. Lateral area equals 2 × a × slant height, since the four triangular faces each have an area of (1/2)·a·s. This page shows the full formula, step-by-step workings, worked examples, and sources so you can verify every calculation yourself.
Worked examples
A pyramid with a 6-unit base and height 4
Volume 48.00 cubic units — one third of the 144-unit box it sits in; face slant height 5.00. (6 · 4)
| Volume (square pyramid) | 48.00 |
| Slant height (face) | 5.00 |
| Lateral surface area (4 faces) | 60.00 |
| Total surface area (incl. base) | 96.00 |
| Base perimeter | 24.00 |
A pyramid with a 10-unit base and height 12
Volume 400.00 cubic units, slant height 13.00, total surface 360.00 square units. (10 · 12)
| Volume (square pyramid) | 400.00 |
| Slant height (face) | 13.00 |
| Lateral surface area (4 faces) | 260.00 |
| Total surface area (incl. base) | 360.00 |
| Base perimeter | 40.00 |
A small pyramid, base 4 and height 3
Volume 16.00 cubic units; the faces slant at 3.61, not at the corner-edge length — a classic mix-up. (4 · 3)
| Volume (square pyramid) | 16.00 |
| Slant height (face) | 3.61 |
| Lateral surface area (4 faces) | 28.84 |
| Total surface area (incl. base) | 44.84 |
| Base perimeter | 16.00 |
One third of the box
A useful fact ties pyramids and cones together: any pyramid or cone holds exactly one third as much volume as the box or cylinder that shares its base and height. For a square pyramid sitting on a base of side a with height h, that means V = (1/3)a²h. The same one-third rule applies whether the base is a triangle, a rectangle, a hexagon, or a circle, so a pyramid volume calculator can handle many shapes with one formula at its core.
The intuition comes from dissection. Take a cube and draw lines from its center point down to each of its eight corners. Those lines carve the cube into six identical square pyramids, each with its apex at the center and one face of the cube as its base. Since the six pyramids fill the cube completely and share its volume equally, each pyramid holds one sixth of the cube. Now compare one of those pyramids to the whole cube as a box: its base is one face of the cube, and its height is half the cube's side length. The pyramid's volume works out to one third of that base area times that height, which matches the formula exactly.
You can check the rule with simple numbers. A square pyramid with base side 6 and height 4 gives volume 48.00. The matching box would be 6 by 6 by 4, with volume 144, and 48 is exactly one third of 144. Scale up to base side 10 and height 12, and the pyramid volume is 400.00, while the box is 10 by 10 by 12 with volume 1200, again three times as large. A smaller pyramid with base side 4 and height 3 gives volume 16.00, one third of the 4 by 4 by 3 box's 48.
The slant height of a face, measured up the middle of a triangular side rather than along the corner edge, is √(h² + (a/2)²). For the base 6, height 4 example, that slant height is 5.00. For base 10 and height 12, it is 13.00. For base 4 and height 3, it is 3.61. The lateral area follows directly: four triangular faces, each with area (1/2)·a·s, give a total of 2 × a × slant height. The base 10, height 12 pyramid has a lateral area of 260.00, and adding the 100.00 base gives a total surface area of 360.00.
Worked examples
The best way to understand any pyramid volume calculator is to see it work through real numbers. The table below shows three verified examples using the square pyramid volume formula V = (1/3)a²h, where a is the base side length and h is the height. Each row also includes the face slant height and total surface area, so you can check every part of your calculation.
The face slant height is measured up the middle of a triangular face, not along the corner edge. It is calculated as √(h² + (a/2)²). This value matters because the lateral area depends on it: lateral area equals 2 × a × slant height, which comes from four triangular faces of (1/2)·a·s each. When you add the base area (a²) to the lateral area, you get the total surface area.
Looking at the first example, a pyramid with a base side of 6 and a height of 4 gives a volume of 48.00. The face slant height works out to 5.00, which is a clean result because 4² + 3² = 5². The second example is larger: a base side of 10 and a height of 12 produce a volume of 400.00, a slant height of 13.00, and a total surface area of 360.00. The third example is smaller but useful for quick checks — a base side of 4 and a height of 3 yield a volume of 16.00 and a slant height of 3.61, which is a rounded value since the exact slant height involves a square root.
These examples confirm that the formula stays consistent across different sizes. Whether you are working with a modest pyramid or a larger one, plugging the base side and height into the volume equation gives you a reliable result every time. Use the table to verify your own calculations and make sure your pyramid volume calculator returns the correct numbers.
| Base Side (a) | Height (h) | Volume | Face Slant Height | Total Surface Area |
|---|---|---|---|---|
| 6 | 4 | 48 | 5 | |
| 10 | 12 | 400 | 13 | 360 |
| 4 | 3 | 16 | 3.61 |
Slant height vs edge length vs height
A pyramid has three different measurements that people often call a height, and mixing them up is the easiest way to get the wrong answer. The true height runs straight down from the apex to the center of the base. The face slant height runs from the apex down the middle of one triangular face to the midpoint of a base edge. The edge length, or corner edge, runs from the apex down to a corner of the base. Each one plays a different role in the math.
The volume formula uses only the true height. For a square pyramid, volume is one third of the base area times height, written as V = (1/3)a²h. The slant height and the edge length do not appear in this formula at all. When you enter numbers into a pyramid volume calculator, make sure the height value you supply is the vertical distance from apex to base center, not the slanting distance along a face or corner.
Face slant height is calculated as √(h² + (a/2)²), measured up the middle of a triangular face, not along the corner edge. This measurement matters for surface area, not for volume. Lateral area is 2 × a × slant height, which comes from four triangular faces of (1/2)·a·s each. So the slant height feeds directly into the surface area calculation, while the true height feeds into the volume calculation.
A quick example shows how these values differ. Take a square pyramid with a base side of 4 and a height of 3. The volume is 16.00, and the face slant height is 3.61. Notice that the slant height is longer than the true height because it travels diagonally down the face rather than dropping straight down. If you accidentally used 3.61 as the height in the volume formula, you would get a larger and incorrect result. The same pattern appears at other sizes: a base side of 6 with a height of 4 gives a volume of 48.00 and a slant height of 5.00, while a base side of 10 with a height of 12 gives a volume of 400.00, a slant height of 13.00, and a total surface area of 360.00.
Keep the three measurements straight by asking where each one starts and ends. True height goes from apex to base center. Slant height goes from apex to the midpoint of a base edge, traveling along a face. Edge length goes from apex to a base corner. The volume formula wants the true height only. Surface area formulas want the slant height. Getting this right is the single biggest step toward accurate pyramid calculations.
Surface area piece by piece
A pyramid's surface area breaks down into five distinct pieces: four triangular faces plus the square base. Each triangular face has an area of (1/2)·a·s, where a is the base side length and s is the slant height. Add all four faces together and you get the lateral area, expressed as 2 × a × slant height. Tack on the base area (a²) for the total surface figure.
The slant height is the key measurement, and it is not the same as the corner edge. It runs straight up the middle of a triangular face from the base midpoint to the apex. The formula is √(h² + (a/2)²), where h is the pyramid height and a is the base side. Confusing slant height with corner edge length is the most common mistake people make when they check their math against a pyramid volume calculator.
Consider a square pyramid with a base side of 10 and a height of 12. The slant height works out to 13.00, giving each triangular face an area of 65.00. Four faces total 260.00, and the 10 × 10 base adds 100.00, bringing the total surface to 360.00. That same pyramid holds a volume of 400.00, since V = (1/3)a²h equals (1/3)(100)(12).
Roofers use this same lateral area figure when estimating materials for a pyramid roof, which is a close cousin of a hip roof. A pyramid roof has four identical triangular slopes meeting at a point, so the shingle coverage needed matches the lateral area exactly. Take a smaller pyramid with a base side of 6 and a height of 4: the slant height is 5.00, and the lateral area is 2 × 6 × 5.00 = 60.00. A roofer would need enough material to cover those 60 square units of slope, ignoring the base since that sits open over the building.
A third example rounds out the picture. With a base side of 4 and a height of 3, the slant height comes to 3.61 and the volume drops to 16.00. The lateral area would be 2 × 4 × 3.61, or about 28.88, plus a base area of 16.00 for a total surface near 44.88. Whether you are calculating materials for a roof or checking homework, working through each face individually keeps the arithmetic transparent and easy to verify.
The Great Pyramid as a sanity check
A good way to confirm that a pyramid volume calculator is working correctly is to test it against something already measured in the real world. The Great Pyramid of Giza is a useful sanity check because its dimensions are well documented and its volume has been estimated by multiple sources over the years.
The Great Pyramid has a square base with each side measuring about 230 meters and an original height of about 147 meters. Plugging those numbers into the square pyramid volume formula gives a result of roughly 2.6 million cubic meters. That figure matches published estimates, which means the formula and the tool are producing a result consistent with what historians and engineers have calculated independently.
It is worth noting that the pyramid volume calculator only needs the base side length and the height to compute volume. The slant height and lateral area are separate. For example, the face slant height is measured up the middle of a triangular face using the formula √(h² + (a/2)²), not along the corner edge. The lateral area is 2 × a × slant height, since each of the four triangular faces has an area of (1/2)·a·s.
Using the Great Pyramid as a test case also helps catch common input errors. If someone enters the base side as 230 and the height as 147 and gets a volume far from 2.6 million cubic meters, something is wrong with the input or the tool. The same principle applies to smaller examples. A pyramid with a base side of 6 and a height of 4 should give a volume of 48.00 and a face slant height of 5.00. A base side of 10 with a height of 12 should give a volume of 400.00, a slant height of 13.00, and a total surface area of 360.00. A base side of 4 with a height of 3 should give a volume of 16.00 and a slant height of 3.61.
Rectangular and other pyramids
The one-third rule that powers this pyramid volume calculator does not apply only to square bases. The general formula for any pyramid is V = (1/3) × base area × height, regardless of whether the base is a rectangle, triangle, pentagon, hexagon, or any other polygon. You simply find the area of the base, multiply it by the height of the pyramid, and divide by three. The height here is the perpendicular distance from the base to the apex, not the slanting distance along a face.
This page focuses on the square case, where the base area equals a² and the full formula becomes V = (1/3)a²h. For a square pyramid with a base side of 6 and a height of 4, the volume works out to 48.00. Scale up to a base side of 10 with a height of 12, and the volume reaches 400.00. A smaller pyramid with a base side of 4 and a height of 3 yields a volume of 16.00. Each result follows directly from the same one-third relationship.
When you need surface measurements alongside volume, the face slant height is the key value. It is calculated as √(h² + (a/2)²) and represents the distance measured up the middle of a triangular face from the base edge to the apex. This is not the same as the corner edge length, which runs along the seam where two triangular faces meet. For the pyramid with a base side of 6 and height of 4, the face slant height is 5.00. For the larger example with a base side of 10 and height of 12, the face slant height is 13.00. The smaller pyramid with a base side of 4 and height of 3 has a face slant height of 3.61.
Lateral area follows from the face slant height. Each of the four triangular faces has an area of (1/2) × a × s, where s is the face slant height. Multiplying by four faces gives a total lateral area of 2 × a × s. For the pyramid with a base side of 10 and a face slant height of 13.00, the lateral area is 260.00. Adding the base area of 100.00 brings the total surface area to 360.00. These relationships hold consistently across square pyramids of any size, so the same formulas that produce these verified examples will work for your own calculations.
FAQs
What is the formula for the volume of a square pyramid?
The formula is V = (1/3)a²h, where a is the base length and h is the vertical height. For a pyramid with base 6 and height 4, the calculation is (1/3) × 36 × 4 = 48.00 cubic units.
How do I find the slant height of a pyramid?
The slant height runs up the face of the pyramid. Use the formula √(h² + (a/2)²). For a pyramid with height 4 and base 6, the slant height is √(16 + 9) = 5.00 units.
What is the lateral surface area of a pyramid?
A square pyramid has four triangular faces. The lateral surface area formula is 2 × a × s. For a base of 10 and slant height of 13, the lateral area is 260.00 square units. Adding the base gives 360.00 total surface area.
Is slant height the same as the pyramid's height?
No. Height is the vertical distance from base to apex. Slant height runs up a face, and the corner edge is longer still. The volume formula wants the vertical height, not the slant height or edge length.
Does the one-third rule work for any pyramid?
Yes. The volume is one third of the base area times the height for any pyramid or cone, whatever the base shape. Whether the base is square, rectangular, triangular, or circular, the same one-third rule applies.
How big was the Great Pyramid by this formula?
Using a ~230 m base and ~147 m original height, the formula gives (1/3) × 230² × 147 ≈ 2.6 million cubic metres. This shows the enormous scale of the Great Pyramid when its full dimensions are plugged into the standard pyramid volume calculation.