ODP is calculated by comparing the ability of a substance to damage the ozone layer relative to that of trichlorofluoromethane (CFC-11), which has an ODP of 1.0. The calculation involves considering factors such as the chemical composition of the refrigerant, its release rate into the atmosphere, and its atmospheric lifetime. A lower ODP value indicates a lesser impact on the ozone layer.