Ceil

Rounds a number up to a whole number.

Node id math/ceil

The Ceil node outputs the smallest whole number that is not less than value: 2.1 gives 3, and -2.9 gives -2.

Inputs

NameTypeDefaultNotes
valuenumber0

Outputs

NameTypeNotes
resultnumber

Behaviour

  • Upwards, also for negatives. Ceil always rounds towards larger numbers, so negative numbers move towards zero.
  • Whole numbers are unchanged. 3 gives 3.
  • Floor: rounds down.
  • Round: rounds to the nearest whole number.
© 2026 Wirepaint