In this paper we study topology of the variety of closed pla-nar n-gons with given side lengths l1,. .. , ln. The moduli space M ℓ where ℓ = (l1,. .. , ln), encodes the shapes of all such n-gons. We describe the Betti numbers of the moduli spaces M ℓ as functions of the length vector ℓ = (l1,. .. , ln). We also find sharp upper bounds on the sum of Betti numbers of M ℓ depending only on the num...