Every pyramid and cone, whatever its base, holds exactly one third of the prism with the same base and height, a result known since Democritus and proved by Eudoxus.
How to use the Pyramid Volume Calculator
- Base
- Number of base sides
- Base side a
- Base area
- Height H
Results update as you type, and everything is calculated in your browser.
How it works
Choose whether the base is a regular polygon or you already know its area. For a regular base enter the number of sides and the side length.
Inputs explained
| Field | What to enter |
|---|---|
| Base | Choose one: Regular polygon, Known base area |
| Number of base sides | A number |
| Base side a | Units: cm, m, mm, in, ft, yd … |
| Base area | Units: cm², m², mm², in², ft², yd² … |
| Height H | Units: cm, m, mm, in, ft, yd … |
Example values
How the main result changes when Number of base sides changes and everything else stays at the example values above:
| Number of base sides | Volume (cm³) |
|---|---|
| 3 | 25.9808 |
| 4 | 60 |
| 5 | 103.2286 |
| 6 | 155.8846 |
| 8 | 289.7056 |
Formula
V = (1/3)·A_base·H, regular n-gon base: A_base = n·a²/(4·tan(π/n))
Worked example
Inputs: Base: Regular polygon; Number of base sides: 4; Base side a: 6 cm; Height H: 5 cm.
Results: Base area = 36 cm²; Volume = 60 cm³.
Key terms
- Oblique pyramid
- A pyramid whose apex is not above the base centre.
Frequently asked questions
Why one third?
Three pyramids can be assembled into a prism with the same base and height (for a cube, six square pyramids meet at the centre).
Does the apex have to be above the centre?
No. Oblique pyramids have the same volume.
What about a cone?
A cone is a pyramid with a circular base: V = πr²h/3.
How do I find the base area of a hexagon?
3√3/2 · a².