TapCub is live — analytics, insights and live chat, free on one platform
Glossary

CPI in marketing: cost per install formula and example

CPI (cost per install) is ad spend divided by attributed app installs. The formula, how it relates to IPM and eCPM, and a three-campaign example where the cheapest install is the most expensive retained user.

Chen Yu Reviewed by Xu An Also called cost per install Last updated Nov 29, 2026 Glossary

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.

CampaignSpendImpressionsInstallsCPIIPMeCPMDay-7 retainedDay-7 retentionCost per retained user
A$6,0001,500,0004,000$1.502.67$4.0040010%$15.00
B$7,5001,000,0003,000$2.503.00$7.5075025%$10.00
C$5,000500,0001,250$4.002.50$10.0040032%$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

MetricFormulaWhat it tells youWhat it misses
CPISpend ÷ attributed installsPrice of getting the app onto a deviceWhether the user opens it twice
CPASpend ÷ a chosen action (signup, purchase, day-7 return)Price of an outcome you valueNeeds in-app measurement after the install
IPMInstalls ÷ impressions × 1,000How well the creative and audience convertCost
eCPMSpend ÷ impressions × 1,000 = CPI × IPMCost of reach; what the network earnsWhether reach converts
Cost per retained userSpend ÷ users retained on day NPrice of a user who staysRevenue 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:

  1. 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_install event 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.
  2. 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.
  3. Measure day-7 retention. All-platform analytics › Behavior › Behavior analysis, retention mode, with $app_install as the start event, gives the day-N return rate for installers. To split it by campaign, query the $campaign property in All-platform analytics › Behavior › Metrics & SQL.
  4. 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

Was this explanation clear?

We use your answers to fix and expand this page.

Chen Yu

Technical Engineer

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

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What does CPI mean in marketing?

In mobile app marketing CPI means cost per install: the ad spend divided by the number of installs attributed to the campaign. It can also be a buying model where the advertiser bids a target price per install. In economics CPI means the consumer price index, which is unrelated.

What is the difference between CPI and CPA?

CPI divides spend by installs. CPA divides spend by an action you choose after the install, such as signup, purchase or a day-7 return. CPA needs in-app measurement but reflects user quality; in the example, the campaign with the lowest CPI had the highest cost per retained user.

How do you calculate CPI from eCPM?

Divide eCPM by IPM, because eCPM = CPI × IPM. A campaign with a $10.00 eCPM and 2.5 installs per 1,000 impressions has a CPI of $10.00 ÷ 2.5 = $4.00. Raising IPM to 3.0 at the same eCPM lowers CPI to about $3.33.

Is a lower CPI always better?

No. A low CPI can come from audiences that install and never return. Compare campaigns on cost per retained or activated user: in the sample, campaign A had the lowest CPI at $1.50 but cost $15.00 per day-7 retained user, against $10.00 for campaign B.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics