Top to bottom, the bracket plus the filter cartridge is 20 inches altogether. So, you'll need approximately 24 inches, but can actually install it horizontal if necessary. Industrial strength velcro can be used to mount the filter if you're unable to use the screws.