Triangular Prism Calculator: Volume & Surface Area

Find a triangular prism's volume, lateral area, and total surface area from its base triangle's three sides and its length — with exact Heron-formula results.

Loading calculator…

Triangular prism formulas

A triangular prism has a triangular base with sides aa, bb, cc, and a prism length hh — the distance between the base and the parallel, congruent top face. Given all four, every other measure follows:

A=14(a+b+c)(a+b+c)(ab+c)(a+bc)V=A×hA = \frac{1}{4}\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \qquad V = A \times h L=h(a+b+c)Atot=2A+LL = h(a+b+c) \qquad A_{tot} = 2A + L

The base area AA is Heron's formula applied to the three sides. The lateral area LL adds up the three rectangular side faces at once (hh times the base perimeter), and the total surface area AtotA_{tot} adds the two triangular faces (top and bottom, hence the factor of 2) to the lateral area.

Tip: The prism length hh and the triangle's own internal altitude are two different lengths. Heron's formula already accounts for the triangle's shape from its three sides alone — hh only measures how far apart the two triangular faces sit.

Worked example: base triangle 3-4-5, h = 10

A=1412×6×4×2=14576=6A = \frac{1}{4}\sqrt{12 \times 6 \times 4 \times 2} = \frac{1}{4}\sqrt{576} = 6 V=6×10=60L=10(3+4+5)=120Atot=2(6)+120=132V = 6 \times 10 = 60 \qquad L = 10(3+4+5) = 120 \qquad A_{tot} = 2(6) + 120 = 132

Because 3-4-5 is a right triangle, the base area matches the familiar 12(3)(4)=6\frac{1}{2}(3)(4) = 6 — and since every input is a whole number, the volume, lateral area, and total surface area all come out as exact integers too.

When the base area isn't a whole number

Example: base triangle 2-3-4, h = 6

A=149×5×3×1=14135=34152.9047A = \frac{1}{4}\sqrt{9 \times 5 \times 3 \times 1} = \frac{1}{4}\sqrt{135} = \frac{3}{4}\sqrt{15} \approx 2.9047

Here the discriminant under the root (135) isn't a perfect square, so the base area is an exact closed-form surd rather than a whole number. The lateral area is still exact — L=6(2+3+4)=54L = 6(2+3+4) = 54 — because it never touches that square root at all; only the volume (17.4284\approx 17.4284) and total surface area (59.8095\approx 59.8095) inherit the irrational base area.

Tip: Notice the lateral area stays perfectly exact even when the base area doesn't: L=h(a+b+c)L = h(a+b+c) is pure addition and multiplication, with no square root involved.

Common mistakes

  • Confusing the prism length h with the triangle's own altitude. These are two unrelated lengths — h is how far apart the two triangular faces are; the triangle's height is already built into Heron's formula from a, b, c alone.
  • Forgetting to double the base area in the total. A triangular prism has TWO triangular faces (top and bottom), not one — Atot=2A+LA_{tot} = 2A + L, never just A+LA + L.
  • Using side lengths that don't form a triangle. If any side is as long as (or longer than) the sum of the other two, no triangle closes and Heron's formula breaks down — check a+b>ca+b>c, b+c>ab+c>a, and c+a>bc+a>b first.

Where this shows up

  • Optical prisms, roof trusses, and structural braces: many real triangular-prism shapes are literally called "prisms" for this reason — from glass optics to A-frame roof cross-sections.
  • Tents and awnings: a classic ridge tent is a triangular prism, with the base triangle as the cross-section and the ridge length as h.
  • Material and capacity estimates: the volume tells you how much a triangular-cross-section duct or trough can hold; the surface area tells you how much material covers it.

A triangular prism combines two ideas already covered elsewhere: the base area comes straight from triangle theorems' Heron's-formula solver, and the "cross-section times length" principle is the same one used by the rectangular prism (a quadrilateral cross-section) and generalized from the cube's simplest case. It's also a close cousin of the square pyramid, another polyhedron built from a base shape plus one extra length.

Frequently asked questions

What is a triangular prism?
A solid with two parallel, congruent triangular faces (the base and top) connected by three rectangular side faces. Given the base triangle's three sides a, b, c and the prism length h (the distance between the two triangular faces), every volume and surface-area measure follows.
What is the formula for the volume of a triangular prism?
V = A × h, where A is the base triangle's area (found with Heron's formula from a, b, c) and h is the prism length. For a 3-4-5 base with h = 10: A = 6, so V = 6 × 10 = 60.
How do I find the base triangle's area from its three sides?
Heron's formula: A = (1/4)√((a+b+c)(-a+b+c)(a-b+c)(a+b-c)). For sides 3, 4, 5 this gives A = (1/4)√(12×6×4×2) = (1/4)√576 = 6, matching the familiar ½×3×4 = 6 for that right triangle.
What is the lateral (side) surface area?
L = h(a+b+c) — the prism length times the base triangle's perimeter, since the 3 rectangular side faces each have area h × (one side), and h(a+b+c) sums all three at once.
What is the total surface area?
A_tot = 2A + L, the two triangular faces (top and bottom) plus the lateral area. It's easy to forget the factor of 2 on the base area — there are two congruent triangular faces, not one.
What's the difference between the prism length h and the triangle's own height?
They're different quantities entirely. The prism length h is the distance between the two triangular faces (how long the prism is). The triangle's own altitude is an internal measurement of the base triangle itself, already folded into Heron's formula — it never appears as a separate input here.
Why do some side lengths give an error instead of a result?
The three base sides must satisfy the triangle inequality — each side must be shorter than the sum of the other two (a+b>c, b+c>a, c+a>b). If not, no triangle exists, so Heron's formula would need a negative number under its square root.

Related calculators