HomeCalculatorsMathSolid GeometryPyramid Calculator
Math calculator

Pyramid Calculator

Right rectangular pyramid V = abh/3 from three lengths. Same engine as Solid Geometry. Not a prism. Not a tetrahedron. Not CAS. Runs locally.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
Input interpretation
Enter values to calculate.
Result
—
Verified scope
all published modes
Assurance
Core
Declared partition coverage
PASS · 21/21 declared partitions (sphere, cylinder, cone, torus, frustum, prism, pyramid, tetrahedron, octahedron, icosahedron, dodecahedron, regular-prism, regular-pyramid, regular-frustum, ellipsoid, spherical-cap, spherical-zone, spherical-wedge, spherical-lune, spherical-sector, invalid-domain) · Matrix
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
Right rectangular pyramid volume and surface from base edges and height.
Scope
Right rectangular pyramid
Verification
Engine tested · Specification checked · v1.18.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
Versions
Calculation 1.18.0 · CVP protocol 1.0.0-proposed · Evidence 2026-09-21.solid-cvp-all-modes
Verification revision
2026-09-21.solid-cvp-all-modes · 4/4 property · digest d81459afdb09
Legacy regression
118/118 tests · Production surface contract 5/5
Trust layers
Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 2/2 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
26/26 golden · 27/27 CVP boundary · 32/32 invalid · 4/4 property · 8/8 cross-interface · 2/2 cross-calculator · 3/3 CVP contract · Manifest
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Specification basis
Evidence
43 legacy golden · 25 legacy boundary · legacy regression suite · 26/26 oracle-backed golden · 32/32 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.18.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

VolumeV = abh/3
Total surfaceA = ab + a√(h²+(b/2)²) + b√(h²+(a/2)²)
iSame engine as /solid-geometry. The matching rectangular box is /prism. The regular tetrahedron is /tetrahedron. Not a second engine.

How to use

1

Enter a, b, and h

Base edges and height must be positive. Default 2, 3, 4. Equal base edges a=b are a valid square pyramid.

2

Read V and A

2-3-4 has volume 8, one third of the 2-3-4 prism. Square 6-6-4 has face slants 5, V=48, A=96.

Example calculations

Common configurations with formula and result.

ϟ

2-3-4

a = 2, b = 3, h = 4

V = 2×3×4/3
8
ϟ

Square 6-6-4

a = 6, b = 6, h = 4

V = 48, A = 96, l = 5
48

Pyramid calculator specification

Version 1.18.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
A right rectangular pyramid of base edges a>0, b>0 and height h>0, with the apex above the base center, has volume abh/3. Face altitudes are slant_a=√(h²+(b/2)²) and slant_b=√(h²+(a/2)²). Lateral area is a·slant_a + b·slant_b. Total surface is lateral + ab. a=b is a square base. This page is mode=pyramid on math.geometry.solid. Not a prism. Not a tetrahedron. Not CAS.
What it calculates
Right rectangular pyramid volume and surface from base edges and height.
Inputs
  • a
  • b
  • h
Outputs
  • volume
  • lateral
  • surface
  • slant_a
  • slant_b
Formula
V = abh/3, A = ab + a√(h²+(b/2)²) + b√(h²+(a/2)²)
Assumptions
  • Right rectangular pyramid
  • Apex above the base center
  • a=b is a valid square base
  • Not a prism
  • Not a tetrahedron
  • Not CAS
Units
  • length (consistent units)
  • volume (length³)
  • area (length²)
Boundary conditions
  • a ≤ 0 or b ≤ 0 or h ≤ 0 → VALUE_MUST_BE_POSITIVE
  • unknown mode → INVALID_MODE
Example
a=2 b=3 h=4 → V=8
Validation cases

3 published on this page · 118/118 tests · Production surface contract 5/5 · View evidence

  • a=2 b=3 h=4 → V=8
  • a=6 b=6 h=4 → V=48 A=96 slant=5 square_base=true
  • a=2 b=3 h=0 → VALUE_MUST_BE_POSITIVE
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Calculation version
1.18.0

Frequently asked questions

Key distinctions behind the calculation.

Is this a second solid engine?

No. It is mode=pyramid on math.geometry.solid, the same engine as /calc/math/solid-geometry.

Is this a prism?

No. The right rectangular box stays on /calc/math/prism. This pyramid volume is one third of that prism for the same a, b, and h.

Does this include a tetrahedron or a regular n-gon pyramid?

The regular tetrahedron is /calc/math/tetrahedron. Regular n-gon pyramids are /calc/math/regular-pyramid on the same engine.

Where does this run?

Locally in the browser by default. REST and MCP call the same solid-geometry engine.