Managing calculations across multiple fields can be tricky in any CRM. Often, sales teams need to automate complex logic such as percentage commissions, conditional values, or aggregate metrics like averages and totals. To make this process easier, Kylas provides the Field Calculator App, which allows you to define formulae, apply mathematical and logical operators, and automatically populate results into CRM fields.
With the Field Calculator, you can go beyond simple arithmetic — it supports IF conditions, logical operators, percentage calculations, and aggregation functions (SUM, AVG, MIN, MAX, COUNT). This ensures that repetitive calculations are automated, error-free, and available directly inside your CRM workflows.
This article covers everything you need to know about using the Field Calculator in Kylas — from prerequisites, setup, and installation, to creating formulae, applying workflows, and exploring advanced use cases.
Prerequisites
Steps to Install the Application
How to Set Up a Calculation Formula
How to Use the Formula in Workflows
Advanced Formula Options
Use Cases
Benefits
Conclusion
Before you begin, ensure you have the following permissions and plan access:
Permissions:
Products and Services → Read / Read All permission
Related Entity permission enabled
Product Plan:
Available in Elevate plan














The Field Calculator supports advanced logical and numerical operations:
Comparison Operators:
< (Less Than), > (Greater Than), <=, >=, != (Not Equal), = (Equal)
Example: if($Field1 >= 5, 3, 4) → returns 4 if $Field1 = 4
Logical Operators in IF:
AND, OR, XOR, NOT
Example: if(($Field1 > 5 AND $Field1 < 10), 7, 15) → returns 7 if $Field1 = 8
Aggregation Functions:
MAX($Field1, $Field2) → returns the larger value
MIN($Field1, $Field2) → returns the smaller value
COUNT(10, 15, 20) → returns 3
AVG(5, 10, 15) → returns 10
SUM(5, 10, 15, 20) → returns 55
Rounding Functions:
ROUND($Field1, 2) → rounds to 2 decimal places
ROUNDUP() and ROUNDDOWN() are also supported.
Here are some real-world scenarios where the Field Calculator can be applied:
Commission Calculation: (Deal Value * 10%) to auto-populate sales commission.
Discounted Price: ($Price - ($Price * $Discount%)).
Lead Scoring: Use IF conditions to assign scores based on lead attributes.
Stage-wise Deal Value Tracking: Aggregate deal values by stage for pipeline forecasting.
Target Achievement: if($ClosedDeals >= $Target, "Achieved", "Pending").
Expense vs Revenue Analysis: SUM($Revenue) - SUM($Expenses) for profitability insights.
Automation of Complex Calculations: Reduces manual effort and human error.
Real-Time Accuracy: Formulae run automatically via workflows.
Flexibility: Works across multiple entities (Leads, Deals, Products, etc.).
Scalability: Add multiple formulae to a group for layered calculations.
Transparency: View logs to track what formula was used and when.
The Kylas Field Calculator App empowers businesses to automate complex mathematical and logical operations directly within their CRM. From commission calculations and lead scoring to advanced conditional workflows, it provides flexibility and control without requiring coding.
By integrating formulae with workflows, you ensure real-time execution and consistency across your sales processes. Whether you need simple arithmetic or multi-layered logic, the Field Calculator is a powerful tool to boost productivity, improve accuracy, and give your team actionable data at their fingertips.