Division sign (÷) in LaTeX
The division sign, \div, denotes division in an inline expression, such as . In higher mathematics, \frac, which stacks the numerator over the denominator, is almost always preferred instead.
LaTeX command
\divNot the symbol you meant? Draw it to find the command →
\div is familiar from school arithmetic, where it clearly shows one number divided by another on a single line. It works the same way in LaTeX, rendering a small horizontal line with a dot above and below, between the two operands.
Above introductory level, mathematicians rarely use \div: a stacked fraction written with \frac{a}{b} is clearer, especially once expressions get longer, and is the standard convention in research papers, textbooks past school level, and anywhere division combines with other operations.
Because \div reads left to right on one line, chained expressions like can be genuinely ambiguous about grouping. Using \frac or explicit parentheses removes any doubt about which division happens first.
Examples
$12 \div 4 = 3$simple arithmetic division
$\frac{12}{4} = 3$the same division written as a stacked fraction, usually clearer
$a \div b = \frac{a}{b}$the two notations mean the same thing
$(10 \div 2) \div 5$parentheses remove ambiguity in a chained division
Tips and common mistakes
- Prefer
\frac{a}{b}over for anything beyond simple school-level arithmetic, it is the standard convention in higher mathematics and reads more clearly. \divis uncommon in research-level maths and university textbooks; if you are writing at that level, reach for\fracor a slash instead.- Chained expressions like can be ambiguous, add parentheses or switch to
\fracto make the grouping explicit. - No package is needed,
\divis a core LaTeX symbol.
Working from handwritten notes?
LatexNotes turns a photo or PDF of handwritten mathematics into clean, compilable LaTeX - graphs and all. Free to try, no sign-up.
Convert your maths to LaTeX →FAQ
How do I type the division sign in LaTeX?
Use \div inside maths mode, for example . No package is required.
Should I use \div or \frac?
Use \frac{a}{b} for anything beyond the simplest arithmetic, it is the standard, clearer convention in higher mathematics. \div is mostly reserved for school-level material.
Why is \div uncommon in advanced maths?
A stacked fraction from \frac shows numerator and denominator unambiguously and scales better with complex expressions, so it replaces \div almost entirely past introductory level.
What is the difference between \div and a slash?
Both indicate division, but \div is a dedicated symbol with its own spacing, while a slash is a plain character often used for compact inline fractions like a/b.