Historically, chair rails were installed in homes to protect walls from the backs of moving chairs in small dining rooms. Because of this, you'll notice chair rails in older homes are almost always installed at around 30 inches from the floor, the height of a chair.
21