Question: is it width or depth?
Answer: The length of a side from bottom to top is height. The length of a side from left to right is breadth, or width. The length from front to back is depth, but depth can also be the length from top to bottom. The length from one corner to the opposite corner is just the length of the diagonal, no special words for that.