The formula for getting Surface area and volume of a prism is :
Surface area = 2 × Area of base shape + Perimeter of base shape × Height
Volume = Area of base shape × Height of prism

In case of a triangular prism,
♦ Area of base (triangle) = \(\frac{1}{2}\times b\times h\) if base (b) and height (h) of triangle are known.
♦ Area of base (scalene triangle) = \(\sqrt{s(s-a)(s-b)(s-c)}\) , if all the sides a, b, c are known where \(s=\frac{a+b+c}{2}\)
♦ Area of base (equilateral triangle) =\(\frac{\sqrt{3}}{4}a^2\) where ‘a’ is each side of the equilateral triangle.
For a hexagonal prism,
Area of base (regular hexagon) = \(\frac{\sqrt{3}}{2}\) (edge)2