Use the caret symbol `^` for exponents
Type `x^2` to mean x squared
On Windows, use `Alt + 0178` for `²` on the numeric keypad
On Mac, use `Option + 00B2` in apps that support Unicode input
In Microsoft Word, type `^` in equations or use the superscript button
In Google Docs, use Format > Text > Superscript
On mobile keyboards, long-press a number key to find superscript options
In HTML, use `` tags for exponents
In programming, use the exponent operator supported by the language, such as `**` in Python
