Width is the long dimension so I'm not sure if that is what you mean by length.
What is listed as height I would call depth. Front edge (space bar side) to the back side with power switch and charging port.
Logitech site:
Height x Width x Depth:
5.18 in (131.63 mm) x 1.41 ft (430.2 mm) x 0.80 in (20.5 mm)
Weight: 1.78 lb (810 g)