Calculation for contact form 7

Deskripsi

Calculation For Contact Form 7 adds a calculator field tag to Contact Form 7, letting you perform real-time calculations between form fields without reloading the page. Use it to build a cost calculator, price estimator, booking quote form, mortgage calculator, tax calculator, finance calculator, or any form that needs live math.

With this Contact Form 7 Calculator plugin, you can run summation, subtraction, multiplication, division, and many other formulas across two or more fields, and display the result instantly inside the form.

This Contact Form 7 Price Calculator add-on supports arithmetic expressions between more than two fields, so you can chain multiple calculations together to fit almost any pricing or quoting scenario, including weight calculators, hotel booking quotes, car rental pricing, mortgage calculators, and tax or finance calculators.

Features

  • Easy to set up with a visual tag generator inside the Contact Form 7 editor
  • Adds a dedicated calculator tag to Contact Form 7
  • Supports addition, subtraction, multiplication, division, and modulus
  • Built-in math functions: MOD, AVERAGE, MIN, MAX, RANDOM, POW, CEIL, ROUND, FLOOR, SIN, COS, ABS, SQRT
  • Date calculations: count Days, Months, and Years between two date fields
  • Add a prefix to the calculated value
  • Choose the number of digits after the decimal point
  • Build complex math equations across multiple fields
  • Hide a calculator field from the visible form while still calculating
  • Multiple total fields in one form (Pro)
  • Custom labels for Radio, Select, and Checkbox fields (Pro)
  • Left-side prefix for calculated values (Pro)
  • Right-side prefix for calculated values (Pro)
  • Custom decimal formatting (Pro)
  • Thousand separator for large numbers (Pro)
  • Custom decimal separator (Pro)

Pro Version

  • Multiple Total Fields — display more than one calculator result in a single form, each with its own formula
  • Custom Labels for Radio, Select & Checkbox — use the "Label--value" syntax to set a visible label and a separate numeric value for each option, giving you full control over what users see vs. what gets calculated
  • Prefix Left — attach a symbol or text (e.g. $, , USD) to the left of the calculated result
  • Prefix Right — attach a symbol or text (e.g. kg, %, hrs) to the right of the calculated result
  • Thousand Separator — format large numbers with a comma, dot, or space as the thousands separator (e.g. 1,000,000)
  • Decimal Separator — choose your preferred decimal separator (. or ,) for localised number formatting
  • Decimal Formatting — control the exact number of digits shown after the decimal point for clean, professional output

Upgrade to Pro

Get Pro
Support

Demo – Basic Calculator: https://plugin999.com/demo/calcutecontactform7/basic-calculator-operations/
Demo – Date Calculator: https://plugin999.com/demo/calcutecontactform7/calendar/
Demo – Conditional Calculator: https://plugin999.com/demo/calcutecontactform7/conditional-function/
Demo – Maths Calculator: https://plugin999.com/demo/calcutecontactform7/funtion-2/

How To Set Up The Form

[text text-1]
[text text-2]

Create Label And Price In Radio, Select, Checkbox

[select menu-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]
[checkbox checkbox-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]
[radio radio-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]

Addition

[calculator calculator-1 "text-1 + text-2"]

Subtraction

[calculator calculator-2 "text-1 - text-2"]

Multiplication

[calculator calculator-3 "text-1 * text-2"]

Division

[calculator calculator-4 "text-1 / text-2"]

MOD Function

[calculator calculator-6 "MOD(text-1 , text-2)"]

AVERAGE Function

[calculator calculator-7 "AVERAGE(text-1 , text-2)"]

MIN Function

[calculator calculator-8 "MIN(text-1 , text-2)"]

MAX Function

[calculator calculator-9 "MAX(text-1 , text-2)"]

RANDOM Function

[calculator calculator-10 "RANDOM(text-1 , text-2)"]

POW Function

[calculator calculator-11 "POW(text-1 , text-2)"]

CEIL Function

[calculator calculator-12 "CEIL(text-1)"]

ROUND Function

[calculator calculator-13 "ROUND(text-1)"]

FLOOR Function

[calculator calculator-14 "FLOOR(text-1)"]

SIN Function

[calculator calculator-15 "SIN(text-1)"]

COS Function

[calculator calculator-16 "COS(text-1)"]

ABS Function

[calculator calculator-17 "ABS(text-1)"]

SQRT Function

[calculator calculator-18 "SQRT(text-1)"]

Date Calculation

[date date-1]
[date date-2]

Calculate Days

[calculator calculator-19 "DAYS(date-1 , date-2)"]

Calculate Months

[calculator calculator-20 "MONTHS(date-1 , date-2)"]

Calculate Years

[calculator calculator-21 "YEARS(date-1 , date-2)"]

Hide A Calculated Field

[calculator calculator-22 hide_field "text-1 + text-2"]

Add A Left Prefix (Pro)

[calculator calculator-22 prefix_left:$ "text-1 + text-2"]

Add A Right Prefix (Pro)

[calculator calculator-22 prefix_right:$ "text-1 + text-2"]

Add A Thousand Separator (Pro)

[calculator calculator-22 thousand_sep:comma "text-1 + text-2"]

Set Decimal Places (Pro)

[calculator calculator-22 decimal_number:2 "text-1 + text-2"]

Set A Decimal Separator (Pro)

[calculator calculator-22 decimal_sep:. "text-1 + text-2"]

Building a cost calculator, quote form, or price estimator in Contact Form 7 has never been easier.

Tangkapan Layar

Tanya Jawab

How do I calculate with a formula?

Click the calculator tag generator inside the Contact Form 7 form editor, then enter a formula referencing any of your existing field names. Example formulas are shown directly below the formula field for reference.

Can I calculate between more than two fields?

Yes. You can chain as many fields and operators as needed inside a single calculator formula, including nested parentheses and the built-in math functions.

Does this plugin support date-based calculations?

Yes. You can calculate the number of days, months, or years between two date fields using the DAYS, MONTHS, and YEARS functions.

Does the page reload when a calculation runs?

No. All calculations run instantly in the browser without a page reload.

Ulasan

15 Januari 2026
After some testing with the Free version I bought the Pro version with extended capabilities. I had a misunderstanding about the decimal-indicator but this was fastly resolved by an explanationfrom the supplier. Now it works very fine!
25 Oktober 2024
This plugin is fantastic and when i had a small issue they managed to help almost immediately. Would highly recommend.
16 Juli 2024
The title says it all. It’s a simple to use plugin, that adds powerfull functionality to your contact form 7. Additionally the support given by the creator (for the pro version) is very fast in offering a solution
Baca semua 22 ulasan

Kontributor & Pengembang

“Calculation for contact form 7” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor

“Calculation for contact form 7” telah diterjemahkan dalam 2 bahasa. Terima kasih kepada para penerjemah untuk kontribusi-nya.

Terjemahkan “Calculation for contact form 7” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

1.0

  • Initial release.