Do Bike Handelbars Have A Standard Diameter?

Do Bike Handelbars Have A Standard Diameter? The standard handlebar diameter is 31.8 mm. But a couple of years ago mountain bikes and road bars used different clamp sizes which were 25.4 and 26.0 respectively. Now new bikes are fitted with the standard 31.8 mm. It is always worth double-checking the size. How do I