To calculate the central angle visualize a circle in the center of the polygon. A circle has 360 degrees. Divide 360 by the number of sides and that will tell you the central angle size. So 360 divided by 30 equals 18 degrees.
To find the base angle use this formula
180(n-2)/n where n is the number of sides of a regular polygon.