Ring (∘) is the Mathematical Operators character at Unicode U+2218 (RING OPERATOR). It is the standard symbol for function composition (for example f ∘ g).
Remember
Character ∘
Unicode U+2218
Hex entity ∘
Decimal ∘
Named entity ∘
CSS escape \2218
Not the same ° (°) · ○ (○)
All of these produce the same glyph: ∘. Prefer ∘ when you want an explicit entity.
Use ∘ (named), ∘ (hex), ∘ (decimal), or the CSS escape \2218 in the content property. You can also type ∘ directly in UTF-8 HTML.
U+2218 (RING OPERATOR). Hex 2218, decimal 8728. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. ∘ is the HTML5 named entity (short for composition function). You can also use ∘ or ∘.
Use it for function composition (f ∘ g), algebra, and math notation when you need the ring operator. Prefer ∘ for readable HTML.
HTML entities (∘, ∘, or ∘) go in markup. The CSS escape \2218 is used in stylesheets (usually in the content property of ::before/::after). Both render ∘.
° (U+00B0) is the degree sign. ○ (U+25CB) is a white circle glyph. ∘ (U+2218) is the mathematical ring operator used for composition — different code points and meanings.
🤔
Did you know?
Ring (ring operator) is Unicode U+2218 (decimal 8728) — RING OPERATOR. HTML5 provides ∘. Prefer it for readable source. Do not confuse it with the degree sign ° (U+00B0), white circle ○ (U+25CB), or spacing ring above ˚ (U+02DA).