The Mathematical Symbol "Superscript Two (²)"
The "Superscript Two" (²)
The ² symbol represents the number two in superscript form. It's most commonly used to denote "squared" or the power of two in mathematical notation.
Common Uses of ²
The ² symbol is prevalent in mathematics, physics, and engineering. Some of its primary applications include:
- Mathematics: Indicating that a number or a variable is raised to the power of two. For instance, \(x²\) represents \(x\) squared.
- Physics: Used in formulas to represent units squared, such as in area measurements where units might be expressed in meters squared (m²).
- Typography: In general writing, the ² symbol can be used to denote footnotes or references when more than one is needed on a single page or section.
Examples
Here are some examples of how the ² might be used:
- The area of a square with side length \(a\) is given by \(A = a²\).
- In physics, the formula for gravitational potential energy near the Earth's surface is \( U = mgh \), where \( g \) is approximately \(9.81 \text{ m/s}² \) – the acceleration due to gravity.
- In a document, a statement might have a reference mark as "Statement 1²," where the superscript two denotes the second footnote or reference related to "Statement 1."
Typing ²
In HTML and web design, the ² entity allows the display of the superscript two symbol, especially useful when mathematical notation is required. In word processors, a superscript function can be used to achieve the same effect.
Conclusion
The ² symbol, while simple, plays a crucial role in various academic and professional fields, particularly in mathematics and science. Its primary function is to indicate that a number or unit is raised to the power of two, but its applications can vary depending on the context.

Are You Good at Mathematical Symbols?
Do you know, or can you guess, the technical symbols? Well, let's see!


- This test has questions.
- A correct answer is worth 5 points.
- You can get up to 5 bonus points for a speedy answer.
- Some questions demand more than one answer. You must get every part right.
- Beware! Wrong answers score 0 points.
- 🏆 If you beat one of the top 3 scores, you will be invited to apply for the Hall of Fame.
Guru (+)
Hero (+)
Captain (+)
Sergeant (+)
Recruit (+)
Codes for the ² Symbol
The Symbol | ² | |
Alt Code | Alt 178 | |
HTML Code | ² | |
HTML Entity | ² | |
CSS Code | \00B2 | |
Hex Code | ² | |
Unicode | U+00B2 |
How To Insert the ² Symbol
(Method 1) Copy and paste the symbol.
The easiest way to get the ² symbol is to copy and paste it into your document.Bear in mind that this is a UTF-8 encoded character. It must be encoded as UTF-8 at all stages (copying, replacing, editing, pasting), otherwise it will render as random characters or the dreaded �.
(Method 2) Use the "Alt Code."
If you have a keyboard with a numeric pad, you can use this method. Simply hold down the Alt key and type 178. When you lift the Alt key, the symbol appears. ("Num Lock" must be on.)(Method 3) Use the HTML Decimal Code (for webpages).
HTML Text | Output |
---|---|
<b>My symbol: ²</b> | My symbol: ² |
(Method 4) Use the HTML Entity Code (for webpages).
HTML Text | Output |
---|---|
<b>My symbol: ²</b> | My symbol: ² |
(Method 5) Use the CSS Code (for webpages).
CSS and HTML Text | Output |
---|---|
<style> span:after { content: "\00B2";} </style> <span>My symbol:</span> | My symbol: ² |
(Method 6) Use the HTML Hex Code (for webpages and HTML canvas).
HTML Text | Output |
---|---|
<b>My symbol: ²</b> | My symbol: ² |
JavaScript Text |
---|
const x = "0x"+"E9" ctx.fillText(String.fromCodePoint(x), 5, 5); |
Output |
² |
(Method 7) Use the Unicode (for various, e.g. Microsoft Office, JavaScript, Perl).
The Unicode for ² is U+00B2. The important part is the hexadecimal number after the U+, which is used in various formats. For example, in Microsoft Office applications (e.g. Word, PowerPoint), do the following:Type | Output |
---|---|
00B2 [Hold down Alt] [Press x] | ² (The 00B2 turns into ². Note that you can omit any leading zeros.) |
JavaScript Text | Output |
---|---|
let str = "\u00B2" document.write("My symbol: " + str) | My symbol: ² |