# Formulas

With formulas, you have access to an array of manipulations and calculations you can perform on your data to create additional fields.&#x20;

Formulas can have any data type available in [custom-fields](https://docs.usepylon.com/pylon-docs/platform/custom-fields "mention"), and are simply a calculation that is performed to fill in that data field. A formula field is usable across the product anywhere custom fields are, including in views, triggers, the API, etc.

### Example: Number of Meetings

For example, a formula to calculate the number of meetings you've had with a customer in the last 90 days.

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2FGDdISBxp7Se9IbMSJTfO%2FCleanShot%202025-08-11%20at%2015.48.29%402x.png?alt=media&#x26;token=aaecf771-aa9d-4b4e-8b9a-7c129beb7572" alt="" width="375"><figcaption></figcaption></figure>

### Example: Usage Percentage

Here is an example of using division on two synced fields to calculate seat utilization percentage.

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2FxblZitwW1OxcjTRiYYhO%2FCleanShot%202025-08-11%20at%2015.54.03%402x.png?alt=media&#x26;token=eb860a28-a537-4659-9bd0-5786223414f6" alt="" width="375"><figcaption></figcaption></figure>

### Example: Channel Members Left

The number of customer users who have left your channel in the last 30 days.

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2F5OFoNgdHCyVlj4jQ1Yeo%2FCleanShot%202025-08-12%20at%2016.15.42%402x.png?alt=media&#x26;token=68eb920a-e1a1-4722-a4f4-630a56f39e56" alt="" width="375"><figcaption></figcaption></figure>

### Example: Number of Feature Requests

The number of issues that are tied with engineering work (via. [ticketing](https://docs.usepylon.com/pylon-docs/integrations/ticketing "mention") integrations).

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2Fh2HD3PRbGx257mL6rQoh%2FCleanShot%202025-08-12%20at%2016.17.31%402x.png?alt=media&#x26;token=6b882fa1-c7a0-4da7-b15d-fe0244d5a5da" alt="" width="375"><figcaption></figcaption></figure>

### Example: Lifecycle Stage

The stage of the customer (onboarding or renewal) based on their progress through the contract.

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2Fb6kPPVoEMTGUbKUfNIT5%2FCleanShot%202025-08-12%20at%2016.25.56%402x.png?alt=media&#x26;token=f818f73d-5ba2-477c-be02-552c2ef954f2" alt="" width="375"><figcaption></figcaption></figure>

Examples of other formulas are:

* Calculating the number of issues that were categorized as bugs in the last 30 days
* Calculating the number of [custom-activities](https://docs.usepylon.com/pylon-docs/account-intelligence/activities/custom-activities "mention") of a certain type that have occurred
* Creating a weighted health score across different components
