With the Contact Form 7 Cost Calculator, you can create dynamic and interactive forms that provide users with instant cost calculations or estimates. This is particularly useful for businesses or websites that offer products or services with variable pricing based on user selections or quantities.
Here are some key features and capabilities typically offered by the Contact Form 7 Cost Calculator:
- Calculation Fields: This extension introduces calculation fields into your Contact Form 7 forms. You can define these fields and specify mathematical formulas or expressions using variables and operators.
- Variable Inputs: Users can input values into the form, such as quantities, dimensions, or other parameters that affect the final cost calculation.
- Conditional Logic: The plugin allows you to incorporate conditional logic into the calculations. This means that you can set up different calculations based on specific conditions or user choices.
- Dynamic Updates: As users make changes or update input values, the cost calculation is automatically updated in real-time, providing instant feedback.
- Customizable Output: You can customize the display and formatting of the calculated cost or estimate. This might include adding currency symbols, decimal places, or any additional text.
- Integration with Contact Form 7: The extension seamlessly integrates with the Contact Form 7 plugin, allowing you to leverage its form-building capabilities while adding cost calculation functionality.
Installation and settings plugin
- Require Contact Form 7
- Installation
- New form
- Date
- Use cases
- Supported symbols
- Age Calculator
Require Contact Form 7 – top
- Download: https://wordpress.org/plugins/contact-form-7/
Installation – top
- Upload the add-to-any directory to the /wp-content/plugins/ directory.
New form – top

Date – top
name-date-1 - name-date-2
- name-date-1= 2018/12/20
- name-date-2= 2018/12/18
- Result = 2
Use cases – top
Input | Result | Explanation |
---|---|---|
2+3-1 | 4 | Addition and Subtraction operator |
2*5/10 | 1 | Multiplication and Division operator |
tan45 or tan(45) | 1 | Trigonometric Function ( tan in Degree mode) |
tan45 or tan(45) | 1.619775190543862 | Trigonometric Function ( tan in Radian mode) |
Pi1,15,n or Pi(1,15,n) | 1307674368000 | Product of Sequence |
Sigma1,15,n or Sigma(1,15,n) | 120 | Sum of Sequence( also called summation) |
2^3 | 8 | Exponent( note this operator is left associative like MS Office) |
5P3 | 60 | Permutaion Method to calculate all the permutaions |
sincostan90 or sin(cos(tan(90))) | 0.017261434031253 | Multiple functions with or without parenthesis (both works) |
Supported symbols – top
Symbol | Explanation |
---|---|
+ | Addition Operator eg. 2+3 results 5 |
– | Subtraction Operator eg. 2-3 results -1 |
/ | Division operator eg 3/2 results 1.5 |
* | Multiplication Operator eg. 2*3 results 6 |
Mod | Modulus Operator eg. 3 Mod 2 results 1 |
( | Opening Parenthesis |
) | Closing Parenthesis |
Sigma | Summation eg. Sigma(1,100,n) results 5050 |
Pi | Product eg. Pi(1,10,n) results 3628800 |
n | Variable for Summation or Product |
pi | Math constant pi returns 3.14 |
e | Math constant e returns 2.71 |
C | Combination operator eg. 4C2 returns 6 |
P | Permutation operator eg. 4P2 returns 12 |
! | factorial operator eg. 4! returns 24 |
log | logarithmic function with base 10 eg. log 1000 returns 3 |
ln | natural log function with base e eg. ln 2 returns .3010 |
pow | power function with two operator pow(2,3) returns 8 |
^ | power operator eg. 2^3 returns 8 |
root | underroot function root 4 returns 2 |
sin | Sine function |
cos | Cosine function |
tan | Tangent function |
asin | Inverse Sine funtion |
acos | Inverse Cosine funtion |
atan | Inverse Tangent funtion |
sinh | Hyperbolic Sine funtion |
cosh | Hyperbolic Cosine funtion |
tanh | Hyperbolic Tangent funtion |
asinh | Inverse Hyperbolic Sine funtion |
acosh | Inverse Hyperbolic Cosine funtion |
atanh | Inverse Hyperbolic Tangent funtion |
Age calculator
Step 1: Add a date field with any name

Step 2: Calculate age
Add a Calculated field with the formula “age( date name )”

Eg:
birthday
[date birhdaydate]
age
[calculated calculated-507 "age(birthdaydate)"]
[submit "Submit"]