More
More
Square Root Sign HTML entity √
√ is the HTML entity for Square Root Sign √ (U+221A). Copy the decimal √ and hex √ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
√- Also written
√- Code point
- U+221A
- Unicode name
- SQUARE ROOT
- Block
- Mathematical Operators
- Category
- Math symbol (Sm)
- Since
- Unicode 1.1
- Defined in
- HTML 4.01 and HTML5
Codes to copy
| HTML named | √Works in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | √Works in HTML and XML. | |
| HTML hex | √Works in HTML and XML. | |
| CSS | content: "\221A";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u221A"Also valid in JSON. | |
| Python | "\u221a"Python 3 string literal. | |
| Python by name | "\N{SQUARE ROOT}"Readable alternative using the Unicode name. | |
| URL | %E2%88%9APercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 88 9A3 bytes. | |
| UTF-16 | 221A1 code unit, which is what JavaScript length counts. |
When to use it
The radical sign. The bar over the number cannot be drawn with the character alone, so √2 is fine for short cases while longer expressions need MathML.
The name dates from HTML 4, so it works in every browser and in old email clients.
More maths operators
∞Infinity∗Asterisk Operator∟Right Angle∖Set Minus∠Angle∔Dot Plus∡Measured Angle∓Minus-Or-Plus Sign
All maths operators · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).