## Browse Article by Topics

calculate calculation math form calculation form calculation widget## Related Articles

- How to Perform Form Calculation Using a Widget
- Form Calculation - Math Function Reference
- Conditional Logic Inserts Text/Calculation Into A Field
- How to Pass a Form's Calculated Value to another Form's Payment Total Field?
- How to Pass a Calculation to a Payment Field
- How to Assign Calculation Value
- How to Perform Form Calculation in the Matrix Field?
- How to Have Unique Question Using Multiple Fields
- How to Manipulate Text (String) with Conditions and Calculation

## Related Forum Questions

- Form Calculations aren't working
- Complex calculation using calculate field or what do you suggest?
- Error in calculation form
- My form calculation is no longer working after deleting my last Inventory widget
- how to calculate age using condition
- Conditions: It is dublicated automatically when we update a condition
- How to increase value of field with calculate conditions and Multiple Selection widget selections
- RE: Form Calculation
- Calculations between page breaks -- breaks the calculation.
- data dissappears from 2 fields when I press 'submit' and I can't figure out why?

# How to Perform Form Calculation Using a Widget

**Last Update: December 11, 2016**

Wondering how you can calculate a total based on the option selected by the user from your form? Calculation is now possible with Jotform. There are **two ways** on this, you can use Conditional Logic or you can use the Form Calculation widget. In this guide, we will discuss how we can use the widget to perform a calculation.

Below are the steps to help you better:

1. Search for the **Form Calculation Widget** under the "**More Fields**" section. To open the wizard, just click the **wand** icon.

2. Now as an example, I want to calculate the price of the product selected on a radio button multiplied to a quantity field. Here's how it looks like:

Note: If you want to assign a calculation value on a radio button, drop down or check box field, then you need to check this guide: How to Assign Calculation Value

3. Now back to the form calculation widget **wizard**, you can see this window or display:

To fetch a field you want to add in your formula or calculation, just click the "**Add Field**" button.

4. A list of field names will appear, just click on the field you want to include to your calculation.

5. The mathematical operators are presented so you must click on each to add a formula between fields. You can also use your keyboard keys for + addition, - subtraction, / division and * multiplication. Below is a quick overview of the final setup.

You can also see other advance options like "Show empty decimal places", "Ignore Hidden fields" and other options by clicking on the more button:

Once there go to the options tab to get the widget options mentioned above:

If you want to perform advance mathematical operations, you can check this as a reference: Form Calculation - Math Function Reference

6. You must click "**Save**" button to save the calculations and save button from the form builder to save the entire form changes.

Here's an example form based on our steps above: https://form.jotform.com/63404144341950

The Form Calculation widget is not limited to the example I presented, it would depend on the requirement you need or how complex your formula is.

Questions? Please let us know below!

## 34 Comments... |

Eduard Bal |
(January 24, 2014 at 01:54 PM) | ||

How can I get Always two numbers behind de decimal dot? I want for example have as solution of the sum 1.50 * 3 in a total box 4.50 or 1.50 * 2 = 3.00. I see in the total box just 4.5 or 3. |

pennistritter |
(January 31, 2014 at 05:29 PM) | ||

I am not getting a total unless all fields have a value. What if one field is left blank? How do I get the total to show then? |

davidburt |
(February 03, 2014 at 11:18 AM) | ||

I want to create a survey form which will have a final score based on the answers. Can you set a value for each question and then display the total? |

ParkingRetkinia |
(February 09, 2014 at 11:02 AM) | ||

Is it posible to use logical content of calculation like: |

broytm |
(February 11, 2014 at 02:48 PM) | ||

Is it possible to display the total word count in the form.. not just for the individual boxes? |

oranges |
(February 21, 2014 at 11:32 PM) | ||

How do i associate a number value with a text option as was done in the example. |

supportadv |
(February 24, 2014 at 05:49 AM) | ||

Hi, the "Calculate field" option is not happearing on radio button field in my form. |

MarkPutt |
(March 03, 2014 at 04:41 PM) | ||

This doesn't work at all really. It only sees 4 fields that I absolutely don't need to calculate. |

afla21 |
(March 12, 2014 at 06:16 PM) | ||

