Square Pyramid Calculator

By: Calculator Grid

Square Pyramid Calculator

Enter the base side length and perpendicular height to calculate every principal dimension, area, and volume of a right square pyramid.

Base area 144 m² Slant height 10.8167 m Lateral area 259.5997 m² Lateral edge 12.3693 m

Pyramid dimensions

Live results

Volume (V)
432 m³

One-third of base area multiplied by perpendicular height.

Total surface area (A)
403.5997 m²
Base diagonal
16.9706 m
Base surface area (A_b)
144 m²
Lateral edge (d)
12.3693 m
Slant height (s)
10.8167 m
Lateral face area
64.8999 m²
Lateral surface area (A_l)
259.5997 m²
Volume 432 cubic meters. Total surface area 403.5997 square meters.

Surface area composition

Base surface area 144 m² · 35.68%
Lateral surface area 259.5997 m² · 64.32%

The four triangular faces account for 64.32% of the total exterior area in the startup example.

Geometry breakdown

Quantity Value Formula
Base diagonal 16.9706 m a × √2
Base surface area (A_b) 144 m²
Lateral edge (d) 12.3693 m √(H² + a²/2)
Slant height (s) 10.8167 m √(H² + a²/4)
Lateral face area 64.8999 m² a × s / 2
Lateral surface area (A_l) 259.5997 m² 2 × a × s
Volume (V) 432 m³ a² × H / 3
Total surface area (A) 403.5997 m² A_b + A_l

All lengths use the selected length unit. Areas use the corresponding squared unit, and volume uses the corresponding cubed unit.

How to use the square pyramid calculator

What this calculator does

This calculator solves the principal measurements of a right square pyramid from two dimensions: the side length of its square base and the perpendicular height from the center of that base to the apex. It returns exact geometric identities expressed as rounded decimal values for display. The model assumes the apex is directly above the base center, so it does not describe an oblique pyramid, a truncated pyramid, construction tolerances, material thickness, or waste allowances.

When to use it

Use it to check homework or engineering geometry, estimate the exterior area of a pyramid-shaped roof or model, compare how a taller or wider design changes volume, or obtain dimensions for a scale drawing. It is also useful when you know the vertical height but need the face slant height or corner-to-apex lateral edge.

How to calculate

  1. The calculator opens with a ready-to-use demonstration: a 12 m base and a 9 m height. Its results and a validated example Excel workbook are available immediately.
  2. Replace Base length (a) with the side length of the square base. Replace Pyramid height (H) with the perpendicular vertical height, not the sloping face measurement.
  3. Choose Length unit. When you change it, the current inputs are converted so the same physical pyramid is preserved. Read linear results in that unit, areas in its square, and volume in its cube.
  4. Review Volume (V), Total surface area (A), the supporting result cards, the surface-area composition chart, and the geometry breakdown table. Select Download Excel to export the current typed inputs and canonical calculated values.
  5. Reset clears the demonstration and all calculated content rather than restoring the sample. Download Excel is then disabled until both required dimensions form a complete valid state again.

The underlying volume rule is the standard pyramid identity V = one-third × base area × perpendicular height. OpenStax presents the same pyramid volume formula as V = ⅓Ah.

Input guide

Base length (a) is required and accepts a positive decimal number, with an optional correctly grouped comma such as 12,500.5. Use a dot as the decimal separator; scientific notation and ambiguous decimal-comma input are rejected. A realistic example is 12 m. Increasing the base length raises every area strongly because the base area is a², and it also increases volume. A common mistake is entering the full base diagonal instead of one side.

Pyramid height (H) is required and uses the same accepted numeric format and selected unit. A realistic example is 9 m. It must be greater than zero and represents the shortest perpendicular distance from the apex to the base plane. Increasing height raises volume linearly and increases the slant height, lateral edge, and lateral surface area. Do not enter the slant height here.

Length unit is required as a measurement context rather than a new geometric assumption. Available choices are meters, centimeters, millimeters, feet, and inches. The selector converts both entered lengths when changed. Keep both source measurements in the same unit; NIST explains that dimensions should use one consistent unit before calculating area and volume in squared and cubed units.

Output guide

Volume (V) is the enclosed three-dimensional space, shown in cubic units. It is driven by a²H/3 and is an exact identity before display rounding. A value near zero means at least one dimension is near zero. Total surface area (A) is the square base plus all four triangular faces, shown in square units. It is the relevant full exterior area when the base is included.

Base diagonal is the corner-to-corner distance across the square base. Base surface area (A_b) is a². Lateral edge (d) is the straight line from a base corner to the apex. Slant height (s) runs from the midpoint of a base side to the apex along a face. Lateral face area is one triangular face, while Lateral surface area (A_l) is the combined area of all four triangular faces.

The Surface area composition chart compares two compatible parts of the same total: Base surface area and Lateral surface area. Its percentages sum to 100%. A taller pyramid usually shifts more of the total toward the lateral faces. The Geometry breakdown table repeats each named quantity, its current value, and the formula used, making it suitable for checking calculations or copying the correct relationship into a worksheet.

Worked example

For the startup values a = 12 m and H = 9 m, the base area is 12² = 144 m². The slant height is √(9² + 12²/4) = √117 = 10.8167 m. The lateral area is 2 × 12 × 10.8167 = 259.5997 m², so total surface area is 144 + 259.5997 = 403.5997 m². Volume is 144 × 9 / 3 = 432 m³, exactly matching the first-open primary result and workbook checkpoints.

Square pyramid formulas and interpretation

A right square pyramid contains several linked right triangles. A horizontal half-section through the apex and the midpoint of a base side has legs H and a/2, producing the slant height. A section through the apex and a base corner has legs H and half the base diagonal, producing the lateral edge.

s = √(H² + a²/4) · d = √(H² + a²/2) · A = a² + 2as · V = a²H/3

The distinction between slant height and lateral edge matters: the slant height meets a base side at its midpoint, while the lateral edge reaches a corner and is therefore longer for every positive base length. For a concise specialist treatment of the solid and its formulas, see Wolfram MathWorld's square pyramid reference.

Units and rounding

Changing from meters to centimeters multiplies each displayed length by 100, each displayed area by 10,000, and each displayed volume by 1,000,000. The calculator performs conversion through canonical meter values and rounds only the displayed text. The Excel workbook stores numeric model values and applies spreadsheet number formats. NIST defines area and volume as derived quantities measured in squared and cubed length units; its guides to SI area units and SI volume units provide additional context.

Common mistakes

  • Using slant height as the perpendicular pyramid height changes both the volume and all derived side lengths.
  • Mixing feet and inches without conversion produces dimensionally inconsistent results.
  • Using four times the lateral face area and then adding the base twice overstates total surface area.
  • Rounding slant height too early can noticeably distort a large lateral-area estimate; retain full precision until the final display.