How to Type the Parallel Symbol (∥) on Any Keyboard

Disclosure: When you buy something through links on our site, we may earn an affiliate commission.

The parallel symbol ∥ is a mathematical and geometric notation used to indicate that two lines, segments, or planes run parallel to one another — never intersecting regardless of how far they extend. Whether you’re writing geometry proofs, engineering notes, technical documentation, or academic papers, this guide covers every way to type the parallel symbol on any device and platform.


What Is the Parallel Symbol?

In geometry, the parallel symbol is placed between two lines or expressions to indicate they are parallel. For example, AB ∥ CD means line AB is parallel to line CD. It is one of the most fundamental notations in Euclidean geometry and appears regularly in mathematics, physics, engineering, and architecture.

The symbol consists of two vertical lines of equal height — distinct from similar-looking characters that are often mistakenly substituted for it.

There are several variants and closely related symbols worth knowing:

SymbolNameUnicodeCommon Use
Parallel toU+2225Geometry, math notation
Not parallel toU+2226Negated parallel
Perpendicular toU+22A5Lines at 90°
Divides / vertical barU+2223Number theory
||Double pipe (ASCII)U+007C x2Programming, informal use
Double vertical lineU+2016Norm notation, music

Important distinction: The two most commonly confused characters are (U+2225, the true parallel symbol) and (U+2016, the double vertical line used in mathematical norms and music notation). They look nearly identical but are different Unicode characters with different meanings. For geometry and parallel notation, always use (U+2225).


How to Type the Parallel Symbol on Windows

Method 1: Copy and Paste

The fastest and most reliable method on any platform — copy directly from this page and paste it wherever you need it. Works in every browser, app, and text editor.

Method 2: Alt Code

  1. Make sure Num Lock is on
  2. Hold Alt and type 8741 on the numeric keypad
  3. Release Alt — appears

If Alt + 8741 doesn’t work in your application, try the Unicode input method in Word or fall back to copy-paste. Alt code behavior can vary between programs.

Method 3: Unicode Input (Microsoft Word)

  1. Type 2225
  2. Immediately press Alt + X
  3. Word converts it to

For the not-parallel symbol:

  1. Type 2226
  2. Press Alt + X

Method 4: Character Map

  1. Open Start and search “Character Map”
  2. Search for “parallel” in the search box
  3. Select
  4. Click Select, then Copy
  5. Paste into your document

Method 5: Windows Emoji Panel

  1. Press Windows key + . (period)
  2. Go to the Symbols tab
  3. Search for “parallel”
  4. Click to insert if available — note that the parallel symbol may not appear in all versions of the emoji panel, in which case use Character Map or copy-paste

How to Type the Parallel Symbol on Mac

Method 1: Character Viewer (Most Reliable)

  1. Press Control + Command + Space
  2. Search for “parallel”
  3. Double-click to insert it

This is the most straightforward method on macOS and works across every app.

Method 2: Unicode Hex Input

  1. Enable Unicode Hex Input under System Settings > Keyboard > Input Sources
  2. Switch to the Unicode Hex Input keyboard
  3. Hold Option and type 2225
  4. Releases as

Method 3: Create a Text Replacement Shortcut

Mac doesn’t have a dedicated key shortcut for ∥, but you can build one:

  1. Go to System Settings > Keyboard > Text Replacements
  2. Click +
  3. In Replace, type something like para||
  4. In With, paste
  5. Click Add

Now typing para|| in any macOS app will auto-suggest .


How to Type the Parallel Symbol on iPhone and Android

The parallel symbol is not available on standard mobile keyboards. The most practical approach on both platforms is copy-paste combined with a saved shortcut for repeated use.

iPhone (iOS)

Set up a text replacement for quick access:

  1. Go to Settings > General > Keyboard > Text Replacement
  2. Tap +
  3. In Phrase, paste
  4. In Shortcut, type something like para
  5. Tap Save

