### Formula

s

side length

P

perimeter of square

s

side length

P

perimeter of square

A square is a regular quadrilateral. It has four equal sides and four equal angles (90-degree angles, or right angles).

P

s

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP