Ratio (∶) is the Mathematical Operators character at Unicode U+2236 (RATIO). It marks a mathematical ratio — written as a ∶ b. The preferred HTML form is the named entity ∶.
Remember
Character ∶
Unicode U+2236
Named entity ∶
Hex entity ∶
Decimal ∶
CSS escape \2236
Named, numeric, and UTF-8 forms produce the same glyph: ∶. Prefer ∶ for readable, portable markup. For everyday ratios like 3:1, an ASCII colon is often enough.
Using Named Entity: a ∶ b
Using Hex Code: a ∶ b
Using Decimal: a ∶ b
Using Direct Character: a ∶ b
Using CSS Entity: a ∶ b
How It Works
1. Named:∶ is the preferred HTML5 entity for U+2236.
2. Hex:U+2236 → ∶ in HTML. Same glyph as the named form.
3. Decimal: same code point as 8758 → ∶.
4. Direct: paste ∶ in a UTF-8 file with <meta charset="UTF-8">.
5. CSS: use \2236 in content (not an HTML entity). The empty #point span receives that ∶ via ::after.
Pitfalls & Tips
Common mistakes when working with this math entity.
Name
Prefer ∶
Use the named entity when possible. Numeric forms are fine for generators or when names are unavailable.
Not :
Not the ASCII colon
ASCII : (U+003A) is fine for scores and times. ∶ is the mathematical ratio operator.
Not ∷
∶ vs ∷
Proportion is U+2237. Ratio is U+2236. Related math punctuation — different code points.
Not prop
Not “proportional to”
∝ (∝) means “varies as.” ∶ is the ratio operator between two terms.
CSS vs HTML
Do not mix escapes
\2236 belongs in CSS. ∶ / ∶ belong in HTML.
UTF-8
Declare charset
If you paste ∶ directly, serve the page as UTF-8 with <meta charset="UTF-8">.
Compatibility
Browser Support
Ratio (U+2236) and its entity forms (∶, ∶, ∶, CSS \\2236) are supported in all mainstream browsers. Glyph availability depends on the font.
✓ Universal support
Ratio (∶)
Prefer ∶, or encode with hex, decimal, or CSS escape — same glyph everywhere (when the font has it).
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+2236 / ∶Full support
Bottom line: Prefer ∶ in HTML. Use ∶ or ∶ as numeric alternatives, and \\2236 only inside CSS content.
Remember
Key Takeaways
Unicode: ratio is U+2236 (decimal 8758), Mathematical Operators.
HTML: prefer ∶ — or ∶ / ∶.
CSS: use \2236 inside content for generated text.
Meaning: math ratio — not ASCII : and not ∷.
One line:U+2236 → ∶ / ∶ / CSS \2236.
Frequently Asked Questions
Prefer ∶ (named). You can also use ∶ (hex), ∶ (decimal), type ∶ in UTF-8, or the CSS escape \2236 in content.
U+2236 (RATIO). Hex 2236, decimal 8758. It belongs to Mathematical Operators (U+2200–U+22FF).
Yes. HTML5 defines ∶ for U+2236. Prefer it over numeric forms when you want readable markup.
Use it in math and science when you want the mathematical ratio operator (a ∶ b). Prefer ∶ for portable HTML. For everyday text like 3:1, an ASCII colon is often fine.
HTML entities (∶, ∶, or ∶) go in markup. The CSS escape \2236 is used in stylesheets (usually in the content property of ::before/::after). Both render ∶.
∶ (∶) is the mathematical ratio operator. : is the ASCII colon (U+003A). U+2237 is PROPORTION (often shown as four dots). Related ideas, different characters.
🤔
Did you know?
Ratio (∶) is Unicode U+2236 (decimal 8758) — RATIO in Mathematical Operators. HTML5 named entity: ∶. Prefer ∶ in HTML. Write ratios as a ∶ b. It is not the ASCII colon (:) or the proportion mark (∷, U+2237).