# `ArithmeticError`
[🔗](https://github.com/elixir-lang/elixir/blob/v1.20.0-rc.3/lib/elixir/lib/exception.ex#L1085)

An exception raised on invalid arithmetic operations.

For example, this exception is raised if you divide by `0`:

    iex> 1 / 0
    ** (ArithmeticError) bad argument in arithmetic expression

---

*Consult [api-reference.md](api-reference.md) for complete listing*
