HTML Entity for N-Ary Summation (∑)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2211

What Is the N-Ary Summation Entity?

N-Ary Summation (∑) is the math operator at Unicode U+2211 for the sum of an indexed family of terms. HTML5 provides ∑. Example: ∑i ai.

Remember
Character     ∑
Unicode       U+2211
Named entity  ∑
Hex entity    ∑
Decimal       ∑
CSS escape    \2211

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ∑.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity∑HTML markup (preferred)
Direct character∑UTF-8 HTML text
Hex entity∑HTML markup
Decimal entity∑HTML markup
CSS escape\2211Stylesheet content

When to Use Which

SituationUse
Indexed sum of many terms∑
Need an entity in HTML source∑, ∑, or ∑
Generated text via ::before / ::aftercontent: "\2211"
N-ary product (∏)See N-Ary Product — ∏
Greek letter sigma (Σ)Σ — a letter, not the operator

Live Preview

Summation alone, indexed, and beside related operators.

Example ∑i=1n ai
Large glyph ∑
Named entity ∑ → ∑
vs ∏ / ∪ / Σ ∑  |  ∏  |  ∪  |  Σ
With entities Named: ∑ | Hex: ∑ | Decimal: ∑

Complete HTML Example

One page that shows the N-Ary Summation with named, hex, decimal, and CSS forms. Use View Output or open the live editor.

Named + Hex + Decimal + CSS

Four ways to produce ∑ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>N-Ary Summation (∑)</title>
  <style>
    #point::after {
      content: "\2211";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &sum;</p>
  <p>Using Hex Code: &#x2211;</p>
  <p>Using HTML Code: &#8721;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Formula: &sum;<sub>i=1</sub><sup>n</sup> a<sub>i</sub></p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &sum; is the clearest HTML form and renders ∑.

2. Hex: U+2211 → &#x2211; in HTML. Same result as the named entity.

3. Decimal: same code point as 8721 → &#8721;. Same result as hex and named.

4. CSS: use \2211 in content (not an HTML entity). #point::after appends that ∑ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with the N-Ary Summation.

Prefer

Use &sum;

The named form is clearer than numeric references and is defined in HTML5.

vs ∏

Not product

&prod; is ∏ (U+220F). Summation adds; product multiplies. Do not swap them.

vs Σ

Not Greek Sigma

&Sigma; is the letter Σ (U+03A3). Prefer &sum; for the math operator.

CSS vs HTML

Do not mix escapes

\2211 belongs in CSS. &sum; / &#x2211; / &#8721; belong in HTML.

Encoding

Declare UTF-8

If you type ∑ directly, keep <meta charset="UTF-8"> so the file is not misread.

Semicolon

End references

Always finish with ; — write &sum;, not &sum.

Browser Support

N-Ary Summation (U+2211) and its entity forms (&sum;, &#x2211;, &#8721;, CSS \\2211) are supported in all mainstream browsers with a Unicode-capable font.

✓ Universal support

N-Ary Summation (&sum;)

Encode with named, hex, decimal, or CSS escape — or type ∑ directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+2211 / &sum; Full support

Bottom line: Prefer &sum; in math HTML. Use \\2211 only inside CSS content.

Key Takeaways

  • Unicode: N-Ary Summation is U+2211 (decimal 8721).
  • HTML: prefer &sum;.
  • CSS: use \2211 inside content for generated text.
  • Lookalike: not &prod; (∏) or Greek &Sigma; (Σ).

One line: U+2211 → prefer &sum; (also &#x2211; / CSS \2211).

Frequently Asked Questions

Use &sum; (named), &#x2211; (hex), &#8721; (decimal), or the CSS escape \2211 in the content property. All render ∑. Prefer &sum; in math HTML.
U+2211 (N-ARY SUMMATION). Hex 2211, decimal 8721. It belongs to the Mathematical Operators block.
Yes. HTML5 defines &sum; for ∑.
Use it in algebra, calculus, and statistics when writing an n-ary (indexed) sum — for example ∑ᵢ aᵢ or ∑ₖ₌₁ⁿ k.
HTML entities (&sum;, &#8721;, or &#x2211;) go in markup. The CSS escape \2211 is used in stylesheets (usually in the content property of ::before/::after). Both render ∑.
∏ is &prod; (U+220F), the n-ary product — different operator. Greek capital sigma Σ (U+03A3) looks similar but is a letter, not the math operator ∑ (U+2211).

Did you know?

N-Ary Summation is Unicode U+2211 (decimal 8721) — in Mathematical Operators. HTML5 provides &sum;. It denotes the sum of an indexed family of terms. Related: Product &prod; (∏), Union &bigcup; (⋃), Coproduct &coprod; (∐).

Next: N-Ary Union

Continue with the N-Ary Union (⋃) entity tutorial.

N-Ary Union tutorial →

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