Question: how to do x squared on mac?
Answer: The characters menu that is activated with "ctrl+cmd+space" allows access to a "superscript 2" or square root symbol (²). Check if the "Digits — All" category isn't in the left-hand column, click the gear icon, then select this category — adding it to the list.