### Formula

B

base area

A

surface area

P

base perimeter

h

height

B

base area

A

surface area

P

base perimeter

h

height

A prism is a polyhedron with an n-sided polygonal base, a translated copy (not in the same plane as the first), and n other faces (necessarily all parallelograms) joining corresponding sides of the two bases. B is the area of the base, h the height, and P the base perimeter.

A

P

h

B

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP