The longest dimension will be its body diagonal for body diagonal first find the face diagonal
Length of body diagonal
So any tape longer than 9.155 m can measure all the dimensions of the room correctly.