For a regular polygon with n sides and sides of length s,

Perimeter = ns

Area = ns2 / 4 tan( pi / n )