Ans. The perimeter of a polygon is calculated by adding the lengths of all its sides together.