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 الرموز الرياضية →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث