### Formula

P

base perimeter

A

surface area

B

base area

h

height

P

base perimeter

A

surface area

B

base area

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

B

h

P

Precision

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