The following will introduce IP codes, since those are the means currently used to relate degrees of protection.
IP encoding is a system for classifying degrees of protection provided by a "enclosure" (a part providing protection of equipment against certain external influences and, in any direction, protection against direct contact), against the environment when in proximity to dangerous locations, and against penetration of solid objects or water.
The encoding system is as follows.