LaTeX Multiplication Symbol: Times, Dot, Divide, Not Equal

November 11, 2026 · 11 min read

LaTeX Multiplication Symbol, Division, Not Equal and Approx Signs

The LaTeX multiplication symbol is \times for a cross (×) or \cdot for a centred dot (⋅), and you can often skip the sign entirely by writing 2x. Division uses \div, not equal uses \neq, and approximately uses \approx. This page shows when each one is the right choice.

Every example below uses math mode, so wrap it in $...$ inline or $$...$$ for a display block. If those delimiters are new to you, our guide to writing equations in Markdown covers them. We rendered every example on this page in KaTeX 0.16 to check it.

Which LaTeX Multiplication Symbol Should You Use?

LaTeX gives you four ways to show a product, and they don't mean quite the same thing. The table puts them side by side.

You typeRenders asBest for
2x, ab2x2x, ababVariables and coefficients in algebra
\cdota⋅ba \cdot bProducts of letters where a sign helps readability
\times3×43 \times 4Plain numbers, scientific notation, dimensions
\ast or *f∗gf \ast gConvolution and other special operations, not ordinary products

In algebra, juxtaposition wins. Mathematicians write 2πr2\pi r and (a+b)(a−b)(a+b)(a-b) with no sign at all, and readers expect that.

For numbers, the cross is the standard LaTeX multiply symbol, and the NIST Guide to the SI, section 10.5.4 backs that up. When a dot is the decimal marker, as in the US, the preferred sign for multiplying numbers is the cross, not a half-high dot. Its own example is 25×60.525 \times 60.5, because 25⋅60.525 \cdot 60.5 puts a dot right next to a decimal point.

NIST adds that where a comma is the decimal marker, the half-high dot is preferred for numbers. So the right sign depends partly on which decimal marker your readers use.

Avogadro's number is about $6.02 \times 10^{23}$.
A 1080p screen is $1920 \times 1080$ pixels.
The area is $A = l \cdot w$.

That renders as a cross in the first two lines and a centred dot between ll and ww. We prefer \cdot between letters and \times between numbers, which matches the NIST rule and keeps algebra uncluttered.

The asterisk is the one to avoid as a multiplication symbol in LaTeX. The LaTeX reference manual lists * as a synonym of \ast, a six-pointed operator used for convolution. It also notes that * often appears as a superscript or subscript, as in the Kleene star Σ∗\Sigma^*. A reader who sees a∗ba \ast b may assume you mean something other than plain multiplication.

What Does ⊙ Mean? Dot, Cross and Circled Products

Vectors and matrices reuse the same signs with stricter meanings. Set vectors in bold with \mathbf, or add arrows with \vec, so readers can tell them apart from scalars.

$\mathbf{a} \cdot \mathbf{b}$ is the dot product, a scalar.
$\mathbf{a} \times \mathbf{b}$ is the cross product of two 3D vectors.
$A \odot B$ multiplies two matrices entry by entry.
$A \otimes B$ is the Kronecker or tensor product.

The circled dot \odot (⊙) usually means the Hadamard, or element-wise, product, and \otimes (⊗) usually means the Kronecker or tensor product. Notation varies between fields, so define either symbol the first time you use it.

For a long product, write x_1 x_2 \cdots x_n, which gives x1x2⋯xnx_1 x_2 \cdots x_n with centred dots. The amsmath manual names \dotsm as its multiplication dots, and KaTeX accepts it too. Keep \ldots for lists separated by commas, as in x1,x2,…,xnx_1, x_2, \ldots, x_n. For a product over an index, \prod takes its limits the same way as a LaTeX summation.

How Do You Write the Division Symbol in LaTeX?

The LaTeX division symbol is \div, so $12 \div 4 = 3$ renders as 12÷4=312 \div 4 = 3. It's a binary operator, and it reads naturally in arithmetic, worksheets and anywhere a reader expects the ÷ sign from a calculator.

Outside arithmetic, writers usually swap the LaTeX divide symbol for one of two forms:

  • A slash, as in (a+b)/2, gives (a+b)/2(a+b)/2. It stays on one line, so it suits inline math in a paragraph.
  • A fraction, as in \frac{a+b}{2}, stacks the terms and suits display equations. Our LaTeX fraction syntax guide covers its sizes and nesting.

The phrase "a divides b" is a different relation. Write it as a \mid b, which gives a∣ba \mid b. The reference manual explains that a bare | produces the same bar with no spacing around it, while \mid is a relation and gets the space a reader expects. Its negation, \nmid, comes from the amssymb package in LaTeX, as in 3∤103 \nmid 10.

Not Equal Symbol in LaTeX: \neq, \ne and \not

The not equal symbol (≠) means the two sides have different values. Type \neq or \ne in math mode: they're synonyms, and $x \neq 0$ renders as x≠0x \neq 0.

You'll also see \not= in some documents. In the LaTeX kernel's own definitions, both \neq and \ne are built as \not=, so all three give the same glyph in a standard document. KaTeX renders all three as well.

The \not command overstrikes whatever relation follows it with a slash. That makes it a quick way to negate a relation that has no ready-made negated form:

$a \not\equiv b \pmod{5}$
$x \notin A$
$\triangle ABC \ncong \triangle DEF$

