HTML Entity for Uppercase N Double Struck Capital (ℕ)

What You'll Learn
How to display the uppercase N double struck capital (ℕ) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This mathematical symbol denotes the set of natural numbers, commonly written as ℕ in equations such as n ∈ ℕ. It is U+2115 in the Letterlike Symbols block (U+2100–U+214F).
Render it with ℕ, ℕ, ℕ, or CSS escape \2115. The named entity ℕ is often the most readable option in HTML source. See also math entities.
⚡ Quick Reference — Uppercase N Double Struck Capital Entity
U+2115Letterlike Symbols
ℕHexadecimal reference
ℕDecimal reference
ℕMost readable option
Name Value
──────────── ──────────
Unicode U+2115
Hex code ℕ
HTML code ℕ
Named entity ℕ
CSS code \2115
Meaning Double-struck capital N (natural numbers)
Related U+004E = plain N; U+0145 = Ņ (N cedilla)
Block Letterlike Symbols (U+2100–U+214F)Complete HTML Example
A simple example showing the uppercase N double struck capital (ℕ) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2115";
}
</style>
</head>
<body>
<p>Symbol (hex): ℕ</p>
<p>Symbol (decimal): ℕ</p>
<p>Symbol (named): ℕ</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase N double struck capital (ℕ) and the named entity ℕ are supported in all modern browsers:
👀 Live Preview
See the uppercase N double struck capital (ℕ) in mathematical notation:
🧠 How It Works
Hexadecimal Code
ℕ uses the Unicode hexadecimal value 2115 to display the character. The x prefix indicates hexadecimal format.
Decimal HTML Code
ℕ uses the decimal Unicode value 8469 to display the same character. A common method for Letterlike Symbols.
Named Entity
ℕ is the standard named entity for ℕ—readable in source HTML and part of the HTML5 entity set for blackboard bold letters.
CSS Entity
\2115 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the glyph: ℕ. Unicode U+2115 sits in Letterlike Symbols. Do not confuse with plain N (U+004E) or Ņ (N cedilla, U+0145). Use math-friendly fonts for best rendering.
Use Cases
The uppercase N double struck capital (ℕ) is commonly used in:
Denote the set of natural numbers ℕ in number theory, algebra, and discrete mathematics.
Represent number sets alongside ℤ (integers), ℚ (rationals), and ℝ (reals) in mathematical notation.
Textbooks, online courses, and tutorials explaining number systems and blackboard bold notation.
Research papers, theses, and journal articles in mathematics and computer science.
Equation editors, calculators, and interactive math apps that render set notation in HTML.
Technical documentation and formulas involving counting numbers and induction proofs.
API docs, developer guides, and content explaining mathematical concepts involving number sets.
💡 Best Practices
Do
- Use
ℕin HTML when possible for readability - Serve pages as UTF-8; you can also type ℕ directly in UTF-8 source
- Use math-friendly fonts (e.g. Cambria Math, STIX Two Math) for clear double-struck rendering
- Use fonts that support Letterlike Symbols characters
- Distinguish ℕ (U+2115) from plain
N(U+004E) and Ņ (N cedilla)
Don’t
- Substitute plain
Nwhen ℕ is required for correct mathematical notation - Confuse ℕ (double-struck) with Ņ (N cedilla—different character)
- Put CSS escape
\2115in HTML text nodes - Assume all fonts render Letterlike Symbols identically
- Omit UTF-8 encoding on pages with mathematical symbols
Key Takeaways
Four references render ℕ; named entity is most readable
ℕ ℕ ℕFor CSS stylesheets, use the escape in the content property
\2115Unicode U+2115 — DOUBLE-STRUCK CAPITAL N
Essential for natural numbers, set theory, and mathematical content
Previous: Uppercase N Cedilla (Ņ) Next: Uppercase N Grave
❓ Frequently Asked Questions
ℕ (named), ℕ (hex), ℕ (decimal), or \2115 in CSS content. The named entity ℕ is the most readable for HTML content.U+2115 (DOUBLE-STRUCK CAPITAL N). Letterlike Symbols block. Hex 2115, decimal 8469. Commonly used to represent the set of natural numbers.ℕ or ℕ) or the named entity ℕ is used in HTML content. The CSS entity (\2115) is used in CSS, e.g. in the content property of pseudo-elements. Both produce ℕ but in different contexts.Explore More HTML Entities!
Discover 1500+ HTML character references — math symbols, diacritics, and more.
8 people found this page helpful