Typing para will now auto-suggest as a replacement anywhere on iOS.

Android (Gboard)

  1. Go to Gboard Settings > Dictionary > Personal Dictionary
  2. Select your language
  3. Tap +
  4. Add as the word and para as the shortcut
  5. Tap the checkmark to save

Gboard will suggest whenever you type para.

Alternative: Math Keyboard Apps

If you frequently type mathematical notation on mobile, consider a dedicated math keyboard app:

  • MathKey (iOS) — Designed specifically for mathematical symbols and LaTeX input
  • Math Keyboard (Android) — Provides a full panel of math symbols including geometric notation
  • Mathpix (iOS & Android) — Scan handwritten math and convert to digital notation

How to Type the Parallel Symbol in Microsoft Word

Method 1: Alt + X (Fastest in Word)

Type 2225 then press Alt + X — Word instantly converts it to .

Method 2: Equation Editor

For formal mathematical documents, Word’s built-in equation editor handles parallel notation cleanly:

  1. Go to Insert > Equation
  2. Click Symbols in the equation toolbar
  3. Select Mathematical Operators from the dropdown
  4. Find and click

Or within the equation editor, type \parallel followed by Space — Word will convert it to automatically.

Method 3: AutoCorrect Setup

  1. Go to File > Options > Proofing > AutoCorrect Options
  2. In Replace, type something like (para)
  3. In With, paste
  4. Click Add, then OK

Now typing (para) anywhere in Word auto-produces .

Method 4: Insert > Symbol

  1. Go to Insert > Symbol > More Symbols
  2. Set from to Unicode (hex)
  3. Type 2225 in the Character code box
  4. Click Insert

How to Type the Parallel Symbol in Google Docs

Method 1: Insert > Special Characters

  1. Go to Insert > Special Characters
  2. Search for “parallel”
  3. Click to insert it directly

Method 2: Copy and Paste

Copy from this article and paste directly into your Google Doc — no additional steps required.

Method 3: Equation Editor

Google Docs supports LaTeX-style math input:

  1. Go to Insert > Equation
  2. Type \parallel
  3. Press Space or Enter
  4. Google Docs renders it as

This is the cleanest method for math-heavy documents as it keeps notation inside a proper equation block.

Method 4: Substitutions

  1. Go to Tools > Preferences > Substitutions
  2. In Replace, type (para)
  3. In With, paste
  4. Click OK

Parallel Symbol in HTML and CSS

For web developers and publishers, here are all the correct ways to render the parallel symbol in code:

MethodCodeResult
HTML numeric (hex)∥
HTML numeric (decimal)∥
Not parallel (hex)∦
CSS content propertycontent: "\2225";
LaTeX\parallel
Direct UTF-8paste ∥ directly

Note: The parallel symbol does not have a named HTML entity like € or †. Always use the numeric hex form ∥ for best compatibility.

CSS example:

css

.parallel-notation::after {
  content: "\2225";
  margin: 0 4px;
  font-family: "Segoe UI", "Arial Unicode MS", sans-serif;
}

Font support note: As with many mathematical symbols, ∥ may not render in all fonts. Use a fallback stack that includes Segoe UI, Arial Unicode MS, or DejaVu Sans to ensure reliable display across browsers and operating systems.


The Parallel Symbol in LaTeX

For anyone writing academic papers, scientific documents, or math-heavy content, LaTeX is the standard tool — and it handles the parallel symbol elegantly.

Basic Parallel Notation

latex

AB \parallel CD

Renders as: AB ∥ CD

Not Parallel

latex

AB \nparallel CD

Renders as: AB ∦ CD

Inside an Equation Environment

latex

\begin{equation}
  \overline{AB} \parallel \overline{CD}
\end{equation}

Parallel in Text Mode

If you need the symbol inline within regular text rather than inside a math block:

latex

Lines $AB$ and $CD$ are parallel ($AB \parallel CD$).

