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=2, b=2, c=2, L=5a = 2,\ b = 2,\ c = 2,\ L = 5

V=53≈8.660254, S=30+23≈33.464102\displaystyle V = 5\sqrt{3} \approx 8.660254,\ S = 30 + 2\sqrt{3} \approx 33.464102

Volume

53≈8.660254\displaystyle 5\sqrt{3} \approx 8.660254

Surface area

30+23≈33.464102\displaystyle 30 + 2\sqrt{3} \approx 33.464102

Triangle area

3≈1.732051\displaystyle \sqrt{3} \approx 1.732051

Perimeter of the triangle

6\displaystyle 6
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=2a = 2, b=2b = 2 and c=2c = 2.

    s=a+b+c2=2+2+22=62=3\begin{aligned} s &= \frac{a + b + c}{2} \\ &= \frac{2 + 2 + 2}{2} \\ &= \frac{6}{2} \\ &= 3 \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)=3×(3−2)×(3−2)×(3−2)=3×1×1×1=3≈1.732051\begin{aligned} B &= \sqrt{s\left(s - a\right)\left(s - b\right)\left(s - c\right)} \\ &= \sqrt{3 \times \left(3 - 2\right) \times \left(3 - 2\right) \times \left(3 - 2\right)} \\ &= \sqrt{3 \times 1 \times 1 \times 1} \\ &= \sqrt{3} \approx 1.732051 \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=5L = 5.

    V=BL=(3)×5=53≈8.660254\begin{aligned} V &= BL \\ &= \left(\sqrt{3}\right) \times 5 \\ &= 5\sqrt{3} \approx 8.660254 \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=6×5+2×(3)=30+23=30+23≈33.464102\begin{aligned} S &= \left(a + b + c\right)L + 2B \\ &= 6 \times 5 + 2 \times \left(\sqrt{3}\right) \\ &= 30 + 2\sqrt{3} \\ &= 30 + 2\sqrt{3} \approx 33.464102 \end{aligned}
  5. Result

    So the volume is 53≈8.6602545\sqrt{3} \approx 8.660254 cubic units and the surface area is 30+23≈33.46410230 + 2\sqrt{3} \approx 33.464102 square units.

Worked examples