ceil

Round a floating point number up to the nearest greater integer.

Syntax

{{ number | ceil }}

Example

{% assign hours = 3.2 %}{{ hours | ceil }} hours estimated

Output

4 hours estimated

The ceil filter rounds any fractional or decimal number upward to the next whole integer. It ensures calculations that yield fractional values are presented as safe, conservative whole units.

On keyword combination landing pages, ceil converts fractional calculations into clean customer-facing metrics like estimated turnaround hours or project shifts. For example: {{ row.duration_minutes | divided_by: 60.0 | ceil }} hours average service time. This gives customers clear, rounded estimates without confusing fractional decimals.

Try this syntax in the editor.