Package note: The \parallel command is available in standard LaTeX without any additional packages. For extended geometric notation, the amssymb and txfonts packages offer additional symbol options.


How the Parallel Symbol Is Used in Practice

Understanding context helps you use the symbol correctly across different fields.

Geometry & Mathematics

The most common use — indicating two lines, rays, or line segments run in the same direction and never intersect:

  • AB ∥ CD — Line AB is parallel to line CD
  • ℓ₁ ∥ ℓ₂ — Line 1 is parallel to line 2
  • m ∥ n — Lines m and n are parallel

Physics & Engineering

In physics, ∥ is used to denote components of a vector parallel to a reference direction, as opposed to ⊥ for perpendicular components:

  • v∥ — The component of velocity parallel to the surface
  • F∥ — Force component parallel to the incline

In electrical engineering, ∥ is sometimes used to represent resistors in parallel:

  • R₁ ∥ R₂ — Resistors R1 and R2 connected in parallel

Music Notation

In traditional music theory, parallel motion between voices is annotated with ∥ to flag parallel fifths or octaves — a notation used in counterpoint analysis.

Programming

In most programming languages, || (double pipe, two ASCII vertical bars) is used as the logical OR operator — this is distinct from the mathematical parallel symbol ∥ and should not be confused with it in technical writing.


Parallel vs. Similar-Looking Symbols: Know the Difference

The parallel symbol is frequently substituted with characters that look similar but mean something different. Here’s a clear breakdown:

SymbolUnicodeNameCorrect Use
U+2225Parallel toGeometric parallel notation
U+2016Double vertical lineNorm in math (‖v‖), music
||U+007C x2Two ASCII pipesProgramming logical OR
U+2223DividesNumber theory (a ∣ b)
|U+007CVertical bar / pipeProgramming, ASCII art
U+22A5PerpendicularLines at right angles

For geometry homework, textbooks, and formal mathematical writing, always use ∥ (U+2225). The ASCII || workaround is acceptable in casual digital writing but is technically incorrect in formal notation.


Related Geometric Symbols

If you work with parallel notation, these related geometric and mathematical symbols are worth having in your toolkit:

SymbolNameUnicodeMac (Char Viewer)Windows Alt Code
Parallel toU+2225Search “parallel”Alt + 8741
Not parallel toU+2226Search “not parallel”
PerpendicularU+22A5Search “perpendicular”Alt + 8869
AngleU+2220Search “angle”Alt + 8736
TriangleU+25B3Search “triangle”
Congruent toU+2245Search “congruent”Alt + 8773
Similar toU+223CSearch “similar”
πPiU+03C0Search “pi”Alt + 227
°DegreeU+00B0Search “degree”Alt + 0176
Square rootU+221ASearch “radical”Alt + 251

Quick Reference: Parallel Symbol Cheat Sheet

NameParallel toNot parallel to
UnicodeU+2225U+2226
HTML numeric∥∦
Windows Alt codeAlt + 8741
Word (Alt+X)Type 2225 + Alt+XType 2226 + Alt+X
Mac (Viewer)Ctrl+Cmd+Space, search “parallel”← same
Mac (Unicode)Option + 2225Option + 2226
LaTeX\parallel\nparallel
Google DocsInsert > Equation > \parallelInsert > Equation > \nparallel
MobileCopy/paste or text replacementCopy/paste
CSS escape\2225\2226

Final Thoughts

The parallel symbol is one of those characters that looks simple but hides a lot of nuance — particularly around the distinction between ∥ (U+2225) and the visually similar ‖ (U+2016) and ASCII ||. For geometry and formal math writing, always use the true parallel symbol U+2225. Word users have the cleanest path with the Alt + X method (type 2225 + Alt+X), while Mac users can pull it up quickly through the Character Viewer. In LaTeX, \parallel handles everything neatly. For everyone else — students, writers, casual users — a copy-paste of from this page is always the fastest route.

Leave a Comment