how do you do x squared on a keyboard?
Typing the keyboard shortcut using the number keys above the letters (outside the number pad) will not work – you must use the number pad on the right side of the keyboard. So the keyboard shortcut for the squared symbol is Alt + 0178. The result is like this: ².