# \#gform\_calculation\_formula

**URL:** https://community.gravityforms.com/tag/gform-calculation-formula/997.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [How use "IF" or other criteria in "Formula"](https://community.gravityforms.com/t/how-use-if-or-other-criteria-in-formula/10657)

<div class="topic-metadata">

**Author:** [@user61291ec7f3bc9543](https://community.gravityforms.com/u/user61291ec7f3bc9543)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 8:15pm UTC](https://community.gravityforms.com/t/how-use-if-or-other-criteria-in-formula/10657 "2025-09-29T20:15:42Z")

</div>

Hi! would you please help me with how I can use the “condition” or “IF” in the “Formula” section? for example: Thank you

---

## [Clarification on the pow function in the formula new](https://community.gravityforms.com/t/clarification-on-the-pow-function-in-the-formula-new/19398)

<div class="topic-metadata">

**Author:** [@eworc](https://community.gravityforms.com/u/eworc)\
**Replies:** 0\
**Last updated:** [May 19, 2025, 7:52pm UTC](https://community.gravityforms.com/t/clarification-on-the-pow-function-in-the-formula-new/19398 "2025-05-19T19:52:12Z")

</div>

I am working with the following formula: {V (cubic inches) value (hidden) used in final PD sizing calculation:24} \* {Type of Pump:17} \* pow({System Pressure (psi):4} / {Minimum Discharge Pressure:11}, {Type of Gas:3}) /…

---

## [How do you manage big calculations with Gravity Math?](https://community.gravityforms.com/t/how-do-you-manage-big-calculations-with-gravity-math/19044)

<div class="topic-metadata">

**Author:** [@raz1](https://community.gravityforms.com/u/raz1)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 6:16am UTC](https://community.gravityforms.com/t/how-do-you-manage-big-calculations-with-gravity-math/19044 "2025-03-06T06:16:53Z")

</div>

I’m working on a site with Gravity Forms and Gravity Math and some of the pages have some pretty big formulas. How do you keep track of all your subformulas in complex calculations? When you have to troubleshoot or updat…

---

## [Should be a simple equation but \[RESOLVED\]](https://community.gravityforms.com/t/should-be-a-simple-equation-but-resolved/16110)

<div class="topic-metadata">

**Author:** [@user64b9df5e85ccb026](https://community.gravityforms.com/u/user64b9df5e85ccb026)\
**Replies:** 4\
**Last updated:** [October 27, 2023, 9:23pm UTC](https://community.gravityforms.com/t/should-be-a-simple-equation-but-resolved/16110 "2023-10-27T21:23:43Z")

</div>

Hi, I’m trying to add all of the values together, as a total, from a multi-select field. If choice 1 has a value of 10, and choice 2 has a value of 5… If they’re both selected, I’d like to populate the ‘total field’ wit…

---

## [Is it possible to calculate a price range?](https://community.gravityforms.com/t/is-it-possible-to-calculate-a-price-range/12264)

<div class="topic-metadata">

**Author:** [@LouisD](https://community.gravityforms.com/u/LouisD)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 4:50pm UTC](https://community.gravityforms.com/t/is-it-possible-to-calculate-a-price-range/12264 "2022-03-25T16:50:38Z")

</div>

I have client request to create a calculator that calculates a price range and wondering if this is possible with Gravity Forms. Here’s an example : 15-20k + 7-10k = 22-30k Here’s an example of the calculator I’ve been…

---

## [Trying to Allow entry of percentages for use in formulas \[RESOLVED\]](https://community.gravityforms.com/t/trying-to-allow-entry-of-percentages-for-use-in-formulas-resolved/12141)

<div class="topic-metadata">

**Author:** [@sbr](https://community.gravityforms.com/u/sbr)\
**Replies:** 5\
**Last updated:** [March 15, 2022, 12:38pm UTC](https://community.gravityforms.com/t/trying-to-allow-entry-of-percentages-for-use-in-formulas-resolved/12141 "2022-03-15T12:38:18Z")

</div>

I’m only able to allow for people to enter a decimal, for simplicity i’d like to have them be able to enter a percentage field or just a number in a field i’d designate as the percentage field. Is this possible?

---

## [Fixing Date Calculations please e.g dd/mm/yy - dd/mm/yy \[RESOLVED\]](https://community.gravityforms.com/t/fixing-date-calculations-please-e-g-dd-mm-yy-dd-mm-yy-resolved/12077)

<div class="topic-metadata">

**Author:** [@HappyDays](https://community.gravityforms.com/u/HappyDays)\
**Replies:** 4\
**Last updated:** [March 5, 2022, 10:10am UTC](https://community.gravityforms.com/t/fixing-date-calculations-please-e-g-dd-mm-yy-dd-mm-yy-resolved/12077 "2022-03-05T10:10:11Z")

</div>

Hi, Does anyone know what I’m doing wrong please? I have two dates in my form e.g Booking 1, Booking 2 When I use the calculation: {Date of Booking1:8} - {Date of Booking2:9} It returns a strange looking number I th…

---

## [Exponent Support?](https://community.gravityforms.com/t/exponent-support/11768)

<div class="topic-metadata">

**Author:** [@user607db689e3466799](https://community.gravityforms.com/u/user607db689e3466799)\
**Replies:** 1\
**Last updated:** [February 1, 2022, 6:46am UTC](https://community.gravityforms.com/t/exponent-support/11768 "2022-02-01T06:46:57Z")

</div>

Team, I am trying to use simple exponents in a calculation field. The ‘gform\_calculation\_formula’ functino requires coding, which I am not. How do I simply have access to " ^ " to enact an exponent function when doing …

---

## [Calculation exponents like 2 to the power of 5 \[RESOLVED\]](https://community.gravityforms.com/t/calculation-exponents-like-2-to-the-power-of-5-resolved/6552)

<div class="topic-metadata">

**Author:** [@user5da84ac592673520](https://community.gravityforms.com/u/user5da84ac592673520)\
**Replies:** 5\
**Last updated:** [November 2, 2020, 5:47pm UTC](https://community.gravityforms.com/t/calculation-exponents-like-2-to-the-power-of-5-resolved/6552 "2020-11-02T17:47:51Z")

</div>

In Excel this is done with the formula ‘5 ^2’. I know this is not a ‘out of the box’ feature for number field calculation. Any snippet that can do this? Also, I found this https://github.com/michaeldozark/gravityforms…
