How to Make a Squared Symbol: Easy Guide

Joe Jun 18, 2026

Typing a squared symbol is one of those digital tasks that seems simple until you actually need to do it. Whether you are writing a mathematical equation, specifying dimensions for a room, or documenting units of measurement, the need to create "x²" arises frequently. Fortunately, generating this character is straightforward once you understand the specific method required by your device or software.

laggy for me tho D:
laggy for me tho D:

Using Keyboard Shortcuts on Windows

a pen sitting on top of a piece of paper with a square in the middle
a pen sitting on top of a piece of paper with a square in the middle

The most common method for Windows users involves holding the Alt key while entering a specific code. This technique bypasses the need for finding obscure menus and allows for quick insertion directly into any text field.

  • Press and hold the Alt key on your keyboard.
  • While holding Alt, type 0178 on the numeric keypad.
  • Release the Alt key, and the squared symbol (²) should appear.
√ Square Root Symbol Copy And Paste | ∛ ∜ ∞ ∮ ∫ ∬
√ Square Root Symbol Copy And Paste | ∛ ∜ ∞ ∮ ∫ ∬

Note that this requires the numeric keypad, not the numbers above the letters. If this does not work, ensure your Num Lock is enabled or try the alternative code 253 held with the Alt key.

Utilizing Keyboard Shortcuts on Mac

an abstract black and white logo with squares in the middle, on a white background
an abstract black and white logo with squares in the middle, on a white background

MacOS offers a more intuitive approach for this specific symbol, integrating it directly into common keyboard layouts. Users do not need to memorize numeric codes to access this character.

  • Position your cursor where the symbol is needed.
  • Press Shift + 2 on your keyboard.

This key combination produces the superscript "²" directly. If for some reason this shortcut does not function, you can also access the character by opening the Edit menu and selecting Emoji & Symbols, then searching for "superscript 2".

Difference of squares
Difference of squares

Inserting via HTML and Web Editors

For developers or those formatting text for web pages, HTML provides a semantic way to represent squared text. This ensures the symbol renders correctly across different browsers and devices.

HTML Entity Result
² ²
² ²
an image of some type of symbols that are in the form of letters and numbers
an image of some type of symbols that are in the form of letters and numbers

When writing in platforms that support Markdown, you can often achieve the same visual result using backticks and the standard caret symbol, depending on the parser being used.

Typing on Mobile Devices

two crosses drawn in purple ink on a white background
two crosses drawn in purple ink on a white background
an image of the symbol for x
an image of the symbol for x
Math
Math
a square root is written on the wall
a square root is written on the wall
a black and white photo frame with an empty space in the middle, on a white background
a black and white photo frame with an empty space in the middle, on a white background
Free Printable Math symbols worksheet - kiddoworksheets
Free Printable Math symbols worksheet - kiddoworksheets
some type of symbols that are in the language of math and other things to describe
some type of symbols that are in the language of math and other things to describe
two black and white symbols that appear to be flying in the air, one with an x on it
two black and white symbols that appear to be flying in the air, one with an x on it
Square Properties Explained | Easy Geometry Formula Guide for Students
Square Properties Explained | Easy Geometry Formula Guide for Students
Behold : A Square Sticker
Behold : A Square Sticker
Abstract Design 17
Abstract Design 17
Math Symbol Square Edge Matching Puzzle | Math = Love
Math Symbol Square Edge Matching Puzzle | Math = Love
an image of the symbols for all maths
an image of the symbols for all maths
the size and measurements for children's shoes, including one with two different sizes
the size and measurements for children's shoes, including one with two different sizes
a black and white image of a stair made up of squares with the letter k on it
a black and white image of a stair made up of squares with the letter k on it
an array of black and white squares on a white background, each with different shapes
an array of black and white squares on a white background, each with different shapes
a black and white image of an abstract shape in the middle of a square frame
a black and white image of an abstract shape in the middle of a square frame
Click on link to make this thingy!!
Click on link to make this thingy!!
a piece of paper with some writing on it and a pencil in front of it
a piece of paper with some writing on it and a pencil in front of it

Smartphone and tablet users have a dedicated system for accessing special characters, making it easy to insert mathematical symbols without switching between apps.

  • Open your desired text field.
  • Tap the 123 or += button to switch to the numeric layout.
  • Long-press the 2 button.
  • A popup menu will appear; lift your finger to select the squared symbol (²).

This method works universally across iOS and Android, though the exact touch interaction (tap vs. long-press) might vary slightly depending on the keyboard brand.

Utilizing Word Processors and Desktop Software

Applications like Microsoft Word or Google Docs include built-in tools for creating professional-looking text, including proper superscript formatting. This is the preferred method when the output needs to look polished.

  • Type the number "2" immediately after the character or text.
  • Highlight the "2" you just typed.
  • Press Ctrl + Shift + + (Windows) or Cmd + Shift + + (Mac) to change it to superscript.

Alternatively, you can navigate to the "Insert" tab in the toolbar, select "Superscript" from the options, and then type the number "2" within the formatted text.

Copy and Paste for Quick Results

When other methods feel cumbersome, the simplest solution is often the most effective. You can bypass formatting and software limitations entirely by copying the symbol directly from a reliable source.

²

Simply highlight the symbol above, right-click, and select copy. You can then paste it wherever you need it. This serves as a universal fallback for any platform or application that does not support the specific keyboard shortcuts.