Square Pyramid Volume Calculator

By: Calculator Grid

Square Pyramid Volume Calculator

Enter any two compatible dimensions of a right square pyramid to resolve its geometry and volume.

Ready example Base edge + height inches 120 in³

Input dimensions

Provide at least two independent measurements. Additional entries are checked for consistency.

Changing units converts every valid entered dimension.

Side length of the square base; positive decimal.

Perpendicular base-to-apex distance; positive decimal.

Apex to midpoint of a base edge; optional.

Apex to any corner of the square base; optional.

Corner-to-corner distance across the square base; optional.

Pyramid volume

Volume (V)

120 in³

Calculated from Base edge (a) and Pyramid height (H).

Base area 36 in²
Resolved base edge 6 in
Resolved height 10 in
Core identity: V = a² × H ÷ 3

Resolved dimensions

Dimension Symbol Resolved value Geometric relationship
Base edge a 6 in Square base side
Pyramid height H 10 in Perpendicular base-to-apex distance
Slant height s 10.4403 in √(H² + (a/2)²)
Lateral edge d 10.8628 in √(H² + a²/2)
Base diagonal q 8.4853 in a√2

All five dimensions describe the same right square pyramid. When you enter more than two, the calculator checks that they agree within normal measurement-rounding tolerance.

How to use the square pyramid volume calculator

What this calculator does

This calculator finds the volume of a right square pyramid and resolves its related dimensions from any two compatible measurements. A right square pyramid has a square base and an apex directly above the center of that base. The calculator is useful for geometry exercises, scale models, packaging concepts, estimating the capacity of pyramid-shaped forms, and checking measured dimensions. It evaluates an ideal mathematical solid; it does not account for wall thickness, rounded corners, a truncated top, material shrinkage, or measurement uncertainty.

When to use it

Use it when you know the square base side and perpendicular height, when the height is inaccessible but a slant or lateral edge can be measured, when a drawing gives the base diagonal instead of the side, or when you want to check whether several measurements can belong to one consistent right square pyramid.

How to calculate

  1. The calculator opens with a ready-to-use demonstration: Base edge (a) = 6 in and Pyramid height (H) = 10 in. The result is already calculated, and a validated example workbook is immediately available through Download Excel.
  2. Choose a Length unit. When you switch units, every valid entered dimension is converted, not merely relabeled.
  3. Replace the example with any two independent values among Base edge (a), Pyramid height (H), Slant height (s), Lateral edge (d), and Base diagonal. Results update live. You may enter more than two measurements, but they must describe the same pyramid.
  4. Read Volume (V), Base area, Resolved base edge, Resolved height, and the Resolved dimensions table. Use Download Excel to export the current typed inputs and canonical results.
  5. Reset clears the demonstration and all entered dimensions. Because an empty state cannot produce a meaningful workbook, Download Excel is disabled until you enter a complete valid pair again.

Input guide

Length unit is required and controls all linear inputs and outputs. Choose millimeters, centimeters, meters, inches, feet, or yards. A unit change converts valid entries. A common mistake is mixing measurements from different units without converting them first.

Base edge (a) is the positive side length of the square base. Enter a standard decimal such as 6; comma grouping such as 1,250 is accepted, but decimal commas and scientific notation are rejected to avoid ambiguity. A larger base edge increases base area quadratically and, with height fixed, increases volume quadratically.

Pyramid height (H) is the positive perpendicular distance from the base plane to the apex, not the sloping face distance. A realistic example is 10 in. With the base fixed, doubling the height doubles the volume. Confusing height with slant height is the most frequent interpretation error.

Slant height (s) is the positive distance from the apex to the midpoint of a base edge. For the startup example it resolves to about 10.4403 in. It must exceed half the base edge when those values are paired, and it must exceed the perpendicular height when paired with height.

Lateral edge (d) is the positive distance from the apex to a base corner. The startup pyramid has a lateral edge of about 10.8628 in. It must be longer than the slant height and long enough to span both the vertical height and half of the base diagonal.

Base diagonal is the positive corner-to-corner distance across the square. It equals the base edge multiplied by √2; the example resolves to about 8.4853 in. Base edge and base diagonal alone are redundant, so they cannot determine height or volume without a third independent measurement.

Output guide

Volume (V) is the exact geometric volume implied by the entered measurements, displayed in cubic units. It is driven by resolved base edge and perpendicular height. A very small positive result represents a shallow or narrow pyramid; zero is not accepted because all entered dimensions must be positive. Base area is a² in square units. Resolved base edge and Resolved height show the two canonical dimensions used by the volume formula, whether entered directly or recovered through the Pythagorean theorem.

The Resolved dimensions table lists Base edge, Pyramid height, Slant height, Lateral edge, and Base diagonal in the active unit, with the relationship used for each quantity. These are identities for an ideal right square pyramid, not independent recommendations. High or low values should be interpreted relative to your chosen unit and application.

Worked example

With a base edge of 6 in and a perpendicular height of 10 in, the square base area is 6² = 36 in². Pyramid volume is one third of base area times height: 36 × 10 ÷ 3 = 120 in³. The same geometry gives slant height √(10² + 3²) = 10.4403 in, lateral edge √(10² + 6²/2) = 10.8628 in, and base diagonal 6√2 = 8.4853 in. These values match the calculator's first-open results and workbook checkpoints.

Learn more

OpenStax derives the general pyramid identity V = one third of base area times height using cross-sections. For a broader geometric treatment, see Wolfram MathWorld's pyramid reference. When reporting measurements, NIST's SI unit style checklist explains standard notation such as cubic centimeters and cubic meters.

Formula and geometric relationships

V = a²H / 3

The one-third factor distinguishes a pyramid from a prism with the same base and height. A prism would have volume a²H, while the pyramid occupies exactly one third of that volume. When a or H is not entered directly, the calculator uses right-triangle relationships through the center, edge midpoint, and corner of the square base. For example, s² = H² + (a/2)² and d² = H² + a²/2.

Measurement and consistency tips

  • Measure the perpendicular height to the base plane, not along a face.
  • Use one unit system for all entries; the unit selector can perform the conversion for you.
  • Do not use Base edge and Base diagonal as your only pair because one is a fixed multiple of the other.
  • When entering three or more dimensions, allow for rounding but investigate large mismatches. They usually indicate a wrong dimension type, mixed units, or a pyramid whose apex is not above the base center.