U+211A
Rational numbersℚ
Rational numbers is a monochrome text character from the Unicode Letterlike Symbols block, listed here under Math. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents.
Quick facts
- Unicode
- U+211A
- Decimal
- 8474
- Hex
- 0x211A
- Octal
- 0o20432
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+211A | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | DOUBLE-STRUCK CAPITAL Q | |
| Unicode 1.0 nameLegacy alias | DOUBLE-STRUCK Q | |
| DecimalBase 10 | 8474 | |
| HexadecimalBase 16 | 0x211A | |
| OctalBase 8 | 0o20432 | |
| BinaryBase 2 | 0010000100011010 | |
| General categoryLetter, uppercase | Lu | |
| Unicode blockU+2100–U+214F | Letterlike Symbols | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ℚ | |
| HTML entity (hex) | ℚ | |
| CSS content escapeUse inside content: "…" | \211A | |
| URL encodedPercent-encoded UTF-8 | %E2%84%9A |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u211A | |
| JSONUTF-16 surrogate pairs | \u211A | |
| Python | \u211A | |
| Java / C# / Kotlin | \u211A |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 84 9A | |
| UTF-16 (BE) | 211A | |
| UTF-32 (BE) | 0000211A |
How to type Rational numbers
Windows
Hold Alt and type +211A with the hex numeric keypad option enabled, or type 211A then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 211A. Or open Character Viewer (Control+Command+Space) and search "Rational numbers".
Linux
Press Ctrl+Shift+U, type 211a, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: ℚ in HTML, \211A in CSS, and \u211A in JavaScript.
Official Unicode reference
- Character name
- DOUBLE-STRUCK CAPITAL Q
- Unicode 1.0 name
- DOUBLE-STRUCK Q
- Block
- Letterlike Symbols (U+2100–U+214F)
- General category
- Lu — Letter, uppercase
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Letterlike Symbols block: U2100.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Rational numbers symbol?
Click the Copy button at the top of this page, or select ℚ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Rational numbers?
Rational numbers is U+211A (decimal 8474, hexadecimal 0x211A, octal 0o20432). It lives in the Letterlike Symbols block (U+2100–U+214F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Rational numbers?
The Unicode Standard (version 18.0.0) names this character "DOUBLE-STRUCK CAPITAL Q"; its Unicode 1.0 name was "DOUBLE-STRUCK Q". Its General_Category is Lu (Letter, uppercase).
What is the HTML code for Rational numbers?
Use ℚ or ℚ. In CSS, use content: "\211A".
How do I type Rational numbers in code?
JavaScript: "\u211A". Python: "\u211A". JSON and Java: "\u211A". The UTF-8 byte sequence is E2 84 9A.
Is Rational numbers an emoji?
No. Rational numbers is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.