\usepackage{mathtools}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}

The command \ceil will do; if called as \ceil*{x} it will add \left and \right; you can also call it as

\ceil[\big]{x} \ceil[\Big]{x} \ceil[\bigg]{x} \ceil[\Bigg]{x}

to state explicitly the size of the delimiters.

Answer from egreg on Stack Exchange
🌐
LaTeX-Tutorial.com
latex-tutorial.com › home › blog › ceiling and floor function in latex
Ceiling and Floor Function in LaTeX | LaTeX-Tutorial.com
September 9, 2021 - For an extended size of ceiling symbol, we can add \left before \lfloor command and \right before \rfloor command.
🌐
Minibatch AI
minibatchai.com › 2023 › 07 › 15 › Latex_floor_ceil_round.html
Writing Ceil, Floor and Abs in LaTeX | Minibatch AI
July 15, 2023 - Now, you can use the “\ceil” command to write the ceil function as follows: ... The floor function rounds down a number to the nearest integer less than or equal to it. For example, $\lfloor 3.8 \rfloor = 3$. To write the floor function ...
🌐
Wikipedia
en.wikipedia.org › wiki › Floor_and_ceiling_functions
Floor and ceiling functions - Wikipedia
February 5, 2026 - In some sources, boldface or double brackets ⟦x⟧ are used for floor, and reversed brackets ⟧x⟦ or ]x[ for ceiling. The fractional part is the sawtooth function, denoted by {x} for real x and defined by the formula ...
🌐
Math-Linux
math-linux.com › latex › faq › latex-faq › article › latex-ceiling-function
Latex ceiling function | Math-Linux.com
November 7, 2025 - The ceiling function is a mathematical function that associates with any real number $x$ the smallest integer $n$ such that $n \geq x$, and is often noted as $\lceil x \rceil$ or $\operatorname{ceil}(x)$. In other words, the ceiling of $x$ is the smallest integer greater than or equal to $x$. /latex/
Find elsewhere
🌐
CodeSpeedy
codespeedy.com › home › floor (⌊x⌋) and ceiling (⌈x⌉) function in latex
Floor (⌊x⌋) and Ceiling (⌈x⌉) function in LaTeX - CodeSpeedy
March 29, 2024 - \documentclass{article} \newcommand{\floor}[1]{\left\lfloor {#1} \right\rfloor} \newcommand{\ceil}[1]{\left\lceil {#1} \right\rceil} \begin{document} $$ \floor{x} \quad \ceil{x} $$ $$ \floor{\frac{1}{x}} \quad \ceil{\frac{1}{x}} $$ \end{document}
🌐
LaTeX.org
latex.org › board index › general
How to ceil or floor the value of length command - LaTeX.org
fractal.generator wrote: I want to print out the value of \textwidth, for example, in a certain precision. Are there the ceil and floor functions available in latex to specify the precision? No, they aren't. The printlen package only provides the \rndprintlength command that just prints the ...
🌐
Overleaf
overleaf.com › learn › latex › Operators
Operators - Overleaf, Online LaTeX Editor
An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.
🌐
SCI Journal
scijournal.org › home › latex tutorial › how to write the floor symbol in latex?
How to write the floor symbol in LaTeX? 2026
July 13, 2022 - In LaTeX we use \lceil and \rceil commands for each side of the ceiling function, the same principle from the floor function symbols apply for the ceil symbols.
🌐
Physics Read
physicsread.com › home › how to use the floor symbol ⌊x⌋ and floor() function in latex
How to Use the Floor Symbol ⌊x⌋ and floor() Function in LaTeX
September 18, 2021 - Many beginners expect a direct command like \floor{x}, but LaTeX does not provide such a built-in command.
🌐
LaTeX.org
latex.org › board index › math & science
Whole and Fractional part symbols? - LaTeX.org
To quote the Wikipedia's "Floor ... bars are missing, and, e.g., in the LaTeX typesetting system these symbols can be specified with the \lfloor, \rfloor, \lceil and \rceil commands in math mode."...
🌐
Sherwin-Williams
sherwin-williams.com › painting-contractors › products › promar-interior-latex-ceiling-paint
ProMar Interior Latex Ceiling Paint - Sherwin-Williams
When it comes to achieving a quality appearance on ceilings, ProMar® Ceiling Paint is a top performer for budget-conscious projects. Its super-flat finish and good coverage minimize small surface imperfections for a beautiful final look in ...
🌐
Steemit
steemit.com › math › @dkmathstats › floor-and-ceiling-functions-of-numbers
Floor & Ceiling Functions Of Numbers — Steemit
August 2, 2019 - Hello. In this math post, I go over the floor function and the ceiling function. The screenshot images are from my TeXWorks output as I typed out most of the contents in a LaTeX editor.
🌐
Linux Hint
linuxhint.com › write-use-floor-symbol-latex
How to Write and Use a Floor Symbol in LaTeX – Linux Hint
Practical tutorial on how to write and use a floor ⌊x⌋ symbol in LaTeX using the $\floor$ as a source code and \rfloor and \lfloor for the right and left side.
🌐
LyX Users
lyx-users.lyx.narkive.com › OmlBfMt4 › ceiling-or-floor-symbol-in-math
Ceiling or floor symbol in math
Post by Raja Zubair I have looked thoroughly in the math toolbar and I am unable to find ceiling or floor symbol in it. Can anybody any idea about how to get it. You can always enter things manually. If it's in 1.4.x, look there, and when you hover your mouse over the symbol, you'll see it's LaTeX ...