Writing “squared” on a keyboard usually means typing the small raised ² symbol, as in 5², or writing it as 5^2 when superscript is not available. If you need to know how to write squared on keyboard for math homework, scientific notes, spreadsheets, social media, or programming, there are several simple methods depending on your device, operating system, and app Most people skip this — try not to..
What Does “Squared” Mean?
In mathematics, squared means multiplying a number by itself. For example:
- 3² = 3 × 3 = 9
- 10² = 10 × 10 = 100
- x² = x × x
The small ² is called a superscript 2. And it shows that the number or variable before it is raised to the power of 2. In plain text, people often write squared as x^2, especially when typing in chat messages, code, or simple documents.
Method 1: Use the Superscript ² Symbol
The most common way to write squared is with the symbol ². This looks professional and is easy to read in math expressions.
Examples:
- 4²
- 12²
- a² + b² = c²
The symbol ² is different from a normal number 2 because it appears smaller and raised above the line. This is called superscript formatting Simple, but easy to overlook. And it works..
Method 2: Type ² on Windows Using Alt Code
If you are using a Windows computer with a keyboard that has a numeric keypad, you can type ² using an Alt code.
Steps:
- Make sure Num Lock is turned on.
- Click where you want to type the squared symbol.
- Hold down the Alt key.
- While holding Alt, type 0178 on the numeric keypad.
- Release the Alt key.
You should see:
²
So, to write 5 squared, type:
5²
This method works in many Windows programs, including Microsoft Word, Notepad, web forms, and messaging apps. Still, it may not work if your keyboard does not have a separate numeric keypad.
Method 3: Type ² on Windows Using the Character Map
If the Alt code does not work, you can use the Windows Character Map tool.
Steps:
- Open the Start menu.
- Search for Character Map.
- Open the app.
- Look for the ² symbol.
- Click it.
- Click Select.
- Click Copy.
- Paste it into your document or message.
This method is useful when you need special symbols but do not remember keyboard shortcuts And that's really what it comes down to. Still holds up..
Method 4: Type ² on Mac Using Keyboard Options
On a Mac, the easiest way to type ² depends on your keyboard settings. One common method is to use the Character Viewer Easy to understand, harder to ignore..
Steps:
- Place your cursor where you want the symbol.
- Press Control + Command + Space to open the Character Viewer.
- Search for superscript two or squared.
- Click the ² symbol to insert it.
Another option is to enable Unicode Hex Input in your keyboard settings, then type the Unicode value for ², which is 00B2. This method is more technical, but it is useful for writers, students, and professionals who frequently type mathematical symbols Surprisingly effective..
Method 5: Use Superscript Formatting in Microsoft Word
If you are writing in Microsoft Word, you can make the number 2 appear as a superscript.
Steps:
- Type your number or variable, such as x2.
- Highlight the 2.
- Press Ctrl + Shift + = on Windows.
- The 2 will become smaller and raised: x².
On some Mac versions of Word, you can use:
- Command + Shift + =
You can also use the ribbon menu:
- Highlight the 2.
- Go to the Home tab.
- Click the Superscript button, shown as x².
This method is ideal for school assignments, reports, essays, and formal documents.
Method 6: Use Superscript in Google Docs
Google Docs also supports superscript formatting Most people skip this — try not to..
Steps:
- Type your expression, such as 72.
- Highlight the 2.
- Go to Format > Text > Superscript.
- The number changes to 7².
You can also use a keyboard shortcut:
- On Windows or ChromeOS: Ctrl + .
- On Mac: Command + .
This is one of the fastest ways to write squared on keyboard if you are working in a browser.
Method 7: Write Squared as ^2
In many casual or technical situations, you can write squared using the caret symbol:
5^2
The caret symbol ^ means “raised to the power of.” So 5^2 means the same as 5².
This format is common in:
- Text messages
- Online forums
- Programming
- Spreadsheets
- Basic calculators
- Plain text documents
For example:
- 10^2 = 100
- x^2 + 2x + 1
- area = side^2
Using ^2 is not as visually polished as ², but it
Method 8: Insert theSymbol via an HTML Entity
If you are working with web pages or any markup language, you can embed the superscript two directly without needing a special keyboard layout. Simply type ² (or ²) at the spot where the symbol should appear. Most browsers render the entity as the proper ² character, and it works in email clients, CMS platforms, and forum posts that accept HTML.
Method 9: apply a Macro or Auto‑Correct Shortcut
For users who frequently need the squared symbol, creating a custom Auto‑Correct rule can save time. In Microsoft Word, go to File → Options → Proofing → AutoCorrect Options, add a new entry such as “²” → “²”, and assign a shortcut like “#2”. Now typing the shortcut automatically replaces it with the proper superscript character. Similar macros can be set up in Google Docs (via Apps Script) or LibreOffice The details matter here. Less friction, more output..
Method 10: Use a Symbol‑Insertion Utility
Operating systems often include a built‑in symbol utility. On Windows, the Character Map (as described earlier) can be pinned to the taskbar for quick access. macOS users can add the Special Characters extension to the menu bar, allowing a single click to pull up the ² glyph. These utilities are especially handy when you are in a hurry and cannot recall a keyboard shortcut.
Method 11: Copy‑Paste from a Dedicated Source
Maintaining a small clipboard snippet of the ² symbol can be the fastest approach for power users. Store the character in a text file, a note‑taking app, or a dedicated clipboard manager (e.g., ClipX, Paste). Whenever you need the symbol, a single paste operation inserts it instantly, bypassing any need for special keys or menus.
Method 12: Use LaTeX or Math‑Editing Software
When drafting scientific papers, theses, or any document that involves heavy mathematics, LaTeX provides a straightforward way to typeset superscripts. The command \(x^2\) or \(x^2\) renders the 2 as a raised character, and most modern editors (Overleaf, TeXShop, VS Code with LaTeX extensions) render it correctly in the final PDF. This method guarantees typographic consistency across academic publications Most people skip this — try not to..
Conclusion
Typing a superscript two can be approached from several angles, each suited to different workflows and environments. That's why when you’re working in a web‑centric or plain‑text setting, HTML entities, caret notation (^2), or copy‑paste shortcuts provide reliable alternatives. In practice, power users will appreciate macros, clipboard utilities, or dedicated symbol‑insertion tools that streamline repetitive tasks. For documents created in word processors, the built‑in Superscript formatting (Ctrl + Shift + = on Windows, Command + Shift + = on Mac) is the most straightforward and preserves document semantics. If you need a quick, one‑off insertion and you’re already at a keyboard, the Character Viewer (Windows) or Unicode Hex Input (Mac) offers a native solution. Finally, in mathematical publishing, LaTeX remains the gold standard for perfectly formatted superscripts Nothing fancy..
By matching the method to the context—whether you’re drafting a school report, composing an email, building a website, or writing a research article—you can ensure the squared symbol appears correctly, consistently, and efficiently. Choose the approach that best fits your workflow, and you’ll never have to pause your writing to hunt for a missing ² again.