Since the circle is inscribed in the square, we can conclude that the length of its diameter is equal to the length of one the sides of the square. Therefore:
Since it is a square, all of its sides are equal, so:
The perimeter is the sum of all sides, and since all the sides are equal, then: