These are the following ways to calculate the perimeter for 2D shapes
Square
P=4s
S = the length of the side of the square.
Rectangle
P=2b+2a
a and b= the lengths of the rectangle's sides (length and width).
Triangle
a+b+c
a,b, and c = the side lengths.
Right Triangle, with legs a and b
P=x+y+((x^2+y^2)^(1/2))
x and y= the lengths of the two legs of the triangle
Circle
P=C=2πr=πd
r = the radius
d = the diameter.
Cuboid
4 (l + b + h)
l =the length
b =the depth
h =the height
Cube
12 x a
a = the length
Parallelogram
2 (a + b)
“a” and “b” =the sides
Trapezoid
a + b + c + d
a, b, c, d = the sides of the trapezoid
Kite
2a + 2b
a = Length of the first pair
b = Length of the second pair
Rhombus
P= 4 × a
a = Length of the side of the rhombus
Hexagon
6 x a
a = Length of a side