Volume of a Prism Calculator

Volume of a Prism Calculator

Growing AI Skill PRO

Enter Calculation

Results

Volume of the Prism
60
cubic units
Base Area (B) 12 sq units
Height (h) 5 units

Formula

V=Base Area (B)×Height (h)V = \text{Base Area (B)} \times \text{Height (h)}

Example

V=12×5=60V = 12 \times 5 = 60
Usage stats

Advertisement

Report an error on this page

What Is the Volume of a Prism?

A prism is a solid with two identical, parallel polygonal faces (the bases) connected by flat rectangular sides. Its volume measures how much space it occupies. Because every cross-section parallel to the base is identical, the volume is simply the area of that base multiplied by the distance between the two bases — the height (also called the length).

A triangular prism showing its uniform triangular cross-section and length
A prism has the same cross-section along its entire length.

How to Use This Calculator

Enter the base area (B) — the area of the prism's cross-section — and the height (h), the perpendicular distance between the two bases. The calculator returns the volume in cubic units. Keep both inputs in the same unit system: if the base area is in square centimetres and the height in centimetres, the volume is in cubic centimetres.

The Formula Explained

The governing equation is:

$$V = \text{Base Area (B)} \times \text{Height (h)}$$

where V is the volume, B is the cross-sectional base area, and h is the height. This single formula works for every prism — triangular, rectangular, pentagonal, hexagonal or any polygonal base — as long as you supply the correct base area. For a rectangular prism (box) you might compute B as \(\text{length} \times \text{width}\) first; for a triangular prism, \(B = \tfrac{1}{2} \times \text{base} \times \text{triangle-height}\).

Advertisement
Rectangular prism with base area B and height h labeled
Volume equals base area B multiplied by height h.

Worked Example

Suppose a triangular prism has a base cross-section of 12 square units and a height of 5 units. The volume is $$V = 12 \times 5 = 60 \text{ cubic units}.$$ Double the height to 10 and the volume doubles to 120 cubic units, because volume scales linearly with height.

Base Area Formulas for Common Prism Types

Every prism has a constant cross-section, so its volume is the base area times the height between the two bases: \(V = B \times h\). Only the base area \(B\) changes with the shape. Below, \(h\) is the prism height (the distance between the bases) and \(h_t\) is the height of the triangle or trapezoid in the base.

Base shape Base area \(B\) Prism volume \(V\)
Rectangle (length \(l\), width \(w\)) \(l \times w\) \(l \times w \times h\)
Square (side \(s\)) \(s^2\) \(s^2 h\)
Triangle (base \(b\), height \(h_t\)) \(\tfrac{1}{2} b\, h_t\) \(\tfrac{1}{2} b\, h_t\, h\)
Right triangle (legs \(a\), \(b\)) \(\tfrac{1}{2} a b\) \(\tfrac{1}{2} a b\, h\)
Equilateral triangle (side \(a\)) \(\tfrac{\sqrt{3}}{4} a^2 \approx 0.4330\,a^2\) \(\tfrac{\sqrt{3}}{4} a^2 h\)
Regular hexagon (side \(a\)) \(\tfrac{3\sqrt{3}}{2} a^2 \approx 2.5981\,a^2\) \(\tfrac{3\sqrt{3}}{2} a^2 h\)
Trapezoid (parallel sides \(a\), \(b\); height \(h_t\)) \(\tfrac{1}{2}(a+b)\, h_t\) \(\tfrac{1}{2}(a+b)\, h_t\, h\)
Regular pentagon (side \(a\)) \(\tfrac{1}{4}\sqrt{5(5+2\sqrt{5})}\, a^2 \approx 1.7205\,a^2\) \(\tfrac{1}{4}\sqrt{5(5+2\sqrt{5})}\, a^2 h\)
Circle (radius \(r\)) – cylinder \(\pi r^2\) \(\pi r^2 h\)

Compute \(B\) with the formula for your base, then enter it with the height into the calculator. The base area and height must use the same length unit, and the volume comes out in that unit cubed.

Volume Unit Conversions

Unit Equivalent
1 m³ 1,000,000 cm³ = 1,000 L
1 cm³ 1 mL
1 ft³ 1,728 in³ = 0.0283168 m³ = 28.3168 L
1 yd³ 27 ft³ = 0.764555 m³
1 in³ 16.3871 cm³
1 US gallon 231 in³ = 3.78541 L

Important: when you convert linear units, the conversion factor is cubed for volume. For example, 1 ft = 12 in, so 1 ft³ = 12³ = 1,728 in³. Likewise 1 in = 2.54 cm, so 1 in³ = 2.54³ ≈ 16.387 cm³. Convert lengths before multiplying, or convert the final volume with the cubed factor. The US gallon listed here is the US liquid gallon; the imperial (UK) gallon is a different size.

Advertisement

Prism Volume Comparison by Base Type

Different base shapes can give the same or very different volumes depending on base area and height. All values are in generic units (length units cubed).

Base type Base dimensions Base area \(B\) Height \(h\) Volume \(V = B h\)
Rectangle 4 × 3 12 5 60
Triangle \(b = 6\), \(h_t = 4\) \(\tfrac{1}{2}\cdot 6\cdot 4 = 12\) 5 60
Regular hexagon side \(a = 2\) \(\tfrac{3\sqrt{3}}{2}\cdot 2^2 = 6\sqrt{3} \approx 10.39\) 5 ≈ 51.96
Right triangle legs 3 and 4 \(\tfrac{1}{2}\cdot 3\cdot 4 = 6\) 10 60

The rectangular and triangular prisms both have \(B = 12\) and \(h = 5\), so both have \(V = 12 \times 5 = 60\). The right-triangle prism reaches the same volume with a smaller base (6) and a taller height (10). The hexagonal prism has \(V = 10.39 \times 5 \approx 51.96\). Volume depends only on the product of base area and height, not on the base shape itself.

FAQ

Does this work for cylinders? Yes. A cylinder is effectively a prism with a circular base — use \(B = \pi r^2\) as the base area and the same \(V = B \times h\) applies.

What units does it return? Cubic units that match your inputs. If B is in m² and h in m, the result is in m³.

Is height the same as the base side? No. Height here is the distance between the two parallel bases, measured perpendicular to them — not a side length of the base polygon.

Last updated:

Most popular in Geometry

View all Geometry calculators