# Pyramid Volume Calculator

URL: https://speedycalculator.com/calculators/math/pyramid-volume/
Last updated: 2026-11-08

> The pyramid volume calculator finds the volume of a pyramid with a regular polygon base (triangle to dodecagon) from the base side and height, or of any pyramid from its base area and height.

## Inputs

- Base
- Number of base sides
- Base side a (cm, m, mm, in, ft, yd, km, mi)
- Base area (cm², m², mm², in², ft², yd², km², ha, acre)
- Height H (cm, m, mm, in, ft, yd, km, mi)

## Results

- Base area
- Volume

## Formula

```
V = (1/3)·A_base·H,  regular n-gon base: A_base = n·a²/(4·tan(π/n))
```

## Explanation

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

FieldWhat to enterBaseChoose one: Regular polygon, Known base areaNumber of base sidesA numberBase side aUnits: cm, m, mm, in, ft, yd …Base areaUnits: cm², m², mm², in², ft², yd² …Height HUnits: 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 sidesVolume (cm³)325.98084605103.22866155.88468289.7056

## 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.

## FAQ

**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².


## Sources

- [OpenStax: Prealgebra 2e](https://openstax.org/details/books/prealgebra-2e)
- [Wolfram MathWorld: Solid geometry](https://mathworld.wolfram.com/SolidGeometry.html)
- [Wolfram MathWorld: Pyramid](https://mathworld.wolfram.com/Pyramid.html)
