Less Than or Equal To in Unicode: Identifying U+2264 and Using It Safely
The less-than-or-equal-to sign is Unicode U+2264 (≤). Learn how to identify it, tell it apart from look-alikes, enter and encode it, and check whether it survives copy, paste and assistive technology.
The standard less-than-or-equal-to sign (≤) is a single Unicode character: U+2264, formally named LESS-THAN OR EQUAL TO, in the Mathematical Operators block. This guide covers how to confirm that a symbol in your text really is that code point, how it differs from similar-looking characters and from the two-character sequence <=, and whether it will stay readable where you plan to use it.
The code point and its common encodings
| Form | Value |
| Character | ≤ |
| Code point | U+2264 |
| Unicode name | LESS-THAN OR EQUAL TO |
| Decimal value | 8804 |
| UTF-8 bytes | E2 89 A4 |
| UTF-16 code unit | 2264 |
| HTML named entity | ≤ |
| HTML numeric references | ≤ or ≤ |
| CSS content escape | \2264 |
| JavaScript, Python, Java and C# escape | \u2264 |
| LaTeX (math mode) | \leq or \le |
| Plain ASCII fallback | <= |
The matching greater-than-or-equal-to sign (≥) is U+2265. Inside HTML, the ≤ entity and the numeric references all produce the same stored character once the page is parsed, so choose whichever your workflow finds easiest to read.
What the transformation actually changes
Replacing <= with ≤ is Unicode character substitution: two ASCII characters (U+003C and U+003D) become one different character. The stored text changes, so searching, sorting, string length and any program that parses the text will treat it differently. A search for <= will not find ≤, and the reverse is also true.
Two other effects can look identical on screen but change nothing underneath.
- Font ligatures: some programming fonts draw the sequence <= as a single ≤-like glyph. This is presentation only. The file still contains two ASCII characters, and copying it pastes <=.
- CSS or rendered math: a stylesheet or a math renderer can display ≤ while the source holds an entity, a LaTeX command or MathML markup. What gets copied depends on how the page builds that display, so check the pasted result instead of assuming.
Character-order reversal and visual mirroring also matter here. ≤ carries the Bidi_Mirrored property in the Unicode Character Database, and the bidirectional mirroring data pairs it with ≥. In a right-to-left context, a conforming renderer can draw the mirrored glyph so the symbol points the right way for that reading direction. The stored code point remains U+2264. Reversing a string's character order does not swap ≤ for ≥, and a reversed or mirror-text tool can change a comparison's meaning if the symbol is not handled deliberately. Labels such as "mirror text" or "fancy text" do not tell you which of these methods a tool uses, so inspect its output.
How to identify the character you have
Look-alike characters are the main risk, so confirm the code point rather than trusting the glyph. Any of these local methods reports what is actually stored:
# Python
hex(ord('≤')) # '0x2264'
import unicodedata
unicodedata.name('≤') # 'LESS-THAN OR EQUAL TO'
// JavaScript (browser console or Node.js)
'≤'.codePointAt(0).toString(16) // '2264'
# Shell: show the UTF-8 bytes
printf '≤' | xxd # e2 89 a4
If the result is 3c followed by 3d, you have the ASCII sequence <=, possibly displayed through a ligature. Any other value means you have a different character, such as one of the variants below.
Similar characters that are not U+2264
| Character | Code point | Name | Note |
| ≤ | U+2264 | LESS-THAN OR EQUAL TO | The general-purpose sign |
| ⩽ | U+2A7D | LESS-THAN OR SLANTED EQUAL TO | Slanted bar; some style guides prefer it, but it is a separate character |
| ≦ | U+2266 | LESS-THAN OVER EQUAL TO | Double bar; a separate character |
| ≲ | U+2272 | LESS-THAN OR EQUIVALENT TO | Tilde below; different meaning |
| ≰ | U+2270 | NEITHER LESS-THAN NOR EQUAL TO | Negation; canonically equivalent to U+2264 followed by U+0338 COMBINING LONG SOLIDUS OVERLAY |
| ⋜ | U+22DC | EQUAL TO OR LESS-THAN | Bar above; different character |
| ≥ | U+2265 | GREATER-THAN OR EQUAL TO | Mirrored partner |
U+2264 has no compatibility decomposition, so Unicode normalization (NFC or NFKC) will not convert ⩽ or ≦ into ≤. If your data mixes these variants, normalize them explicitly in your own code instead of relying on a normalization form.
Entering the symbol
Input methods depend on the operating system, keyboard layout and application, so test them on your own setup. Commonly documented options include:
- macOS with the standard U.S. layout: Option + comma types ≤, and Option + period types ≥.
- Windows: in apps that support legacy Alt codes, holding Alt and typing 243 on the numeric keypad produces ≤ through code page 437. In Microsoft Word, typing 2264 and then pressing Alt + X converts it to the character.
- Linux with GTK or IBus input: Ctrl + Shift + U, then 2264, then Enter or Space.
- Any platform: copy the character from a trusted character map, or use the escapes in the table above inside code and markup.
Will it stay readable and usable where you need it?
Because ≤ is a standard encoded character and not a styling trick, it usually survives copy and paste as long as the destination accepts Unicode text. The weak points are predictable.
- Legacy encodings: systems limited to ASCII or a single-byte code page without the symbol may replace it with ?, a box or mojibake such as ≤, which is what the UTF-8 bytes look like when misread as Windows-1252. Use <= or the words "less than or equal to" for those destinations.
- Source code: most programming languages require <= as the operator and reject ≤ outside strings and comments. Keep ≤ out of code and use a ligature font if you only want the look.
- Fonts: if the active font lacks the glyph, the system may fall back to another font or show a placeholder box. Mathematical Operators coverage is common but not universal, so check the target font.
- Search and data matching: users and scripts searching for <= will miss ≤. Pick one form for structured data such as spreadsheets, CSV files and filters, and use it consistently.
- Screen readers: how ≤ is announced depends on the screen reader, its language and its punctuation or symbol verbosity setting. Some configurations read it as "less than or equal to", while others may abbreviate it or skip it at low verbosity. No assistive-technology testing was performed for this guide. Where the comparison is essential, such as eligibility rules, dosages or prices, write it out in words or add accessible text, and test with the screen readers your audience uses.
- Math on the web: inside MathML, put the symbol in an mo element so math-aware tools treat it as an operator.
A quick destination check: paste the text into the target system, copy it back out, and run one of the code point checks above. If you get 2264, the character survived. If you get anything else, switch to the plain-text alternative.
A note on online inspection tools
Web-based Unicode inspectors and converters can identify characters quickly, but pasting text into them sends it to an external service. Don't paste passwords, personal data or confidential documents. Copy only the symbol you want to check, or use the local methods shown above, which never send text off your machine.
Choosing by situation
| Situation | Recommended form |
| Published prose, math, documentation in UTF-8 | ≤ (U+2264) |
| HTML where the source should stay readable as ASCII | ≤ |
| Program source code and command-line arguments | <= |
| Legacy or ASCII-only systems, SMS gateways of unknown encoding | <= or "less than or equal to" |
| Critical content where accessibility must be guaranteed | Words, with the symbol optional |
| LaTeX documents | \leq |
Evidence gap: this guide relies on Unicode Character Database properties and widely documented encoding behavior. It does not include hands-on tests of specific apps, fonts, browsers or screen readers. Before relying on the symbol, verify behavior in the exact destination you plan to use.