The standard distance between the top of the wall cabinets and the ceiling is 12 to 18 inches. This gap allows for easy access to the upper cabinets and provides a clean, finished look to the kitchen. However, this distance can be adjusted based on the ceiling height and personal preferences.