To extend that further, if the polygon has x sides, the sum, S, of the degree measures of these x interior sides is given by the formula S = (x - 2)(180). For example, a triangle has 3 angles which add up to 180 degrees. A square has 4 angles which add up to 360 degrees.