The LaTeX command for div (÷) is \div.
\divWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \div inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
As a binary operator, \div gets a medium space on each side; at the start of a formula LaTeX reads it as a sign and drops the space. In running text, outside math mode, the same sign is \textdiv. With unicode-math under XeLaTeX or LuaLaTeX, typing ÷ in a formula gives the same symbol.
$a \div b$Open this example in the live preview: it renders as you type, with no compiler and no signup.
Binary operators in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \div in math mode; it needs no extra package. For example, $a \div b$.
None: \div is built into LaTeX, so no extra package is required.