Dollar Sign Symbol $ — Copy, Paste and Type the Dollar Sign on Any Device
The dollar sign $ is one of the most widely recognized symbols in the world. Whether you are writing a price tag, coding a script, or filling out a spreadsheet, knowing how to quickly type and use the dollar sign is essential. This guide covers everything you need to know about the $ symbol — from copying and pasting it to typing it on any device, along with its fascinating history and varied uses.
Copy the Dollar Sign Symbol
Simply highlight and copy the dollar sign below:
$
You can paste it anywhere — documents, emails, social media posts, spreadsheets, or code editors.
Unicode and Technical Details
The dollar sign has the following technical specifications:
- Unicode: U+0024
- HTML Entity: $ or $
- CSS Content: "\\0024"
- JavaScript: "\\u0024"
- ASCII Code: 36 (decimal)
The dollar sign is part of the basic Latin character set and has been included in computer character encoding standards since the earliest days of ASCII.
How to Type the Dollar Sign on Windows
Typing the dollar sign on a Windows computer is straightforward:
- Standard US Keyboard: Press Shift + 4 (the number row key)
- Alt Code: Hold Alt and type 36 on the numeric keypad
- Character Map: Open Character Map (search "Character Map" in Start), find the dollar sign, select and copy
- Microsoft Word: Type 0024 then press Alt + X
How to Type the Dollar Sign on Mac
On a Mac, use any of these methods:
- Standard Keyboard: Press Shift + 4
- Character Viewer: Press Control + Command + Space, then search for "dollar"
- Keyboard Viewer: Enable it in System Settings > Keyboard > Input Sources, then open it from the menu bar
How to Type the Dollar Sign on iPhone and iPad
On iOS devices, the dollar sign is readily available:
- Default Keyboard: Tap the 123 key to switch to numbers, then tap the $ key
- Copy and Paste: Long-press the $ key on any website and copy it
How to Type the Dollar Sign on Android
On Android devices:
- Default Keyboard (Gboard): Tap the ?123 key, then tap the $ key
- Long-press: Some keyboards place $ on the number row — simply tap it
- Symbol Menu: Tap the symbols key (often "=<") to find the dollar sign
History of the Dollar Sign
The origin of the dollar sign is a subject of debate among historians, but the most widely accepted theory traces it back to the Spanish peso. In the late 18th century, American merchants and clerks commonly used a shorthand for the Spanish peso — writing a "P" with a superscript "s" (Ps). Over time, the letters merged, and the vertical stroke of the P was written over the S, creating the familiar $ shape.
Another popular theory suggests the symbol comes from the Pillars of Hercules — the two vertical stripes on the Spanish coat of arms — with a scroll wrapped around them forming the S shape. This design appeared on Spanish silver coins that were widely circulated in the American colonies.
A less likely but romantic theory claims the symbol is formed from the letters "U" and "S" overlaid on top of each other, standing for "United States." Most historians consider this a myth since the symbol predates the formation of the United States.
Uses of the Dollar Sign
The dollar sign serves many different purposes across various fields:
- Currency: Represents the US dollar, Canadian dollar, Australian dollar, and several other currencies worldwide
- Programming: In JavaScript, PHP, and other languages, $ is used as a variable prefix or special identifier
- Spreadsheets: In Excel and Google Sheets, $ is used to create absolute cell references (e.g., $A$1)
- Regular Expressions: The $ symbol matches the end of a string in regex patterns
- Template Literals: In JavaScript, dollar-sign with braces is used for string interpolation
- Command Line: In Unix/Linux terminals, $ indicates a regular user prompt
- Pricing and Commerce: Universally recognized as a symbol for money and pricing
Dollar Sign vs. Other Currency Symbols
While the dollar sign is the most widely used currency symbol, it is important to know the distinction between it and similar symbols:
- $ (Dollar): Used for US, Canadian, Australian, New Zealand, Singapore, and other dollar-based currencies
- Euro: The official currency symbol for the Eurozone
- Pound: Used for the British pound sterling
- Yen/Yuan: Used for Japanese yen and Chinese yuan
- Cent: Represents one hundredth of a dollar
Fun Facts About the Dollar Sign
- The dollar sign was first used in print around 1784 in a Philadelphia document
- Some countries that use the dollar add their own variations, such as the Canadian dollar (C$) or the Australian dollar (A$)
- The double dollar sign ($$) is sometimes used to represent "big money" or "a lot of cash" in informal writing
- In online gaming and slang, $$$ is used to emphasize wealth or profit
- The $ symbol was one of the original 128 ASCII characters, reflecting its importance in written communication
Frequently Asked Questions
Is the dollar sign used before or after the number?
In English-speaking countries, the dollar sign is placed before the number (e.g., $100). In some French-speaking regions of Canada, it may appear after the number with a space (e.g., 100 $).
Why does the dollar sign sometimes have one line and sometimes two?
Most modern fonts use a single vertical stroke through the S, but the original design had two strokes representing the Pillars of Hercules. Some fonts, particularly serif fonts, still show two vertical lines.
Can I use the dollar sign in URLs?
The dollar sign is technically allowed in URLs but it is generally recommended to avoid it. If needed, it should be percent-encoded as %24.