Division in LaTeX (\div)

÷\div
LaTeX command
\div
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
÷U+00F7

Where it is used

Gives the obelus ÷, the elementary-school division sign with a dot above and below a bar.

The obelus appears in arithmetic worksheets, calculator-style expressions, and some tables, as in 12 \div 4 = 3. Research mathematics almost never uses it; instead write a fraction with \frac{12}{4}, an inline slash 12/4, or a colon for ratios. In some countries the obelus is avoided entirely, and ISO 80000-2 recommends against it. Because \div is a binary operator, TeX spaces it like + and -. Do not confuse it with \mid or the slash /, which mean divides and quotient respectively in number theory and group theory, for instance G/N.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

84÷7=1284 \div 7 = 12
\documentclass{article}
\begin{document}
Division: $\div$

\[ 84 \div 7 = 12 \]
\end{document}

Related symbols

All Mga Simbolo ng Math →

Frequently asked questions

How do I write Division in LaTeX?
Type \div in math mode, for example $84 \div 7 = 12$. It works in plain LaTeX without loading any package.
Which package do I need for \div?
None. \div is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \div in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\div$ in running text. If you only need the glyph in text, paste the Unicode character ÷ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers