> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and use custom metrics

> Create custom metrics in Cometly by building formulas from existing metrics, then use them as Ads Manager columns and in Report Builder reports.

A custom metric is a formula you build from existing Cometly metrics, so you can analyze performance exactly the way you want. When you create custom metrics in Cometly, you combine metrics such as Amount Spent, Clicks (All) or Gross Revenue with basic math, then give the result a name and a format.

This lets you report on the numbers your business actually runs on, such as cost to acquire a customer or a landing page conversion rate, without exporting data to a spreadsheet. Once saved, the metric sits next to the built-in ones, so you can compare campaigns, ad sets and ads by it.

## Where to find custom metrics

You can create and manage custom metrics from two places:

* **Ads Manager**: open the **Columns** menu above the table and click **Manage Custom Metrics**.
* **Report Builder**: in the **Report** tab, under **Metrics**, click **Add Metrics** (**Add More Metrics** once the report has a metric), then click **Manage Custom Metrics**.

> [!TIP]
>
> A custom metric you create is available in both places: as a column in the Ads Manager, and under **User Defined Metrics** when you add metrics to a report.

[How To Create and Use Custom Metrics video](https://www.youtube.com/embed/b_QJg02hB1U)

## Create a custom metric

**1. Open the custom metric dialog**

Click **Manage Custom Metrics** in the Ads Manager **Columns** menu or in the Report Builder metrics picker. The dialog opens on **New Custom Metric**.

**2. Add the first metric**

Click **Select Metric** and choose a metric (for example Amount Spent, Clicks (All) or Gross Revenue). Use the search box to find it faster.

**3. Build the formula**

Use the math buttons (**+**, **-**, **×**, **÷** and parentheses) to connect metrics. Add as many metrics as you need: you are not limited to two. Click **Add #** to put a fixed number in the formula.

Each part of the formula appears as a chip. Drag a chip to move it, or click its **X** to remove it.

**4. Name the metric and choose a format**

Enter a **Name**, then choose a **Format**:

* **Numeric (123)**
* **Percentage (%)**
* **Currency (\$)**

**5. Save it**

Click **Create Metric**.

### Example

To calculate a landing page conversion rate for Meta ads:

* Formula: `Lead ÷ Meta Link Clicks`
* Format: **Percentage (%)**
* Name: `Landing Page %`

## Check it worked

A **Metric created.** message appears and the dialog closes. Your metric is now listed in the Ads Manager **Columns** menu, and under **User Defined Metrics** when you add metrics to a report in the Report Builder.

## Edit or delete a custom metric

1. Click **Manage Custom Metrics**.
2. Select the metric in the list on the left. Use **Search metrics...** if the list is long.
3. Change the formula, name or format and click **Save Metric**, or click **Delete Metric** and confirm with **Delete**.

## Frequently asked questions

### Can I use a custom metric in more than one Cometly space?

No. A custom metric is saved to the space you create it in (a space is a workspace inside your Cometly account, with its own data and settings). To use the same formula in another space, switch to that space and create the metric again.

### Why can't I delete a custom metric?

Cometly does not delete a custom metric that is still in use. If a saved report or another custom metric uses it, an error names the reports or metrics involved. Remove the metric from those first, then delete it.

### Why is the Create Metric button grayed out?

The button turns on only when the metric has a **Name** and a formula Cometly can calculate. If the formula is not valid, a red message under the formula box says what is wrong. An empty **Add #** chip also blocks saving, so enter a number in it or remove it.

## Next steps

* [Use the Ads Manager](https://docs.cometly.com/guides/ads-manager/overview.md) to add your custom metric as a column
* [Build a report](https://docs.cometly.com/guides/report-builder/build-a-report.md) that includes your custom metric
* [Metrics glossary](https://docs.cometly.com/guides/analyzing-data/metrics-glossary.md) to see what each built-in metric measures

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.