Quick answer
CPI (cost per install) is the average amount an advertiser pays for each app install attributed to a campaign: ad spend divided by attributed installs. It is both a bid type (pay or target a price per install) and an outcome metric, and it says nothing about whether installers stay.
Formula: CPI = Ad spend ÷ Attributed installs; eCPM = CPI × IPM
What is CPI in marketing?
CPI (cost per install) is the amount an advertiser pays, on average, for each install of a mobile app that is attributed to a campaign. It is used in two ways. As a pricing model, the advertiser bids or pays per install: Google Ads App campaigns, for example, offer a target cost per install bid in which you set the average amount you want to pay for each install. As an outcome metric, it is simply the campaign's spend divided by the installs credited to it, whatever the ad was actually bought on (impressions, taps or installs).
Note the "attributed". An install is credited to an ad by an attribution rule, and different parties use different rules. Apple's ad reporting, for example, counts tap-through installs within 30 days of a tap and view-through installs within one day of a view. Change the window and the same spend produces a different CPI.
The CPI formula
CPI = ad spend ÷ attributed installs
Two related identities are useful when you only have some of the numbers:
- IPM (installs per mille) = installs ÷ impressions × 1,000, the share of impressions that turned into installs. See IPM.
- eCPM = CPI × IPM, the effective cost per 1,000 impressions. This follows from the definitions: (spend ÷ installs) × (installs ÷ impressions × 1,000) = spend ÷ impressions × 1,000. See eCPM.
Google's help pages give the arithmetic for a target-CPI campaign: with a $100 average daily budget and a $2 target cost per install, the campaign aims for about 100 ÷ 2 = 50 installs a day.
Worked example: the cheapest install is not the cheapest user
Sample data: three campaigns for the same app over the same 30 days. Day-7 retained users are installers who opened the app again on day 7.
| Campaign | Spend | Impressions | Installs | CPI | IPM | eCPM | Day-7 retained | Day-7 retention | Cost per retained user |
|---|---|---|---|---|---|---|---|---|---|
| A | $6,000 | 1,500,000 | 4,000 | $1.50 | 2.67 | $4.00 | 400 | 10% | $15.00 |
| B | $7,500 | 1,000,000 | 3,000 | $2.50 | 3.00 | $7.50 | 750 | 25% | $10.00 |
| C | $5,000 | 500,000 | 1,250 | $4.00 | 2.50 | $10.00 | 400 | 32% | $12.50 |
Each figure can be recomputed: A's CPI is $6,000 ÷ 4,000 = $1.50; its IPM is 4,000 ÷ 1,500,000 × 1,000 = 2.67; eCPM = $1.50 × 2.67 = $4.00, the same as $6,000 ÷ 1,500,000 × 1,000. Cost per retained user is spend ÷ day-7 retained users: $6,000 ÷ 400 = $15.00.
Ranked by CPI, A wins and C loses. Ranked by what the money bought a week later, B is cheapest at $10.00 per retained user, C is second and A is the most expensive at $15.00. Campaign A delivered cheap installs from people who mostly did not come back. If budget moved to A on CPI alone, the app would pay 50% more ($15.00 vs $10.00) for each user still present after a week.
The same check works with activation instead of retention. If 1,200 of A's installers completed onboarding, A's cost per activated user is $6,000 ÷ 1,200 = $5.00; B with 1,650 activated is $7,500 ÷ 1,650 = $4.55.
CPI vs CPA, IPM and eCPM
| Metric | Formula | What it tells you | What it misses |
|---|---|---|---|
| CPI | Spend ÷ attributed installs | Price of getting the app onto a device | Whether the user opens it twice |
| CPA | Spend ÷ a chosen action (signup, purchase, day-7 return) | Price of an outcome you value | Needs in-app measurement after the install |
| IPM | Installs ÷ impressions × 1,000 | How well the creative and audience convert | Cost |
| eCPM | Spend ÷ impressions × 1,000 = CPI × IPM | Cost of reach; what the network earns | Whether reach converts |
| Cost per retained user | Spend ÷ users retained on day N | Price of a user who stays | Revenue per user |
Decision rule: use CPI to compare bids within one network and one attribution window; use cost per retained or activated user to move budget between campaigns or networks. When the windows differ (a 30-day tap window in one report, a 7-day window in another), CPI is not comparable at all. Google's own bidding options reflect this: besides target CPI, App campaigns offer a target CPA for a chosen in-app action and a target return on ad spend, which require in-app event or revenue data.
What drives CPI up or down
- Platform and country. The same ad sells into auctions with very different competition; compare CPI within one platform and country.
- Creative and store page. A higher IPM lowers CPI at the same eCPM (CPI = eCPM ÷ IPM). An ad that converts 3.0 installs per 1,000 impressions instead of 2.5 cuts CPI by a sixth at the same eCPM.
- Audience breadth. Narrow targeting often raises CPI and retention together, which is why campaign C in the example is both the most expensive per install and the best per retained user after B.
- Attribution window and counting. Redownloads, view-through installs and window length all change the install count, and so CPI, without any change in spend.
For the wider acquisition picture, see user acquisition.
Common CPI mistakes
- Comparing CPI across networks with different windows. A 30-day tap window and a 7-day window count different installs; line up the windows first or compare cost per retained user instead.
- Blending organic installs into paid CPI. Dividing spend by all installs, including people who would have installed anyway, makes every campaign look cheaper than it is.
- Judging a campaign before day 7. Cost per retained user needs installers to reach day 7; a campaign launched five days ago has no day-7 cohort yet.
- Counting redownloads as new users. Reports that include redownloads lower CPI without adding anyone new; check which install types the count includes.
Measuring what happens after the install in TapCub
TapCub is not a mobile measurement partner: it does not match ad clicks to installs and does not buy or bid for traffic. It measures what installers do afterwards, which is the half of the example that CPI leaves out. To rebuild the table for your own campaigns:
- Bring installs in. Point your MMP's install postback at the receive URL on the MMP tab of App analytics › Configuration › Business settings. Each postback becomes an
$app_installevent with media source, campaign and organic or non-organic status. All-platform analytics › Business › Channel ROI, tab Installs, summarizes them by media source, campaign and platform. Setup steps are in how to track app installs. - Add the spend. On the Costs tab of Channel ROI, import spend by day, channel, source and campaign from CSV. CPI is spend ÷ installs for the same campaign and dates; Channel ROI itself reports cost per click, cost per acquisition (spend ÷ purchases) and return on ad spend.
- Measure day-7 retention. All-platform analytics › Behavior › Behavior analysis, retention mode, with
$app_installas the start event, gives the day-N return rate for installers. To split it by campaign, query the$campaignproperty in All-platform analytics › Behavior › Metrics & SQL. - Divide spend by retained users for each campaign to get the last column of the example, and move budget on that number rather than on CPI.
Sources
- Google Ads Help, About bidding in App campaigns.
- Apple Ads Help, Reporting options and definitions.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Technical Engineer
Focuses on tracking code, SDKs, and API integrations, with practical guidance on implementation checks and troubleshooting.