Generic filters
Automatic updates Yes
Version 2.0.2
Updated on
Virus Total See Report

Gravity Perks Advanced Calculations enhances your Gravity Forms with powerful calculation capabilities. Easily perform complex math operations, conditional logic, and dynamic field updates. Perfect for creating advanced pricing models, custom quotes, and more. Simplify your form calculations with this essential plugin.

How to download Gravity Perks Advanced Calculations

Unlimited Access

Subscribe for only €10.90

Or

Get this product only with unlimited updates

Already included languages : EN, ES

We are not affiliated with Gravity Perks Advanced Calculations nor its developers or owners. Please read the full disclaimer in footer.

HOW IT WORKS

Auto updates with Club WPress plugin

Check how to install and update your WordPress plugins and themes in ONE CLICK directly from your Dashboard.

ClubWordPress Updater Plugin

Gravity Perks Advanced Calculations: A Comprehensive Guide

WordPress has revolutionized the way we build and manage websites. One of the most powerful features of WordPress is its ability to extend functionality through plugins. Among the myriad of plugins available, Gravity Forms stands out as a robust form builder. However, to truly unlock its potential, you need to look into Gravity Perks and, more specifically, the Gravity Perks Advanced Calculations plugin.

What is Gravity Perks?

Gravity Perks is a suite of add-ons for Gravity Forms, developed by the team at Gravity Wiz. These add-ons, known as “perks,” enhance the functionality of Gravity Forms, allowing you to create more sophisticated and powerful forms. With over 30 perks available, Gravity Perks offers solutions for a wide range of form-related challenges.

Introducing Gravity Perks Advanced Calculations

The Gravity Perks Advanced Calculations perk is designed to extend the calculation capabilities of Gravity Forms. While Gravity Forms already supports basic calculations, this perk takes it to the next level by introducing advanced mathematical functions and operations. This allows you to create complex calculations that can be used for a variety of purposes, from pricing calculators to custom scoring systems.

Key Features of Gravity Perks Advanced Calculations

  • Advanced Mathematical Functions: Perform complex calculations using functions such as SUM, AVG, MIN, MAX, and COUNT.
  • Conditional Logic: Apply calculations conditionally based on user input.
  • Custom JavaScript Functions: Extend the calculation capabilities even further by using custom JavaScript functions.
  • Field Merging: Merge field values dynamically into your calculations.
  • Support for Nested Forms: Perform calculations on fields within nested forms.

How to Install Gravity Perks Advanced Calculations

Before you can start using Gravity Perks Advanced Calculations, you need to have Gravity Forms and Gravity Perks installed on your WordPress site. Follow these steps to get started:

  1. Purchase and download the Gravity Perks plugin from the Gravity Wiz website.
  2. Install and activate Gravity Perks on your WordPress site.
  3. Navigate to the Gravity Perks settings page and activate the Advanced Calculations perk.

Setting Up Your First Advanced Calculation

Once you have installed and activated the Gravity Perks Advanced Calculations perk, you can start setting up your first advanced calculation. Here’s a step-by-step guide:

  1. Create a New Form: Go to the Gravity Forms menu and create a new form.
  2. Add Fields: Add the necessary fields to your form. For example, if you’re creating a pricing calculator, you might add fields for quantity, price, and discount.
  3. Enable Calculations: Select a field where you want to display the result of your calculation. In the field settings, enable the “Calculations” option.
  4. Enter Your Formula: In the calculation formula box, enter your advanced calculation. You can use field merge tags and advanced mathematical functions here.
  5. Save and Test: Save your form and test it to ensure that the calculations are working as expected.

Examples of Advanced Calculations

To give you a better understanding of what you can achieve with Gravity Perks Advanced Calculations, here are a few examples:

Example 1: Pricing Calculator

Let’s say you want to create a pricing calculator for a product. You have fields for quantity, price per unit, and discount. The total price can be calculated using the following formula:

{Quantity} * {Price Per Unit} – {Discount}

Example 2: Custom Scoring System

If you’re creating a quiz or survey, you might want to calculate a custom score based on user responses. You can use the SUM function to add up the scores of individual questions:

SUM({Question 1 Score}, {Question 2 Score}, {Question 3 Score})

Example 3: Conditional Calculations

Sometimes, you might want to perform calculations conditionally based on user input. For example, you can apply a discount only if the quantity is greater than 10:

{Quantity} > 10 ? ({Quantity} * {Price Per Unit} – {Discount}) : ({Quantity} * {Price Per Unit})

Using Custom JavaScript Functions

One of the most powerful features of Gravity Perks Advanced Calculations is the ability to use custom JavaScript functions in your calculations. This allows you to perform even more complex operations and logic. Here’s how you can do it:

  1. Define Your Function: In your theme’s JavaScript file, define the custom function you want to use. For example:

function customDiscount(quantity, pricePerUnit) {
if (quantity > 10) {
return quantity * pricePerUnit * 0.9; // 10% discount
}
return quantity * pricePerUnit;
}

  1. Use the Function in Your Calculation: In the calculation formula box, call your custom function using the gform_calculation_formula filter:

add_filter(‘gform_calculation_formula’, function($formula, $field, $form, $entry) {
return ‘customDiscount({Quantity}, {Price Per Unit})’;
}, 10, 4);

Best Practices for Using Gravity Perks Advanced Calculations

