With our calculator content item and its formula builder, you can create an interactive calculator which can be easily embedded into your website in minutes.

**Calculators are available for paid plans only **but can be tested in draft projects on free plans**.** Use this** **feature** **to create cost estimations and pricing calculators for your services and products, let your users interact on your website, and gather more effective leads.

**In this article: **

## How to use a calculator

Start by creating a new project or editing an existing one.

If you want to use the answers to a specific question in the calculation, click on that question in the editor and activate the "**Answer is Required**" option. If you want to use a question in a project that has Multiple Outcomes, make sure to also turn on "Individual score" for the question to be available in the formula builder.

To insert individual values for each answer of Multiple Choice, Image Answer or Dropdown elements, activate "**Individual Score & Calculation**" and input the values in the "VALUE" field. If you do not use individual scores, the calculation will use 1 for correct answers and 0 for incorrect answers.

Slider elements do not need this option. Free Text Inputs require the option "**Only Accept Numbers**" in addition to "**Answer is Required**" in order to be used in the calculator formula.

Once you've gone through the questions and set everything up, you can add a **calculator item** from the content items list.

**Note** that it might be greyed out. This is due to the fact that you can currently only drag & drop calculators to "Thank You" and Outcome pages.

You also have several designs and content options to customize the look and feel of the calculator.

## Building your calculation formula

Click on "Open Formula Builder" to start customizing your calculation.

When creating a formula you'll be able to choose any of the following:

Hidden Fields (Custom Fields or Functional Fields)

Multiple Choice Element (with Answer set as required)

Image Choice Element (with Answer set as required)

Dropdown Element (with Answer set as required)

Rating Element (with Answer set as required)

Free Text Input Element (with Answer set as required + Only Accept Numbers)

Slider Element

You can use basic operators like "**+**", "**-**", "*****", "**/**", "**^**" (plus, minus, multiply, divide, exponent) from your keyboard and create complex formulas. You can also use the bracket symbols "**(**" and "**)**" to control the order of the operations.

Additionally, you can use advanced functions and conditional operators. You'll find a list of these options below. A short description is displayed in the Formula Editor as well, when hovering above an operator on the right side panel.

##### Advanced functions:

Name | Description | Syntax example |

MAX | Returns the largest of all input numbers | MAX(Q1,Q2,5,...) |

MIN | Returns the smallest of all input numbers | MIN(Q1,Q2,5,...) |

ROUND | Rounds input numbers to decimal places | ROUND(number,precision) |

POW | Power of / exponent function | POW(number,exponent) |

RAND | Returns a random number from a specified range | RAND(min,max,precision) |

FLOOR | Returns the next lowest integer value by rounding down | FLOOR(1.12345) |

CEIL | Returns the next highest integer value by rounding up | CEIL(1.12345) |

ROOT | Square root (√) of a number | ROOT(Q1) |

LOG | Base 2 logarithm of a number | LOG(Q1,10) |

LOG10 | Base 10 logarithm of a number | LOG10(Q1) |

LN | Natural logarithm of a number | LN(Q1) |

##### Conditional logic operators:

Name | Description | Syntax example |

IF/THEN | Conditional Logic | IF(condition, then case, else case) |

The conditions below can only be used inside the first parameter of an IF function:

Symbol | Description | Syntax example | Example result |

> | Greater than | Q1 > 1 | Is true if Q1 is greater than one |

< | Smaller than | Q1 < 1 | Is true if Q1 is smaller than on |

>= | Equals or greater than | Q1 >= 1 | Is true if Q1 is greater than one or equals one |

>= | Equals or smaller than | Q1 <= 1 | Is true if Q1 is smaller than one or equals one |

<> | Is different than / is not (negation) | Q1<>5 | Is true if Q1 is not 5 |

= | Equals to | Q1=5 | Is true if Q1 is 5 |

AND | Logical operator that combines two conditions. Is true if both conditions are true | AND(Q1>1,Q1<10) | Is true of Q1 is greater than 1 and Q1 is smaller than 10 |

OR | Logical operator that combines two conditions. Is true when one of two conditions is true | OR(Q1<5,Q1>10) | Is true of Q1 is smaller than 5 or Q1 is greater than 10 |

ANSWERED | Function to check if the question was answered | ANSWERED(Q1) | Is true if Q1 was answered |

NOT | Function to check if the negation of a value is true | NOT(Q1) | Is true if Q1 is false |

These advanced functions will allow you to build more customized calculations, for example a calculator for products with pricing tiers based on the amount of products purchased.

To **start building your formula**, click on or drag & drop any question from the left into the formula field.

You can also use keyboard shortcuts *(CTRL+A, CTRL+C, CTRL+X, CTRL+V)* to edit the calculator formula. Formulas can be copied to- and from the editor and external applications.

Please note: you might have to allow clipboard access in your browser (when prompted) to enable keyboard shortcuts.

The formula takes the answers given by any particular user, then calculates and displays the result according to the formula you've set up. You can prevent the participant from seeing the result (to set aside the result for the Analytics or to be used as a piped answer for instance) by enabling the option "**Hide for Participants**".

You can also use calculation formulas to reach different outcomes, instead of showing the calculator result on the outcome page. This can be done with Score-based Outcomes.

Be aware that displaying the result does not work in the editor preview or the template preview, where an X will appear instead. Click "TRY IT" to test the actual calculation.

Bear in mind that the calculator result will not be displayed when on "Design Preview" mode, an X will appear in place of the result. Make sure to either click "Try it" when previewing the design, or simply click the eye icon on the navbar and select "Try Draft".

## How to use the result of a calculator when using a custom redirect

In the case you want to redirect to your own website instead of showing the final page of involve.me you can't see the result of a calculation, but you can still use its value in the redirect URL. To do so deactivate the redirect and put the calculator element on the page.

After you created the formula you can activate the redirect again and use an answer piped variable inside the URL like this:

`https://yourdomain.com/page?result={{ca_xxxxx}} `

Where ca_xxxxxx is the calculator ID.