Do you want more options to round numbers in Gravity Forms Number Fields and calculations? And decide in which direction to round the number, like rounding up (ceil), rounding down (floor) or automatically (round up or down dependend on the value you want to round)? With the GravityWP – Advanced Number Field that’s as easy as it gets.
Rounding up to 5 decimal places
With Advanced Number Field enabled, you can easily select a checkbox in your Field Settings of the Gravity Forms Number Field you want to round. Two extra options appear:
- Rounding to decimal places: you can select up to 5 decimal places to round.
- Rounding method: Round (up or down depending on the value), Ceil (rounding up), Floor (rounding down)

Using rounding on calculations
You can also activate rounding on calculations. Make a calculations like you are used to, using Merge Tags with number values and select ‘Round the Value’ to automatically round the outcome of the calculation.

Use in combination with custom units
You can use the rounding option in combination with custom units like square or cubic meters (m2, m3), the percentage sign (%), degrees Celcius or Fahrenheid (°C, °F), Irradiance (W/m2) or another custom unit.
Check out the Tutorial about Custom Units for Gravity Forms Number Fields.

Rounding without add-on
You can read on the Gravity Forms community forum more about rounding without an add-on. This is no standard functionality in Gravity Forms for rounding, but with custom JavaScript/jQuery you can program your own solution if you want the rounding to happen in real time.
If real-time rounding is not necessary, you can also use the gform_field_validation filter to check the entered value or the gform_pre_submission filter to change the value after submission. Read more on the Gravity Forms forum.
Rounding by Increments GravityWiz
Gravity Perks has a snippet available to round numbers by increment using specific CSS classes. You can add the snippet to your functions.php file or download it as a plugin from their website. This can be also very handy if you want rounding on bigger numbers, like rounding to 100 if something is above 50.
FAQ about rounding numbers in Gravity Forms
Can you round numbers in Gravity Forms without a plugin?
Can I use rounding for calculations with Advanced Number Field?
Up to how many decimal places can I round with Advanced Number Field?
Can I force rounding to an integer with Advanced Number Field?
Our Premium add-ons for Gravity Forms
List Datepicker
Add a Datepicker with calendar select to a column or multiple columns in a Gravity Forms List Field.
List Number Format
With this Gravity Forms Add-on you can change List Field columns into a number field, do calculations within a row or column. Extra merge tags are available with total counts of columns.
n8n Connector
Connect Gravity Forms to n8n and automate your workflows with secure, flexible, and powerful webhooks. Go beyond simple notifications and build advanced, two-way automations.
Entry to Database
Integrates Gravity Forms with internal or external databases, offering flexible mapping of form fields to database columns and real-time synchronization between entries and database rows.
Read tutorials about
How to Create a Public Submission Business Directory in WordPress (Gravity Forms + GravityView)
Build a moderated business directory where users submit listings through a form, admins approve entries, and approved businesses appear in a searchable GravityView directory.
How to Create an Event Workshop Registration + Waitlist System in WordPress
This guide shows how to set up a workshop registration + waitlist system in WordPress: register attendees until capacity is reached, waitlist the rest, approve entries, and auto-promote people when a seat opens using Gravity Forms, Gravity Flow, and GravityView.
Gravity Flow Form Submission Step Tutorial
The Gravity Flow Form Submission step pauses a workflow until another form is submitted, then continues once the handoff is complete. This guide shows how to connect two forms, prefill fields with mapping, send the correct secure link, and troubleshoot the most common “workflow didn’t move” issues.
Gravity Flow Delete an Entry Step Tutorial
The Gravity Flow Delete Entry step lets you trash or permanently remove Gravity Forms entries as part of a workflow. This guide covers the key settings, scheduling options (delay or date-based), and safe testing tips so you can follow retention and privacy rules with confidence.