How To Calculate The Length