Answer by
Clement (1453)

In the most general case the base of a prism is just an n-sided polygon, so there is no general formula you can use. In certain cases, however, you know that the polygon is regular. Should this be the case you can calculate the are according to the following formula: 1/4 n*s^2 cot(pi/n), where s is the polygon's side.