---
slug: pyramid-calculator
title: "Pyramid Calculator"
category: geometry
updated: 2026-11-17
canonical: https://calcseed.com/c/geometry/pyramid-calculator/
html: /c/geometry/pyramid-calculator/
---

# Pyramid Calculator

Calculate the volume and slant height of a square pyramid from its base side and height using V = a²h/3. Solve for the base or height. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (6 units, 8 units), the volume is **96 units³**. At these inputs: slant height = **8.54**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Base side | 6 | units |
| Height | 8 | units |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Volume | 96 | units³ |
| Slant height | 8.544 |  |

## Formula

```text
V = a²h ÷ 3     l = &radic;((a/2)² + h²)
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Base side | number | units | 6 |
| Height | number | units | 8 |
| Volume | number | units³ | 96 |

## Outputs

| Result | Format |
| --- | --- |
| Volume | primary |
| Slant height | number |

## How it works

### What this calculator does

Enter the base side **a** and the perpendicular height **h** of a square pyramid and the calculator returns its volume in units³ plus its slant height in units. At the defaults a = 6 and h = 8 it reports a volume of **96** and a slant height of **8.54**. You can also work backwards: clear the base or the height, enter the volume, and the calculator solves for the missing dimension.

### The volume and slant height formulas

The volume is one third of the base area times the height. The factor of 3 is not arbitrary: a pyramid fills exactly one third of the prism that shares its base and height. You can see it in a cube of side s cut from its centre to the eight corners, which produces six identical pyramids, each with base area s² and height s/2 — and s² × (s/2) ÷ 3 = s³/6, exactly one sixth of the cube.

The **slant height** l is the height of a triangular face, measured from the midpoint of a base edge straight up the face to the tip. Half the base and the pyramid height form the two legs of a right triangle whose hypotenuse is the slant height, so the Pythagorean theorem gives l = &radic;((a/2)² + h²).

### Worked example at the default dimensions

Take a = 6 and h = 8. The base area is 6² = 36. Multiplying by the height gives 36 × 8 = 288, and dividing by 3 gives **V = 96 units³**. For the slant height, half the base is 3, so l = &radic;(3² + 8²) = &radic;(9 + 64) = &radic;73 ≈ **8.54 units**. Check the dimensions: a (units) squared times h (units) divided by 3 yields units³, and the slant height stays in plain units.

Every quantity the pyramid owns follows from just a = 6 and h = 8, which makes a compact reference table for the default pyramid:

| Quantity | Formula | Value at a = 6, h = 8 |
| --- | --- | --- |
| Base area | a² | 36 units² |
| Volume | a²h ÷ 3 | 96 units³ |
| Slant height | &radic;((a/2)² + h²) | 8.54 units |
| Lateral edge | &radic;((a/&radic;2)² + h²) | 9.06 units |
| Base diagonal | a&radic;2 | 8.49 units |

#### The three distances people mix up

Notice that the slant height (8.54), the lateral edge (9.06) and the base diagonal (8.49) are three different distances that are easy to confuse. The slant height climbs a face from an edge midpoint; the lateral edge climbs from a base corner, along the base diagonal&rsquo;s half (a/&radic;2 = 4.24 at the defaults) instead of the half-side, so it comes out longer; the base diagonal stays flat on the ground at a&radic;2 = 8.49. Only the first one belongs to the face-area calculation and only the perpendicular height h belongs to the volume.

### Real pyramids run through the formula

#### From monuments to hotel towers

| Pyramid | Base side | Height | Volume from a²h ÷ 3 |
| --- | --- | --- | --- |
| Great Pyramid of Giza | 230.4 m | 146.6 m | ≈ 2.59 million m³ |
| Luxor Hotel, Las Vegas | 646 ft | 350 ft | ≈ 48.7 million ft³ |
| This calculator at defaults | 6 units | 8 units | 96 units³ |

The Great Pyramid: 230.4² × 146.6 ÷ 3 ≈ 2,594,000 m³, which matches the figure Egyptologists quote from its estimated dimensions. The Luxor Hotel: 646² × 350 ÷ 3 ≈ 48,687,000 ft³. The same arithmetic scales from toy blocks to monuments without changing — that is the advantage of a formula with only two inputs.

### What moves the volume

- **Height is linear.** Doubling h from 8 to 16 at a = 6 doubles the volume from 96 to 192.
- **Base side is squared.** Doubling a from 6 to 12 at h = 8 multiplies the volume by 4, from 96 to 384.
- **Both together multiply.** Doubling both gives 8 times the volume: 768 units³.
- **Solving for the base:** a = &radic;(3V ÷ h). With V = 96 and h = 8, that is &radic;36 = 6.
- **Solving for the height:** h = 3V ÷ a². With V = 96 and a = 6, that is 288 ÷ 36 = 8.

### Common mistakes

- **Using the slant height in the volume formula.** At the defaults, 6² × 8.54 ÷ 3 ≈ 102.5 instead of 96 — an error of about 6.8%. The volume needs the perpendicular height, not the face height.
- **Dividing by 2 instead of 3.** 36 × 8 ÷ 2 = 144 overstates the true 96 by half; the pyramid factor is always 3.
- **Assuming any pyramid works.** These formulas are for a square base. A rectangular base uses lwh ÷ 3, and other regular bases need that base&rsquo;s own area formula.
- **Confusing the slant height with the lateral edge.** They differ (8.54 versus 9.06 at the defaults) and only the slant height is used for face area.

### Pyramids in construction and design

A hip roof is a pyramid laid over a rectangular plan, and roofers use the slant height, not the building height, to measure each face: at the defaults a roof face is &frac12; × 6 × 8.54 = 25.62 square units, and four faces give 102.48 square units of surface to shingle. Pyramidal skylights, tent tops and display packaging follow the same two-step routine — volume from a²h ÷ 3, surface from the slant height. For the cone-shaped cousins of the pyramid, the cone calculator and frustum calculator apply the same third-of-a-prism logic with circular bases.

## FAQ

### How do I find the volume of a square pyramid?

Square the base side, multiply by the height, then divide by three: V = a²h ÷ 3. At a = 6 and h = 8 that is 36 × 8 ÷ 3 = 96 cubic units.

### Why is the pyramid volume divided by 3?

A pyramid fills exactly one third of the prism with the same base and height. A cube cut from its centre to its corners splits into 6 identical pyramids, each with volume s² × (s/2) ÷ 3 = s³/6, confirming the factor.

### What is the slant height of a pyramid?

It is the height of a triangular face, from the midpoint of a base edge to the tip: l = &radic;((a/2)² + h²). At a = 6 and h = 8, l = &radic;73 ≈ 8.54.

### How do I find the base side from the volume?

Use a = &radic;(3V ÷ h). With V = 96 and h = 8, the base side is &radic;(288 ÷ 8) = &radic;36 = 6. Enter the volume and height, then solve for the base.

### How do I find the height from the volume?

Rearrange to h = 3V ÷ a². With V = 96 and a = 6, the height is 288 ÷ 36 = 8 units.

### How much bigger is the lateral edge than the slant height?

The lateral edge runs from a base corner to the tip, using the half-diagonal a/&radic;2 instead of the half-side a/2. At the defaults the edge is &radic;82 ≈ 9.06 versus a slant height of 8.54.

### What is the volume of the Great Pyramid of Giza?

With a base of about 230.4 m and a height of about 146.6 m, the formula gives 230.4² × 146.6 ÷ 3 ≈ 2.59 million cubic metres.

### Does the formula work for a rectangular base?

Yes, with a change: V = l × w × h ÷ 3. The division by 3 applies to any pyramid; this calculator specialises in the square base where l = w = a.

### If I double the height, does the slant height double too?

No. With a = 6 fixed, raising h from 8 to 16 gives l = &radic;(9 + 256) = &radic;265 ≈ 16.28, not 2 × 8.54 = 17.08, because the half-base stays constant in the Pythagorean sum.

### What units should I use?

Any consistent length unit. Sides in metres give volume in m³; sides in feet give volume in ft³. Never mix units — a base in feet with a height in metres produces a meaningless number.

## Method and sources

Methodology: Formulas are the standard closed-form expressions of Euclidean geometry, exact for the given inputs.

Last updated: 2026-11-17.
- Square pyramid: V = a²h/3, slant height l = √((a/2)² + h²).
