HTML Entity for Proportional To (∝)

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

What You'll Learn

How to display the proportional to symbol (∝) in HTML using various entity methods. This operator expresses direct proportionality—for example yx means y is directly proportional to x.

This character is part of the Mathematical Operators Unicode block and can be rendered with a hexadecimal reference, a decimal reference, the named entity ∝, or a CSS escape in the content property. Do not confuse ∝ with U+2237 (∷, proportion for ratio statements).

⚡ Quick Reference — Proportional To

Unicode U+221D

Mathematical Operators block

Hex Code ∝

Hexadecimal reference

HTML Code ∝

Decimal reference

Named Entity ∝

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+221D
Hex code       ∝
HTML code      ∝
Named entity   ∝
CSS code       \221D
Meaning        Proportional to
Related        U+2237 = Proportion (∷)
               U+221E = Infinity (∞)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing ∝ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\221D";
  }
 </style>
</head>
<body>
<p>Relation (hex): y &#x221D; x</p>
<p>Relation (decimal): y &#8733; x</p>
<p>Relation (named): y &prop; x</p>
<p>Relation (CSS): y <span id="point"></span> x</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The proportional to entity is universally supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See ∝ rendered live in different contexts:

Direct proportion yx
Large glyph
Physics Fx (Hooke’s law)
Not the same as Proportion ∷ (ratio operator)
Entity refs &#x221D; &#8733; &prop; \221D

🧠 How It Works

1

Hexadecimal Code

&#x221D; uses the Unicode hexadecimal value 221D to display the symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8733; uses the decimal Unicode value 8733 to display the same character.

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Named Entity

&prop; is the semantic named entity — the easiest to read in source HTML for this relation operator.

HTML markup
=

Same visual result

All four methods produce: . Unicode U+221D in the Mathematical Operators block (U+2200–U+22FF).

Use Cases

The proportional to symbol (∝) commonly appears in:

📐 Mathematics

Direct proportionality: y ∝ x, area ∝ r².

⚡ Physics

Hooke’s law, inverse-square laws, and scaling relationships.

📊 Statistics

Correlation and linear relationship notation in reports.

📄 Academic Papers

Scientific and engineering formulas in published research.

📋 Unicode References

Character tables and Mathematical Operators guides.

🎓 Education

School and university math and science course materials.

♿ Accessibility

Pair ∝ with “is proportional to” on first use.

💡 Best Practices

Do

  • Use &prop; for readable proportionality markup
  • Distinguish ∝ from ∷ (proportion for ratios)
  • Pick one style (hex / decimal / named) per project
  • Use MathML or LaTeX for complex multi-line formulas when appropriate
  • Test rendering across browsers and math fonts

Don’t

  • Substitute ∷ (&Colon;) when ∝ (&prop;) is the intended relation
  • Use the tilde ~ as a stand-in for ∝
  • Use CSS escape \221D inside HTML text nodes
  • Use HTML entities in JS (use \u221D instead)
  • Mix entity styles randomly in one file

Key Takeaways

1

Three HTML references all render ∝

&#x221D; &#8733; &prop;
2

For CSS stylesheets, use the escape in the content property

\221D
3

Unicode U+221D belongs to the Mathematical Operators block (U+2200–U+22FF)

4

Prefer &prop; for readability—standard named entity for proportional to

❓ Frequently Asked Questions

Use &#x221D; (hex), &#8733; (decimal), &prop; (named), or \221D in CSS content. All produce ∝.
U+221D (PROPORTIONAL TO). Mathematical Operators block. Hex 221D, decimal 8733.
∝ (U+221D, &prop;) means proportional to (e.g. y ∝ x). ∷ (U+2237, &Colon;) is the proportion operator for ratio statements like a:b ∷ c:d.
In mathematical notation, physics formulas, statistics, academic papers, and any content expressing direct proportionality between variables.
Yes. &prop;, &#8733;, and &#x221D; are equivalent in modern browsers and all render ∝.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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