Triangular Prism Calculator

Enter the triangle and the length of the prism to find its volume.

The three sides of the triangular end, separated by commas.

The distance between the two triangular ends, more than 0.

Try

Result

You entereda=3, b=4, c=5, L=10a = 3,\ b = 4,\ c = 5,\ L = 10

V=60, S=132\displaystyle V = 60,\ S = 132

Volume

60\displaystyle 60

Surface area

132\displaystyle 132

Triangle area

6\displaystyle 6

Perimeter of the triangle

12\displaystyle 12
Show the work
  1. Semi-perimeter of the triangle

    Heron's formula needs the semi-perimeter ss, which is half the perimeter of the triangular end. The sides are a=3a = 3, b=4b = 4 and c=5c = 5.

    s=a+b+c2=3+4+52=122=6\begin{aligned} s &= \frac{a + b + c}{2} \\ &= \frac{3 + 4 + 5}{2} \\ &= \frac{12}{2} \\ &= 6 \end{aligned}
  2. Heron's formula

    Heron's formula gives the area BB of a triangle from its three sides alone, so no height is needed. This is the base area of the prism.

    B=s(s−a)(s−b)(s−c)=6×(6−3)×(6−4)×(6−5)=6×3×2×1=36=6\begin{aligned} B &= \sqrt{s\left(s - a\right)\left(s - b\right)\left(s - c\right)} \\ &= \sqrt{6 \times \left(6 - 3\right) \times \left(6 - 4\right) \times \left(6 - 5\right)} \\ &= \sqrt{6 \times 3 \times 2 \times 1} \\ &= \sqrt{36} \\ &= 6 \end{aligned}
  3. Volume of a prism

    A prism has the same cross-section along its whole length, so its volume is the base area BB times the length L=10L = 10.

    V=BL=6×10=60\begin{aligned} V &= BL \\ &= 6 \times 10 \\ &= 60 \end{aligned}
  4. Surface of a prism

    The three rectangular sides are each LL long and as wide as one side of the triangle, so together they have area perimeter times LL. Add the two triangular ends, 2B2B.

    S=(a+b+c)L+2B=12×10+2×6=120+12=132\begin{aligned} S &= \left(a + b + c\right)L + 2B \\ &= 12 \times 10 + 2 \times 6 \\ &= 120 + 12 \\ &= 132 \end{aligned}
  5. Result

    So the volume is 6060 cubic units and the surface area is 132132 square units.

Worked examples