Question: how to do x squared on iphone?
Answer: Open Settings., Tap General > Keyboard > Text Replacement., Tap "+" in the top right corner., In the Phrase row, type or paste a symbol, such as "²"., In the Shortcut row, type or paste a shortcut, such as "^2"., Tap "Save" in the top right corner.