U+2248
Almost Equal To
- Alt code
Alt 247- HTML
≈- Unicode
U+2248
The almost equal to (≈) is Unicode U+2248, HTML ≈, Alt 247 on Windows.
Most keyboards skip the almost equal to entirely, which is why it gets copied instead of typed. This one lives at code point U+2248 and belongs to the math group; click it above to copy, or use the table for the HTML, CSS and JavaScript equivalents.
Render test
Checking whether this device has a font that can draw ≈.
| Symbol | ≈ | |
|---|---|---|
| Unicode | U+2248 | |
| Name | Almost Equal To | |
| HTML (named) | ≈ | |
| HTML (decimal) | ≈ | |
| HTML (hex) | ≈ | |
| CSS content | \2248 | |
| JavaScript / JSON | \u2248 | |
| UTF-8 bytes | 0xE2 0x89 0x88 | |
| UTF-16 units | 0x2248 | |
| Windows alt code | Alt 247 |
Source: Unicode Character Database. Code point verified as assigned in Unicode 17.0. Last updated . Report an error
How do you type the almost equal to on each platform?
Find your platform in the first column.
| Where | How to type it |
|---|---|
| Any device | Click the ≈ at the top of this page. It goes straight to your clipboard, and you paste it with Ctrl+V on Windows or Cmd+V on a Mac. This is the only method that behaves identically everywhere. |
| Windows | Hold Alt and type 247 on the numeric keypad, then release Alt. This is the code page 437 number, the old DOS set that US-English Windows uses for codes without a leading zero; other system languages can map it to a different character. The number row above the letters does not work for this. |
| macOS | Add Unicode Hex Input under Keyboard settings, switch to it, then hold Option and type 2248. Without that input source, open the Character Viewer with Control+Command+Space and search for almost equal to. |
| Linux and ChromeOS | Press Ctrl+Shift+U, type 2248, then press Enter or the space bar. This works in GTK applications and with IBus. |
| Microsoft Word | Type 2248 in the document, then press Alt and X together with the cursor immediately after the last digit. Word replaces the digits with ≈. |
| Google Docs | Insert, then Special characters, then paste U+2248 or type almost equal to in the search box. You can also draw the shape in the sketch pad on the right. |
| Excel and Google Sheets | Use the formula UNICHAR(8776) in a cell. Copy the cell and paste it as a value if you want the character rather than the formula. |
| HTML | Write ≈, or the numeric reference ≈, or ≈. On a page served as UTF-8 the character itself also works. |
| CSS | Use content: "\2248" inside a ::before or ::after rule. Terminate the escape with a space if the next character is also a hexadecimal digit. |
| JavaScript | The escape \u2248 produces this character inside a string literal, and the same escape is valid in JSON. |
More detail per platform: Windows alt codes, special characters on a Mac, special characters in Word and HTML entities.
Frequently asked questions
How do I copy the almost equal to symbol?
Press the Copy ≈ button at the top of this page, or click the large ≈, and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for almost equal to?
The almost equal to has the Unicode code point U+2248. In HTML you can write it as ≈ or ≈, or with the named entity ≈.
What is the alt code for the almost equal to symbol?
On Windows, hold the Alt key and type 247 on the numeric keypad, then release Alt. Copying the ≈ from this page is quicker and works on any device.
Can I use the almost equal to symbol in HTML and CSS?
Yes. In HTML write ≈ or the named entity ≈, and in CSS use content: "\2248" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full math symbols hub, or return to the searchable symbol grid.