HTML Entity for Uppercase N Double Struck Capital (ℕ)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2115

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

Unicode U+2115

Letterlike Symbols

Hex Code ℕ

Hexadecimal reference

HTML Code ℕ

Decimal reference

Named Entity ℕ

Most readable option

Reference Table
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)
1

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:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2115";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2115;</p>
<p>Symbol (decimal): &#8469;</p>
<p>Symbol (named): &Nopf;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The uppercase N double struck capital (ℕ) and the named entity &Nopf; are supported in all modern browsers:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the uppercase N double struck capital (ℕ) in mathematical notation:

Large glyph
Set notationℕ = {1, 2, 3, …}
Named entity&Nopf; renders as ℕ
Not the same asplain N (U+004E)  |  Ņ (N cedilla)
Numeric refs&#x2115; &#8469; &Nopf; \2115

🧠 How It Works

1

Hexadecimal Code

&#x2115; uses the Unicode hexadecimal value 2115 to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8469; uses the decimal Unicode value 8469 to display the same character. A common method for Letterlike Symbols.

HTML markup
3

Named Entity

&Nopf; is the standard named entity for ℕ—readable in source HTML and part of the HTML5 entity set for blackboard bold letters.

HTML markup
4

CSS Entity

\2115 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

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:

🔢 Natural numbers

Denote the set of natural numbers ℕ in number theory, algebra, and discrete mathematics.

📊 Set theory

Represent number sets alongside ℤ (integers), ℚ (rationals), and ℝ (reals) in mathematical notation.

📚 Education

Textbooks, online courses, and tutorials explaining number systems and blackboard bold notation.

📄 Academic publishing

Research papers, theses, and journal articles in mathematics and computer science.

💻 Web math tools

Equation editors, calculators, and interactive math apps that render set notation in HTML.

🔬 Scientific docs

Technical documentation and formulas involving counting numbers and induction proofs.

📝 Technical writing

API docs, developer guides, and content explaining mathematical concepts involving number sets.

💡 Best Practices

Do

  • Use &Nopf; 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 N when ℕ is required for correct mathematical notation
  • Confuse ℕ (double-struck) with Ņ (N cedilla—different character)
  • Put CSS escape \2115 in HTML text nodes
  • Assume all fonts render Letterlike Symbols identically
  • Omit UTF-8 encoding on pages with mathematical symbols

Key Takeaways

1

Four references render ℕ; named entity is most readable

&#x2115; &#8469; &Nopf;
2

For CSS stylesheets, use the escape in the content property

\2115
3

Unicode U+2115 — DOUBLE-STRUCK CAPITAL N

4

Essential for natural numbers, set theory, and mathematical content

❓ Frequently Asked Questions

Use &Nopf; (named), &#x2115; (hex), &#8469; (decimal), or \2115 in CSS content. The named entity &Nopf; 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.
When writing mathematical content, set theory, number theory, academic papers, scientific documentation, educational materials, and any text requiring blackboard bold N notation for natural numbers.
HTML code (&#8469; or &#x2115;) or the named entity &Nopf; 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.
The uppercase N double struck capital (ℕ) represents the set of natural numbers. It is used alongside other blackboard bold sets such as ℤ (integers), ℚ (rationals), and ℝ (reals). The double-struck style is a mathematical notation convention for special number sets.

Explore More HTML Entities!

Discover 1500+ HTML character references — math symbols, diacritics, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful