ℚ

Rational Numbers Symbol (ℚ)

Copy the Rational Numbers symbol ℚ to your clipboard, and see its Unicode code point, HTML entity, LaTeX command and how to type it on any device.

What does ℚ mean?

Double-struck Q (ℚ) denotes the rational numbers, i.e. fractions p/q of integers. The Q stands for quotient. Its official Unicode name is DOUBLE-STRUCK CAPITAL Q.

Codes and properties

Characterℚ
Unicode nameDOUBLE-STRUCK CAPITAL Q
Code pointU+211A
Decimal8474
Unicode blockLetterlike Symbols
HTML entityℚ · ℚ
CSS\211A
JavaScript / JSON\u211A
Python\u211A or \N{DOUBLE-STRUCK CAPITAL Q}
UTF-8 bytesE2 84 9A
LaTeX\mathbb{Q}

How to type ℚ

  • Copy & paste: press the Copy button above, then paste ℚ anywhere — Word, Google Docs, email, chat or code.
  • Windows (Word, WordPad, Outlook): type 211A then press Alt+X. In any app, Win+. opens the symbol panel.
  • Mac (any symbol): switch to the Unicode Hex Input keyboard, hold Option and type 211A; or press Ctrl+Cmd+Space and search “double-struck capital q”.
  • Linux (GTK/IBus): press Ctrl+Shift+U, type 211a, then Space.
  • HTML: ℚ renders as ℚ.
  • LaTeX: \mathbb{Q} in math mode (amssymb package for some symbols).

Frequently asked questions

How do I type ℚ on Windows?

In Microsoft Word type 211A and press Alt+X. In any app press Win+. to open the symbol panel, or copy ℚ from this page.

How do I type ℚ on a Mac?

Open the Character Viewer with Ctrl+Cmd+Space and search “double-struck capital q”, or switch to Unicode Hex Input and hold Option while typing 211A.

What is the HTML code for ℚ?

Use ℚ (hex) or ℚ (decimal).

What is the LaTeX command for ℚ?

Use \mathbb{Q} in math mode.

Related symbols

Reference: Unicode code chart: Latin-1 Supplement (U+0080–U+00FF)