The first line renders a slashed ≡ followed by (mod 5). For set membership, the reference manual says \notin is typographically preferable to \not\in. The third line uses \ncong, one of the ready-made negations from amssymb.

Approximately Symbol in LaTeX: \approx and Its Look-Alikes

The approximately symbol is \approx (≈), so $\pi \approx 3.14159$ renders as π≈3.14159\pi \approx 3.14159. It has several look-alike relations, and picking the wrong one changes the meaning. The meanings start from the reference manual's descriptions and add common usage.

CommandRenders asUsual meaningExample
\approx≈\approxAlmost equal toe≈2.718e \approx 2.718
\simeq≃\simeqSimilar or equal tof≃gf \simeq g
\sim∼\simSimilar; asymptotic; distributed asf(n)∼n2f(n) \sim n^2
\cong≅\congCongruent; isomorphic△ABC≅△DEF\triangle ABC \cong \triangle DEF
\equiv≡\equivIdentical; congruent modulo n17≡3(mod7)17 \equiv 3 \pmod 7
\approxeq≊\approxeqApproximately equal (amssymb)a≊ba \approxeq b
\doteq≐\doteqApproaches the limita≐ba \doteq b
\propto∝\proptoIs proportional toy∝xy \propto x
\asymp≍\asympAsymptotically equivalentf≍gf \asymp g

All of these are base LaTeX except \approxeq, which needs \usepackage{amssymb}. KaTeX ships the AMS symbols, so it renders the whole table without any setup. For an everyday rounded value, such as a measurement or a decimal estimate, the approx symbol is the one readers expect.

What's the Difference Between ≈ and ∼?

The two look similar, but ≈ is about numerical closeness and ∼ usually isn't. Writing π≈3.14\pi \approx 3.14 says two values are close in size.

The tilde \sim changes meaning with the field:

  • Asymptotics: f(x)∼g(x)f(x) \sim g(x) means the ratio of the two tends to 1. That's the definition in the NIST Digital Library of Mathematical Functions, section 2.1, which gives tanh⁡x∼x\tanh x \sim x as x→0x \to 0 as an example.
  • Statistics: X∼N(0,1)X \sim \mathcal N(0,1) says X follows a normal distribution with mean 0 and variance 1.
  • Geometry: △ABC∼△DEF\triangle ABC \sim \triangle DEF means the triangles are similar.

So f∼gf \sim g can hold while the two values drift far apart, as long as their ratio approaches 1. If a reader could take your tilde either way, say which meaning you intend in a sentence.

Why \times and \neq Get Different Spacing

Each symbol belongs to a class, and the class decides how much space surrounds it. The reference manual tags \times, \cdot, \div and \ast as binary operators, and \neq, \approx and \sim as relations, the same class as =. Relations get a little more room than binary operators. Our LaTeX symbols reference lists more commands from both classes.

In KaTeX's output we measured 0.2222em on each side of \times and 0.2778em on each side of \neq. That's why a×b=ca \times b = c looks balanced without any manual spacing.

Three consequences catch people out:

  1. Spaces you type in math mode are ignored, so 2\times3 and 2 \times 3 render identically.
  2. A binary operator at the very start of a formula, or right after a relation, is treated as an ordinary symbol. So $\times 2$ prints the sign with no gap.
  3. Wrapping an operator in braces, as in a {\times} b, also turns it ordinary and removes its spacing. \mathbin does the reverse.

One limitation: KaTeX follows TeX's spacing rules closely, but it isn't LaTeX. If a construction looks unusual, compile it in a real LaTeX build before you trust the web preview.

Typing These Operators Inside Markdown Math

Markdown math uses the same commands. Our editor renders math with KaTeX, using $...$ for inline math and $$...$$ for display blocks. It doesn't support the \(...\) or \[...\] delimiters.

Two web habits help. First, some Markdown renderers read emphasis before math, so a stray pair of * characters on one line can turn into italics. Writing \ast sidesteps that risk. Second, a currency dollar near math needs escaping as \$, which our page on Markdown escape characters covers.

If a document is mostly equations, full LaTeX may suit you better than Markdown, and our Markdown vs LaTeX comparison weighs the trade-off. For a single formula, the LaTeX equation editor renders with KaTeX, has a symbol palette, exports PNG or SVG, and copies a Markdown math snippet.

Edit the demo below and the preview updates as you type:

Multiplication
3×4=123 \times 4 = 12 and 6.02×10236.02 \times 10^{23}
a⋅ba \cdot b, u×v\mathbf{u} \times \mathbf{v}, A⊙BA \odot B
Division
12÷4=312 \div 4 = 3, a/ba/b, ab\frac{a}{b}
Approximately and related
π≈3.14159\pi \approx 3.14159, y∝xy \propto x
f(n)∼n2f(n) \sim n^2, △ABC≅△DEF\triangle ABC \cong \triangle DEF
a≡b(mod7)a \equiv b \pmod{7}

48 words312 characters9 lines
Markdown

Try swapping \times for \cdot in the first line, or \approx for \simeq, and compare the glyphs. Delete a space around an operator and you'll see the spacing stays the same.

Pick the LaTeX multiplication symbol by context: side by side for algebra, \cdot between letters, \times between numbers. Then reach for \div or a slash for division, \neq for not equal, and \approx when you mean close in value. To try any of these, open the editor, type a formula between dollar signs, and the preview on the right renders it as you write.