answered
If the polygon is regular 1/2*apothem*number of sides*side length, or you can divide the polygon into triangles and quadrilaterals and add the areas of those together.