Turn Any Gravity Form Into a Live Excel-Style Calculator
Gravity Forms Excel Calculations brings the full power of
Excel and Google Sheets formulas directly into your Gravity Forms. Build
dynamic price calculators, mortgage tools, invoice forms, and quote builders
— without a single line of code. Just type =SUM(A1,B1) and watch
your form calculate in real time.
⚡ Why Choose This Plugin?
- No third-party libraries — 100% custom-built, lightweight formula engine
- Works seamlessly with Gravity Forms’ payment system (Stripe, PayPal, Authorize.net)
- Live recalculation on every keystroke — no page reload needed
- Excel-style autocomplete with 70+ function suggestions right in the field editor
- Full conditional logic compatibility — calculations survive GF’s show/hide events
- Supports text, number, checkbox, radio, select, total, and product fields
🔢 70+ Built-In Excel Functions
All the functions you already know from Excel and Google Sheets, ready to use:
Math & RoundingSUM, PRODUCT, AVERAGE, MIN, MAX, ABS, SQRT, POWER, MOD, INT, TRUNC, ROUND, ROUNDUP, ROUNDDOWN, CEILING, FLOOR, MROUND, EVEN, ODD, SIGN, EXP, LN, LOG, LOG10, PI, FACT, GCD, LCM, COMBIN, RANDBETWEEN
Logic & ConditionalIF, IFS, SWITCH, AND, OR, NOT, XOR, IFERROR, IFNA, TRUE, FALSE, ISNUMBER, ISBLANK, ISTEXT, ISERROR, ISEVEN, ISODD
TextCONCAT, CONCATENATE, LEFT, RIGHT, MID, LEN, UPPER, LOWER, PROPER, TRIM, TEXT, VALUE, FIND, SEARCH, SUBSTITUTE, REPLACE, REPT, DOLLAR, FIXED, CHAR, CODE, EXACT
FinancialPMT, PV, FV, NPER — build mortgage calculators, loan estimators, and investment tools with zero custom code
Date & TimeTODAY, NOW, YEAR, MONTH, DAY, WEEKDAY, HOUR, MINUTE, SECOND
HelpersPERCENT, PERCENTOF — instantly convert user-entered percentages into decimal multipliers for discount and tax calculations
✨ Smart Formula Autocomplete
The field settings panel in the Gravity Forms editor features built-in
formula autocomplete — just like Excel. Type = to see every
available function. Keep typing to filter. Use arrow keys to navigate and
Enter to insert. A signature hint shows parameter names while you type
arguments. Your form’s own data cell names appear as suggestions too.
📋 How It Works
- Assign a Data Cell name to each input field (e.g.
QTY,PRICE) - Add a formula to your output field (e.g.
=QTY*PRICEon a Total field) - Save the form — calculations run live as visitors fill it out
💰 Payment Gateway Ready
Formula results on Total fields integrate directly with Gravity Forms’ payment system. The calculated amount is automatically:
- Formatted with your site’s currency symbol and decimal settings
- Validated server-side (bypasses GF’s native product-sum check)
- Passed to Stripe, PayPal, Authorize.net and other payment add-ons as the charge amount
- Saved to the entry database on submission
🏗️ Real-World Use Cases
- Price Calculator —
=QTY * PRICE - Tiered Discounts —
=IFS(QTY>=100, QTY*PRICE*0.7, QTY>=10, QTY*PRICE*0.9, 1, QTY*PRICE) - Mortgage Calculator —
=IFERROR(ABS(PMT(RATE/100/12, YEARS*12, LOAN)), 0) - Tax & Invoice — chain Subtotal → Tax Amount → Grand Total across multiple fields
- Service Booking —
=HOURS * SWITCH(PACKAGE, 1,25, 2,45, 3,75, 0) - Conditional Pricing —
=IF(AND(QTY>0, MEMBER="yes"), QTY*PRICE*0.8, QTY*PRICE)
⚙️ Supported Field Types
- Data Cell inputs: Text, Number, Textarea, Select, Multiselect, Date, Checkbox, Radio
- Formula outputs: Total (with currency formatting), Number, Text
📦 Requirements
- WordPress 5.0+
- Gravity Forms 2.5+ (Add-On Framework)
- PHP 7.4+ (PHP 8.x supported)
📚 Full Documentation Included
A complete HTML documentation site is included in the /docs
folder — installation guide, field settings reference, formula cheatsheet,
5 real-world examples, and a full function reference for all 70+ functions.
Open it in any browser, no server required.