Welcome to iMore.
Here is the rating that Apple gives the iPhone X for water and dust resistance. Rated IP67 under IEC standard 60529. IP: This stands for "Ingress Protection," which is the rating system for the dust and water-resistance of electronic devices. 6: Signifies the dust protection rating. In the case of the iPhone X, "6" means the phones are entirely dustproof. 7: The second number is the water resistance rating. A "7" here means that the new iPhone models can be fully submerged in water as deep as 1 meter for a period of up to 30 minutes. Hope this helps. Thanks.