The length can be calculated with the pythagorean theorem, if the other two dimensions of the rectangle are known.