Calculate Square Pyramid Frustum Volume from a, b, and h
Use this form when both square edge lengths and the perpendicular height of a truncated square pyramid are known. The volume reduces to a square prism (a = b) at one extreme and to a full square pyramid (b = 0) at the other.
V = (h / 3)(a² + a b + b²)
Calculate Total Surface Area of a Square Pyramid Frustum
Use this form when you need the entire exterior — both square ends plus the four trapezoidal sides. Common for closed plinths, capped planter boxes, and finished architectural blocks.
S = 2 (a + b) ℓ + a² + b²
Calculate Lateral Surface Area of a Square Pyramid Frustum
Use this form when only the four slanted trapezoidal faces matter — wrap material for a lampshade frame, paint coverage on the sides of a planter, or sheet metal for an open-top hopper.
S_lat = 2 (a + b) ℓ
Calculate Square Pyramid Frustum Height from V, a, and b
Use this rearrangement when a target volume and both edge lengths are fixed and you need the perpendicular height. Common when sizing a planter or stepped-pyramid course to a specified capacity for given square dimensions.
h = 3V / (a² + a b + b²)
How It Works
This square pyramid frustum calculator (truncated square pyramid) treats the shape as a pyramid with the apex sliced off parallel to the base — the same Egyptian-pyramid-like silhouette you see on Mayan and Aztec stepped pyramids, architectural plinths, and tapered planter boxes. Three numbers fix the geometry: the bottom edge a (the larger square side), the top edge b (the smaller square side), and the perpendicular height h. From those the calculator solves V = (h / 3)(a² + a b + b²) for volume, S = 2(a + b)ℓ + a² + b² for total surface area, and S_lat = 2(a + b)ℓ for the lateral area, where ℓ = √(h² + ((a − b) / 2)²) is the slant height of each trapezoidal face. Pick the unknown with the solve-for toggle, enter the remaining three values in any supported length or volume unit, and the calculator converts to SI internally before reporting every related quantity — volume, both surface areas, slant height, slant edge, both edges, and the perpendicular height.
Example Problem
A small stepped-pyramid block has a bottom edge a = 6 m, a top edge b = 2 m, and a height h = 4 m. What is its volume, slant height, lateral surface area, total surface area, and corner-to-corner slant edge?
- Identify the dimensions: a = 6 m, b = 2 m, h = 4 m.
- Slant height of each trapezoidal face: ℓ = √(h² + ((a − b) / 2)²) = √(16 + 4) = √20 = 2√5 ≈ 4.4721 m.
- Volume: V = (h / 3)(a² + a b + b²) = (4/3) · (36 + 12 + 4) = (4/3) · 52 = 208/3 ≈ 69.3333 m³.
- Lateral surface area: S_lat = 2 (a + b) ℓ = 2 · 8 · 2√5 = 32√5 ≈ 71.5542 m².
- Total surface area: S = S_lat + a² + b² = 32√5 + 36 + 4 = 32√5 + 40 ≈ 111.5542 m².
- Slant edge (corner to corner): e = √(h² + (a − b)² / 2) = √(16 + 8) = √24 = 2√6 ≈ 4.8990 m.
- Round trip: from V ≈ 69.3333, a = 6, b = 2, the inverse h = 3V / (a² + a b + b²) recovers h = 4 m, confirming the volume.
When b = 0 the frustum collapses into a full square pyramid — V = 48, ℓ = 5, S_lat = 60, S = 96 — matching the regular pyramid formulas exactly. When a = b the frustum is a square prism with ℓ = h and four rectangular sides.
When to Use Each Variable
- Solve for Volume — when a, b, and h are known and you need the capacity of a planter box, stepped-pyramid course, hopper section, or tapered packaging block.
- Solve for Total Surface Area — when you need the entire exterior including both square ends — common for finished plinths and closed architectural blocks.
- Solve for Lateral Surface Area — when only the four slanted trapezoidal sides matter — lampshade frames, planter side wraps, sheet metal for an open-top hopper.
- Solve for Height — when both square edges are fixed by available stock and you need the height that gives a target volume.
Key Concepts
A square pyramid frustum is what you get when you slice a regular square pyramid with a plane parallel to its base and remove the small pyramid on top — the same silhouette you see on Mayan and Aztec stepped pyramids, ziggurats, and architectural plinths. Three numbers determine the geometry: the bottom edge a, the top edge b, and the perpendicular height h. There are two distinct slant measurements: the face slant height ℓ = √(h² + ((a − b) / 2)²) — the perpendicular distance from a face midpoint up to the top edge midpoint, used in the lateral-area formula — and the slant edge e = √(h² + (a − b)² / 2) — the actual length of the corner-to-corner edge. The volume V = (h / 3)(a² + a b + b²) is a specialization of the general frustum formula V = (h / 3)(A_bottom + √(A_bottom · A_top) + A_top): for two squares with sides a and b the geometric mean √(A_bottom · A_top) = √(a² · b²) = a b, so the bracketed sum collapses to a² + a b + b². The volume interpolates smoothly between two familiar cases: when b → 0 it becomes (1/3) a² h (a full square pyramid); when b → a it becomes a² h (a square prism).
Applications
- Mayan, Aztec, and ziggurat stepped pyramids — each course of a stepped pyramid is a frustum, and total volume is the sum of frustum volumes per course
- Architectural plinths, finials, and tapered base blocks — square-section transitions that are calculated as frusta during stonework or metal layout
- Planter boxes and tapered flowerpots with square cross-section — capacity from rim and base edges and depth
- Lampshade frames with square cross-section — fabric needed is the lateral surface area
- Hoppers and transition sections with square inlet and outlet — sized using the frustum volume and slant for sheet-metal layout
- Packaging and shipping crates with tapered profiles — material takeoff and cube efficiency calculations
- Geometry instruction — the textbook shape that connects square-pyramid and square-prism formulas
Common Mistakes
- Using the slant edge √(h² + (a − b)² / 2) in the lateral-area formula instead of the face slant height √(h² + ((a − b) / 2)²) — the two are different by a factor involving the corner geometry, and only the face slant ℓ multiplies the (a + b) sum in S_lat
- Forgetting the a b mixed term in the volume formula — V = (h / 3)(a² + b²) is wrong; the correct sum is a² + a b + b² (the geometric mean of the two square areas)
- Computing slant as √(a² + h²) (the square-pyramid formula with apex over center) instead of √(h² + ((a − b) / 2)²) — the offset (a − b) / 2 is what matters once the top is cut off, not the half-base a / 2
- Including only one square end disk in the total surface area — both the bottom a² and the top b² count when the frustum is closed at both ends
- Applying the cone-frustum formula V = (π h / 3)(R² + R r + r²) directly with a and b in place of R and r — there is no π for a square cross-section; the correct form is V = (h / 3)(a² + a b + b²)
Frequently Asked Questions
How do you calculate the volume of a truncated square pyramid?
Use V = (h / 3)(a² + a b + b²), where a is the bottom edge (larger square side), b is the top edge (smaller square side), and h is the perpendicular height. For example, a = 6 m, b = 2 m, h = 4 m gives V = (4/3) · 52 = 208/3 ≈ 69.3 m³.
What is the formula for a frustum of a pyramid?
For a square pyramid frustum: V = (h / 3)(a² + a b + b²), S_lat = 2(a + b)ℓ, and S = S_lat + a² + b², where ℓ = √(h² + ((a − b) / 2)²) is the slant height of each trapezoidal face. The volume formula is a special case of the general prismatoid rule V = (h / 6)(A_bottom + 4 A_middle + A_top), or equivalently V = (h / 3)(A_bottom + √(A_bottom · A_top) + A_top).
What is the difference between slant height and slant edge?
Slant height ℓ = √(h² + ((a − b) / 2)²) is the perpendicular distance from the midpoint of a bottom edge up the trapezoidal face to the midpoint of the corresponding top edge. Slant edge e = √(h² + (a − b)² / 2) is the actual length of a corner-to-corner edge connecting a bottom vertex to the corresponding top vertex. Lateral surface area uses ℓ, not e.
How do you find the height of a truncated pyramid from its volume?
Rearrange the volume formula: h = 3V / (a² + a b + b²). For V = 69.3 m³, a = 6 m, b = 2 m: h = 3 · 69.3 / 52 ≈ 4 m. This recovers the original height to within rounding.
Is the Great Pyramid of Giza a frustum?
No — the Great Pyramid is a complete square pyramid (b = 0 at the apex), not a frustum. The Mayan and Aztec stepped pyramids (Chichén Itzá's El Castillo, Teotihuacán's Pyramid of the Sun) are closer to frusta — each course is a truncated layer with a flat top, and the temple sits on the topmost frustum. Ziggurats from Mesopotamia follow the same stepped-frustum pattern.
Where are pyramid frustums used in real life?
Architectural plinths, monumental stepped pyramids (Mayan, Aztec, ziggurat), tapered planter boxes, lampshade frames with square section, transition sections in HVAC and hoppers, packaging and shipping crates with tapered profiles, and finials on columns. Any time you need a stable shape with a square base that narrows to a smaller square top, the answer is a square pyramid frustum.
How does the volume formula relate to the cone frustum formula?
Both are specializations of V = (h / 3)(A_bottom + √(A_bottom · A_top) + A_top). For a cone the bases are circles (A = π r²), so √(A_b · A_t) = π R r and V = (π h / 3)(R² + R r + r²). For a square frustum the bases are squares (A = side²), so √(A_b · A_t) = a b and V = (h / 3)(a² + a b + b²). The structural pattern is identical.
What happens when the top edge equals zero?
When b = 0 the frustum is a complete square pyramid. The formulas collapse: V = (h / 3) a², ℓ = √(h² + (a / 2)²), S_lat = 2 a ℓ, S = S_lat + a². The square-pyramid-frustum calculator and the square-pyramid calculator agree exactly in that limit.
Reference: Weisstein, Eric W. "Pyramidal Frustum." MathWorld — A Wolfram Web Resource. https://mathworld.wolfram.com/PyramidalFrustum.html
Worked Examples
Stepped Pyramid Course
What is the volume of a stepped-pyramid course?
A single course of a stepped pyramid has a bottom edge a = 6 m, top edge b = 2 m, and height h = 4 m (the canonical Wolfram case). Use V = (h / 3)(a² + a b + b²) for the volume of that course.
- Knowns: a = 6 m, b = 2 m, h = 4 m
- Compute a² + a b + b² = 36 + 12 + 4 = 52 m²
- Formula: V = (h / 3)(a² + a b + b²)
- V = (4 / 3) · 52 = 208 / 3 ≈ 69.333 m³
- Each course of a Mayan or Aztec stepped pyramid is one frustum; the temple sits on the topmost frustum.
Course volume ≈ 69.3 m³
Real stepped pyramids stack many such frusta — total volume is the sum of all course volumes, each computed individually with its own a, b, and h.
Tapered Planter
How much soil fits in a square tapered planter?
A garden planter has a bottom edge a = 30 cm, top edge b = 50 cm (wider at the top), and depth h = 40 cm. The capacity is V = (h / 3)(a² + a b + b²).
- Knowns: a = 30 cm, b = 50 cm, h = 40 cm
- Compute a² + a b + b² = 900 + 1500 + 2500 = 4900 cm²
- Formula: V = (h / 3)(a² + a b + b²)
- V = (40 / 3) · 4900 ≈ 65,333 cm³ ≈ 65.3 L
Planter capacity ≈ 65 L (about 17 US gallons of potting mix)
The frustum formula is symmetric in a and b — whether the wider square is at the top or the bottom doesn't change the volume, only the orientation. Subtract roughly 5–10% for drainage layer and root mass.
Square Hopper
What height does a 200-liter square hopper need with fixed rim edges?
A square-section hopper has bin edge a = 0.8 m and discharge edge b = 0.2 m. The target capacity is 200 L (0.2 m³). Solve h = 3V / (a² + a b + b²).
- Knowns: V = 0.2 m³, a = 0.8 m, b = 0.2 m
- Compute a² + a b + b² = 0.64 + 0.16 + 0.04 = 0.84 m²
- Formula: h = 3V / (a² + a b + b²)
- h = 3 · 0.2 / 0.84 ≈ 0.714 m (≈ 71.4 cm)
Hopper height ≈ 0.71 m (≈ 28 in)
Real hoppers also factor in the discharge angle — the slant ℓ — for material-flow purposes. Granular material flows reliably only when the trapezoidal-face angle exceeds the material's angle of repose.
Square Pyramid Frustum Formulas
All truncated-square-pyramid properties follow from three dimensions: the bottom edge a, the top edge b, and the perpendicular height h. From those, both slant measurements, the volume, and both surface areas all derive:
Where:
- V — enclosed volume (m³, L, gal, ft³)
- S — total surface area: both square ends plus four trapezoidal sides (m², ft², in²)
- S_lat — lateral surface area: the four trapezoidal faces only
- a — bottom edge (the larger square side), m, cm, in, ft, yd
- b — top edge (the smaller square side); setting b = 0 reduces the frustum to a full square pyramid
- h — perpendicular height between the two parallel square ends
- ℓ — face slant height: perpendicular from a bottom-edge midpoint up the trapezoidal face to the top-edge midpoint, ℓ = √(h² + ((a − b) / 2)²). Used in the lateral-area formula.
- e — corner-to-corner slant edge: actual length of the edge from a bottom vertex to the corresponding top vertex, e = √(h² + (a − b)² / 2)
Related Calculators
- Square Pyramid Calculator — compute volume and surface area for a full square pyramid (frustum with top edge b = 0)
- Cone Frustum Calculator — the circular-cross-section analogue — truncated cone with bottom and top radii
- Cube Calculator — compute volume and surface area for a cube (frustum with a = b)
- Geometric Formulas Calculator — explore area and volume formulas for many shapes in one place
- Volume Converter — switch between m³, L, gallons, ft³, and other volume units
Related Sites
- Temperature Tool — Temperature unit converter
- Z-Score Calculator — Z-score, percentile, and probability calculator
- OptionsMath — Options trading profit and loss calculators
- Medical Equations — Hemodynamic, pulmonary, and dosing calculators
- Dollars Per Hour — Weekly paycheck calculator with overtime
- Percent Off Calculator — Discount and sale price calculator