# How to Calculate Your KPI or Metrics

Last Updated on January 25, 2021 by BrodNeil

There are the most important calculations for your metrics (KPIs).

## Metrics vs. KPIs

Metrics and KPIs are like squares and rectangles: All squares are rectangles, but not all rectangles are squares. Similarly, all KPIs are metrics, but not all metrics are KPIs.
Source: https://www.grow.com/blog/metrics-and-kpis-are-different

## How to calculate the following metrics

If you want to read the whole explanation, go to https://headerbidding.co/calculate-cpm-cpc-cpa-ecpm-ecpc-ecpa-roi. If you just need the formula for each, continue below:

### CPM – Cost Per Mille/Cost Per Thousand

CPM = (Cost to the Advertiser / No. of Impressions) x 1000

### CPC – Cost Per Click

CPC= Cost to the Advertiser / Number of Clicks

### CR – Conversion Rate

CR= (Number of positive conversions/ Number of clicks received) x 100

### CPA – Cost Per Action/Acquisition

CPA = Cost to the Advertiser / Number of Conversions

CPA = Cost to an advertiser / (Number of ad impressions x CTR x CR)

### eCPM- Effective Cost per Mille

eCPM = (Total earning from an ad campaign/ Total impressions) x 1000

## eCPC – Effective Cost Per Click

eCPC = Total Earning from an ad campaign/ Total number of clicks received

### eCPA – Effective Cost Per Action

eCPA = Total earning from an ad campaign/ Total number of actions taken