To get the most out of Gravity Perks Advanced Calculations, consider the following best practices:

  • Test Thoroughly: Always test your forms thoroughly to ensure that calculations are working as expected.
  • Use Descriptive Field Names: Use descriptive names for your form fields to make your calculations easier to understand.
  • Document Your Formulas: Keep a record of your calculation formulas for future reference and troubleshooting.
  • Leverage Conditional Logic: Use conditional logic to create dynamic and responsive forms.
  • Optimize Performance: Avoid overly complex calculations that could impact form performance.

Conclusion

Gravity Perks Advanced Calculations is a powerful tool that can significantly enhance the functionality of your Gravity Forms. Whether you’re creating pricing calculators, custom scoring systems, or any other type of advanced form, this perk provides the tools you need to perform complex calculations with ease. By following the best practices outlined in this guide, you can create sophisticated forms that meet your specific needs.

With Gravity Perks Advanced Calculations, the possibilities are endless. Start exploring its features today and take your Gravity Forms to the next level!

List of improvements in Gravity Perks Advanced Calculations version 2.0.2

    ## 2.0.2 | June 17, 2026

  • Fixed an issue with Time Field resolution which could cause incorrect results when passed to `timediff()` or `datetime()`.
  • Fixed an issue where Merge Tags and Field References were not interpreted in the site timezone by default.
  • Added support to `converttz()` for hardcoded dates and times.
  • Fixed an issue with the datediff() function where it inconsistently floored results.
  • ## 2.0.1 | June 11, 2026

  • Fixed an issue with some calculations were not working for standard merge tag notations.
  • ## 2.0 | May 19, 2026

  • Added native support for date and time calculations. Replaces GP Date Time Calculator functionality.
  • ## 1.1.22 | May 12, 2026

  • Updated how tooltips/autocomplete are rendered to improve compatibility with an upcoming perk.
  • Added new [`gpac_is_applicable_form`]( PHP filter hook along with `window.gpac_create_formula_editor()` JavaScript function for other plugins to utilize.
  • ## 1.1.21 | January 14, 2026

  • Fixed an issue where using merge tag shorthand with checkbox fields did not correctly calculate arithmetic operations on selected choices.
  • ## 1.1.20 | November 20, 2025

  • Fixed an issue where conditional statements in a nested form would not work if the referenced child field shared its ID with a parent field.
  • Fixed an issue where alphanumeric product field values (e.g. `B2`, `C3`) were incorrectly converted to numbers in calculations, causing value mismatch errors in conditional statements.
  • ## 1.1.19 | October 2, 2025

  • Fixed an issue where conditional statements using the OR operator would evaluate as false when one of the referenced fields was left blank or conditionally hidden at submission, causing the result to become invalid.
  • ## 1.1.18 | July 16, 2025

  • Fixed an issue where conditionals comparing hex values in strings (e.g. `”10×8″`) returned incorrect results due to formula security checks.
  • ## 1.1.17 | May 20, 2025

  • Removed redundant check for Gravity Perks in preparation for Spellbook.
  • ## 1.1.16 | May 14, 2025

  • Added Spanish translations. Credit: Rafael Soler of rafaelsoler.es
  • ## 1.1.15 | April 23, 2025

  • Fixed an issue where negative numbers in certain calculations were not processed correctly, leading to inaccurate results.
  • ## 1.1.14 | April 17, 2025

  • Added support for using the “Tab” key to add indents in the calculation field. Press the Escape key to unfocus the formula editor and enable tabbing to other field settings.
  • Fixed an issue where string values containing `/` could not be compared correctly in conditionals.
  • ## 1.1.13 | April 2, 2025

  • Improved formula syntax validation.
  • ## 1.1.12 | March 19, 2025

  • Fixed an issue where quotes around numbers in conditionals were not supported.
  • ## 1.1.11 | February 19, 2025

  • Fixed an issue where shorthand merge tags pointing to non-existent inputs would behave inconsistently.
  • Fixed issue where newlines inside `elseif():` conditions could cause an infinite loop. For example, `elseif(newlines here):`.
  • ## 1.1.10 | January 15, 2025

  • Improved syntax validator by preventing `{` or `}` from being used in merge tag field labels. This will prevent formulas such as `{Field 1:1} + Field 2:3}` from being marked as valid. We recommend [Merge Tag Shorthand]( if your field labels contain `{` or `}`.
  • ## 1.1.9 | December 10, 2024

  • Fixed some currency-formatted values (e.g. `10,00 €`) being treated as strings in if/elseif comparisons which would prevent operators such as `<` or `>` from working as expected.
  • ## 1.1.8 | November 27, 2024

  • Added [`gpac_should_process_calculation`]( JS filter hook that can be used to conditionally disable processing formulas. This can be used in snippets to increase performance of complex calculation forms.
  • ## 1.1.7 | October 30, 2024

  • Improved formula validation to mark nested if statements as invalid. They are unsupported, but would show as valid.
  • Fixed formula validation issues with modifiers in merge tags containing underscores (such as `{:1:choice_label}`).
  • ## 1.1.6 | October 23, 2024

  • Added PHP version of [`gpac_should_clean_merge_tag_value`](
  • Fixed issue where setting `gpac_should_clean_merge_tag_value` would not always ensure that non-numeric values are quoted.
  • ## 1.1.5 | October 9, 2024

...
>

Join Club WPress Now !

Get access to 19491 products for only €10,90 per month.

JOIN NOW

Reviews

  1. This tool simplifies intricate calculations significantly. Strongly recommended!
  2. Advanced Calculations by Gravity Perks has saved me countless hours. An excellent utility!
  3. The customer support is prompt and very supportive. Had a wonderful experience!