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
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.
List Dropdown
Add a Dropdown Select with choices to a column or multiple columns in a Gravity Forms List Field.
List Text
Add features like textarea, placeholder and custom validation to a column or multiple columns in a Gravity Forms List Field.
Advanced Merge Tags
This Gravity Forms Add-On adds extra Merge Tag modifiers (and a lot of power). From the most common used functions like capitalize and length to changing date formats.
Read tutorials about
Gravity Forms Airtable Integration: Create Records From Form Submissions
Learn how to build a Gravity Forms Airtable integration with GravityWP API Connector. Send form submissions to Airtable, create new records automatically, and save the returned Airtable Record ID and response back to Gravity Forms.
Gravity Forms Asana Integration: Create Tasks From Form Submissions
Learn how to connect Gravity Forms to Asana with GravityWP API Connector. This tested workflow creates Asana tasks from form submissions and saves the returned task ID and URL back to Gravity Forms.
Gravity Forms Google Calendar Integration: Create Events From Form Submissions
Connect Gravity Forms to Google Calendar with GravityWP API Connector. Learn how to create calendar events from form submissions, map event details, configure OAuth 2.0, handle time zones, and save the returned Event ID and URL.
Gravity Forms Notion Integration: Create Database Pages Without Zapier
Connect Gravity Forms to Notion without Zapier. This tested tutorial shows how to create Notion database pages from form submissions and save the returned page ID, URL, creation time, and API response.