Search
Search for a symbol or emoji...
∶
∶
Ratio Symbol ∶
Ratio Symbol Information
| Symbol Name | Ratio |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2236 |
| CSS Code | \2236 |
| HTML Entity | ∶ |
| Hex Code | ∶ |
| HTML Code | ∶ |
| Symbol | ∶ |
How to add ratio symbol via keyboard on different Operating systems
You can type the ratio symbol on most modern devices with the help of following methods:
How to type ratio symbol on Microsoft Word
You can type the ratio in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2236
- Without moving the cursor press keys Alt + x together
- The original 2236 is now transformed into ∶
How to type ratio symbol on Microsoft Windows
You can type the ratio on Microsoft windows using following steps:
- Hold Alt and press to type ratio on your windows machine.
How to type ratio symbol on Mac OS
You can type the ratio on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Ratio" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type ratio symbol on Linux
You can type the ratio on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2236 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type ratio symbol on IOS and Android
The easiest way to type the ratio symbol on ios and android is to copy and paste it wherever you need it.
How to use ratio in CSS
//CSS Example
1span {
2 content: \2236;
3 }How to use ratio in HTML
//HTML Example
1<span>∶</span>Ratio symbol representation in programming languages
Ratiosymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2236} |
| Ruby | \u{2236} |
| Python | \u2236 |
| PHP | \u{2236} |
| Perl | \x{2236} |
| Java | \u2236 |
| Modern JavaScript - Since ES6 | \u{2236} |
| JavaScript | \u2236 |
| Go | \u2236 |
| C# | \u2236 |
| C and C++ | \u2236 |
| Bash and Zsh - inside echo -e | \u2236 |
| RFC 5137 | \u'2236' |
