HomeCalculatorsMathSolid GeometryPrism Calculator
Math calculator

Prism Calculator

Right rectangular prism V = abh from three edge lengths. Same engine as Solid Geometry. Not a frustum. Not a pyramid. 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 prism volume, surface, and space diagonal from three edges.
Scope
Right rectangular prism
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
Total surfaceA = 2(ab + ah + bh)
iSame engine as /solid-geometry. The matching pyramid is /pyramid. Regular n-gon prism is /regular-prism. Not a second engine.

How to use

1

Enter a, b, and h

All three edges must be positive. Default 2, 3, 4. Equal edges a=b=h are a valid cube.

2

Read V, A, and d

2-3-4 has volume 24 and surface 52. The unit cube 1-1-1 has V=1, A=6.

Example calculations

Common configurations with formula and result.

ϟ

2-3-4

a = 2, b = 3, h = 4

V = 2×3×4
24
ϟ

Unit cube

a = 1, b = 1, h = 1

V = 1, A = 6
1

Prism calculator specification

Version 1.18.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
A right rectangular prism of edges a>0, b>0, h>0 has volume abh, lateral area 2(a+b)h, total surface 2(ab+ah+bh), and space diagonal √(a²+b²+h²). a=b=h is a cube. This page is mode=prism on math.geometry.solid. Not a frustum. Not a pyramid. Not CAS.
What it calculates
Right rectangular prism volume, surface, and space diagonal from three edges.
Inputs
  • a
  • b
  • h
Outputs
  • volume
  • lateral
  • surface
  • diagonal
Formula
V = abh, A = 2(ab+ah+bh)
Assumptions
  • Right rectangular prism
  • a=b=h is a valid cube
  • Not a frustum
  • Not a pyramid
  • 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=24
Validation cases

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

  • a=2 b=3 h=4 → V=24 A=52
  • a=1 b=1 h=1 → V=1 cube=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=prism on math.geometry.solid, the same engine as /calc/math/solid-geometry.

Is this a frustum?

No. The right circular frustum stays on /calc/math/frustum. This page is a right rectangular box.

Does this include a triangular or regular n-gon prism?

Yes on /calc/math/regular-prism, the same engine. This page stays the right rectangular box. The right rectangular pyramid is /calc/math/pyramid.

Where does this run?

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