If you measure from the side, it measures 29.75 inches, but the back cover sticks out a little over one inch so figure a little over thirty-one inches all together. Also, it is recommended to leave a couple of inches of space in the back for ventilation.