How do I get the calculator to ignore unwanted text content? |

demnos |
(May 01, 2014 at 09:34 PM) | ||

Can I calculate the number of days between two dates (example: Today minus a date from my form)? |

Demond Spraberry |
(May 07, 2014 at 12:10 PM) | ||

How can I calculate a form with 6 questions and each question has a different value using a check box? |

simonebrennan |
(May 27, 2014 at 01:39 AM) | ||

Hi, |

thescenedramaworks |
(August 10, 2014 at 02:49 PM) | ||

How can I get the "other" field in the Radio Buttons options to be a numeric field? |

Joanna |
(October 08, 2014 at 05:46 PM) | ||

Hi, |

seajj2 |
(March 26, 2015 at 08:37 AM) | ||

I am trying to plug in this formula (quantity x 10 + 6). The formula works but in the calculation it automatically has the 6 in the total. I do not want it to show anything until they put in the quantity. How do I perform this? |

WOT |
(April 02, 2015 at 11:52 AM) | ||

I cannot get this calculation tool to work. |

escarecard |
(May 14, 2015 at 04:10 AM) | ||

I'm trying to calculate a series of inputs with predefined inputs of 0-12. When calculating, the form seems to see 0 as 1, 1 as 2 even though the calculation values are set as 0-12. |

Andre |
(May 16, 2015 at 08:05 PM) | ||

é possivel calcular valores dos inputs dentro da Matriz criada? |

astankiewicz |
(June 11, 2015 at 09:08 AM) | ||

So this functions is only for the form itself and can not be done on the dashboard at all - correct? |

cpachiasso |
(July 01, 2015 at 04:51 PM) | ||

To me dropdown menu do not works for calculations |

strugar |
(August 27, 2015 at 03:04 PM) | ||

Hi. Is there a plan to add function to calculate Poisson distribution? Similar to Excel function POISSON()? Thanks! |

AlanMnk |
(September 13, 2015 at 03:39 PM) | ||

How does it work with dropdown menus??? |

Nic Crocker |
(December 09, 2015 at 04:16 PM) | ||

I want to create a form which has 30 questions, each providing 3 potential responses phrased as a statement. I want to calculate how many answer As,answer Bs and answer Cs are selected. Is this possible? |

zappaaviaries |
(December 11, 2015 at 05:04 AM) | ||

How do I use this for simple inventory tracking. I have an order form and it calculates the order total, but would like this... |

buzz vaughn |
(January 07, 2016 at 09:47 AM) | ||

how do i add $ and % to the answer calculated |

FransJanssen |
(February 19, 2016 at 02:43 AM) | ||

Hi, |

polishedcarz |
(March 11, 2016 at 07:43 PM) | ||

I'm creating a Request a Quote for a Car Service. |

agendia1 |
(April 02, 2016 at 09:23 PM) | ||

Your forms service is superb. I just keep discovering every imagination and thought. |

MGGKC |
(April 22, 2016 at 01:04 PM) | ||

I would like to perform a conditional calculation. The result will then be added into a grand total using the calculation widget. How do I get the conditional calculation into a field that can be used later? |

hmcdowell |
(April 25, 2016 at 05:19 AM) | ||

Hello, I am trying to add Calculation field and its not working out like it should. When I click on the check box of the item that I would like to calculate, it does not input the correct amount. For example if the amount is listed as $30, in the calculation field is says my total is 300000000000.00. Not sure how to current this. You should be able to view the form here, https://form.jotform.me/53191348159460 |

globalweb |
(July 03, 2016 at 10:28 PM) | ||

How can I get the calculator widget to ignore certain part of a dropdown value? |

elaren |
(October 05, 2016 at 12:53 AM) | ||

I cannot for the life of me figure out how to calculate the days between 2 dates. |

supremeprincesspageants |
(October 15, 2016 at 06:45 PM) | ||

On the new version of the Calculation Widget how do you make the result field read-only? |

JPantoine |
(October 24, 2016 at 10:10 AM) | ||

I am a new user. I do not find the "advances options" in the calculation widget. How couls I do? Thanks in advance. |

## Send Comment