How monospaced fonts work
Most fonts are proportional: narrow letters like "i" and "l" take little space and wide ones like "m" and "w" take more. A monospaced (or fixed-width) font puts each character in a box of equal width. Narrow letters get extra space around them, wide letters are squeezed.
The idea comes from typewriters, which moved the carriage the same distance for every key.
Why they are useful
- Code. Indentation and alignment stay exact, and similar characters (0 and O, 1 and l) are often designed to look clearly different.
- Data and tables. Numbers line up in columns without extra setup.
- Terminals and logs. Output that depends on fixed columns displays correctly.
- Style. They suggest technology, data or a typewritten look.
Examples
- Courier / Courier New: the classic typewriter look
- Consolas: shipped with Microsoft products for coding
- Menlo and SF Mono: Apple's coding fonts; Apple describes SF Mono as a monospaced variant of San Francisco used in Xcode (Apple Fonts)
- JetBrains Mono: made by JetBrains for its code editors
- Fira Code: known for programming ligatures
- IBM Plex Mono: part of IBM's Plex family
- Roboto Mono, Source Code Pro, Space Mono: free on Google Fonts (see google-font)
Monospaced fonts in branding
Tech companies, developer tools and data products sometimes use a monospaced face for labels, numbers or small accents. It works best as a secondary voice next to a regular text face. Long paragraphs in monospace read slowly because the uneven spacing breaks word shapes.
If you want lined-up numbers without a monospaced font, many proportional fonts offer "tabular figures", a setting that makes only the digits equal width.
