• Free forever
  • No sign-up
  • Private — runs in your browser

Floor and ceiling in LaTeX

The LaTeX command for ⌊⌋ (floor and ceiling) is \lfloor x \rfloor. Try it in the editor below.

Loading the math renderer…

How to write ⌊⌋ (floor and ceiling) in LaTeX

Use \lfloor x \rfloor in math mode — between $…$ in a document, or directly in the editor above.

LaTeX command\lfloor x \rfloor
Symbol⌊⌋
UnicodeU+230A U+230B
NotesCeiling: \lceil x \rceil

Example

\lfloor 3.7 \rfloor = 3

The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.

More structures

SymbolCommand
Matrix\begin{pmatrix} a & b \\ c & d \end{pmatrix}
Cases (piecewise function)\begin{cases} a & x > 0 \\ b & x \le 0 \end{cases}
Binomial coefficient\binom{n}{k}
Absolute value\lvert x \rvert
Subscripts and superscriptsx_{i}^{2}

See every LaTeX symbol →

Related

← Back to the full LaTeX Equation Editor