## Browse Article by Topics

calculation calculate math math function## Related Articles

- How to Perform Form Calculation Using a Widget
- Form Calculation - Math Function Reference
- How to Insert Text or Mathematical Calculation into a Field Using Conditional Logic
- 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

## Related Forum Questions

- Calculations populate based on user clicking a check box
- Form Calculation not working with parentheses
- Is there ANY other widget that does what Driving Distance does?
- Request to convert numeric value to words
- Do multiple calculations with one calculation widget and insert results into different summary fields? - RESOLVED
- Conditional Logic - Payment Types
- Can I use data entered into the beginning of the form later in the form?
- Using calculations and conditions for the total price
- Please tell me what is happening with my jotform
- I need help with my conditions

# Form Calculation - Math Function Reference

**Last Update: January 29, 2015**

Calculation Wizard "More Math functions" allows you to perform mathematical tasks. The following advanced mathematical functions are available on the Form Calculation Widget. You can use this as your reference to build perfect calculation forms.

***Tip: The numbers on the formula below can be replaced with the fields from your form as seen on the actual form when you test it. In other words, the numbers can either be defined on the formula or take it from the user input by adding your form fields.*

**1. abs**

**Example Formula:**

**Example Form:**

**2.**

**acos**

**Example Formula:**

**3.**

**asin**

**4.**

**atan**

**5.**

**atan2**

**6.**

**ceil**

**7.**

**cos**

**8.**

**exp**

**9.**

**floor**

**10.**

**log**

**11.**

**max**

**12.**

**min**

**13. pow**

**Example Formula:**

**Example Form:**

**14. random**

**Example Formula:**

**15. round**

**Example Formula:**

**16. sin**

**Example Formula:**

**Example Form:**

**17. sqrt**

**Example Formula:**

**18. tan**

**Example Formula:**

**19. E**

**Example Formula:**

**20. LN2**

**Example Formula:**

**21. LN10**

**Example Formula:**

**22. LOG2E**

**Example Formula:**

**23. LOG10E**

**Example Formula:**

**24. PI**

**Example Formula:**

**25. SQRT1_2**

**Example Formula:**

**26. SQRT2**

**Example Formula:**

## 21 Comments... |

jmagana |
(March 19, 2014 at 07:47 AM) | ||

Is there a way that on the final output or answer to the math calculation that I can have it show the dollar sign and decimal point? |

lawrencecfp |
(March 19, 2014 at 11:55 PM) | ||

If you have multiple check boxes, how do you assign a unique value to each item in the check box. For example, say you have red, blue, and yellow as check box options. How then do you assign a unique value to each color, so that when a person clicks on the color, its associated value is added to the calculation. In Excel, this would be done with an IF,THEN function. |

cheekyface |
(March 27, 2014 at 09:13 AM) | ||

Can you show how to use this to generate a unique number for every submission? I want to have a quote form that gives users a reference they can use for self-quoting. |

betocaceres |
(June 10, 2014 at 03:51 PM) | ||

hermoso, gracias |

Adrian14 |
(July 21, 2014 at 03:08 PM) | ||

How to add interest to calculate? |

mlps |
(July 22, 2014 at 08:09 AM) | ||

Is there the possibility of a math function which returns the current date and time? |

Tara Anderson |
(September 03, 2014 at 05:24 AM) | ||

Can you do if statements? |

ozgurerdogan2 |
(March 26, 2015 at 11:16 AM) | ||

What must I choose for: |

billwiese |
(May 18, 2015 at 07:54 AM) | ||

Can I calculate the days between two dates? |

accountax |
(May 29, 2015 at 09:02 AM) | ||

Problem: |

Wolverin89 |
(August 19, 2015 at 03:44 PM) | ||

cool! thanks! |

acpacentertix |
(August 29, 2015 at 06:56 PM) | ||

I need to round up to the nearest $0.25; but the Ceiling function only allows me to round up to the nearest whole number. How can I do this? |

Hfplus |
(September 30, 2015 at 10:06 AM) | ||

We need to find the total number of hours and minutes between start time and end time. What would the calculation look like for this? |

coachlee |
(October 13, 2015 at 04:29 PM) | ||

Id like to add up the values inserted in 3x fields and display it in a forth for each row of a matrix grid. |

iftach |
(December 08, 2015 at 03:20 AM) | ||

Is there option to make something like 0.137 round to 0.1 and 0.987 round to 0.9? |

info@pdfn.co |
(March 11, 2016 at 06:50 AM) | ||

Is it possible to output a fiksed value to a field, if calculation for it results in lower value? For example if a+b < 10, then output 10, if not output result for a+b |

Rhuan Carneiro |
(March 16, 2016 at 04:00 PM) | ||

how can add percentage in a certain amount that will be filled? |

sbufsaweb |
(June 08, 2016 at 11:40 AM) | ||

Is it possible to give an error if the calculation total is less than 6 or greater than 20? |

BVHall |
(June 29, 2016 at 12:10 PM) | ||

I'm using the Configurable List widget to allow a user to add different booking dates for a room. |

ImaginarteLaminas |
(August 29, 2016 at 09:18 PM) | ||

Se pueden sumar las cantidades ingresadas en un formulario "lista configurable" gracias |

realtomsamsher |
(December 01, 2016 at 12:08 AM) | ||

how can i do (fieldA+fieldB) times the number of fields added? |

## Send Comment