Cockpitify Docs Search the docs⌘K Product Sign in Try the live demo

Read your margin per user

Updated · Pro, Max and Team (Free: top 3 users, 14-day preview) · Phone · Web

What the Margin screen shows, how Cockpitify works out margin per user from revenue, ads, AI cost and shared costs, and what Free shows.

Margin compares what each user pays with what they cost you, so you can see which users make you money and which ones cost you.

Open it

  • Phone: tap the Money tab. Margin is the first screen. It covers the last 30 days.
  • Web: Money → Margin. Pick 7, 30 or 90 days in the header. The AI tab beside Margin opens AI unit economics.

How margin is calculated

Margin = revenue + ads − AI cost − shared costs, per user and in total.

  • Revenue comes from RevenueCat, after store fees and tax. Subscriptions are spread over the days they cover, and refunds come off the sale they belong to.
  • Ads is what AdMob says your ads earned, when you send ad revenue per user (see Monthly profit).
  • AI cost comes from the calls recorded by @cockpitify/node (see Track AI cost per user).
  • Shared costs are service bills and ad spend that no user can be linked to, split evenly over the users active in the period.
  • Fixed costs are not in the margin. They’re in Monthly profit.

The margin shows as soon as you have one half: revenue or AI cost. Until you have both, the To complete the margin list shows what’s missing. With neither, Margin shows labelled Example data under the two steps that fill it: Link RevenueCat and Tag AI calls.

What you see

  • Margin · 30 days (phone) or Margin · N days (web): the total, with the share of profitable users and users losing money.
  • The breakdown: net revenue, ads if any, AI cost, and store fee and tax. A line under it says how much shared cost there was and how much each active user carried.
  • From sales to margin: each step from gross sales to the margin.
  • Margin by group: Paying users, In a free trial, Free users and Not tied to a user. The rows add up to the total.
  • On the phone, rows per plan, so you can compare monthly, yearly and free users.
  • Losing the most: the users who cost more than they bring in. On the phone, tap All to open Users filtered to Losing money.
  • Most profitable: the users who bring in the most after costs.

Tap any user to open their details.

Notes appear when something affects the total: people in a free trial (counted among losing users when they cost money), AI calls without a price, and revenue not yet matched to a user. To fix unmatched revenue, check the user mapping on the RevenueCat screen.

More in Money

On the phone, the Money tab also holds:

  • The Subscriptions card: MRR, trials, billing issues, churn and LTV. See Subscriptions, trials and billing issues.
  • The Profit card: this month’s profit so far. See Monthly profit.
  • The AI unit economics card. See AI unit economics.
  • Ad revenue from AdMob, or Connect AdMob ad revenue when there is none yet.
  • More in Money at the bottom: Profit, Subscriptions, Services, AI unit economics, Trials, Churn and Realised LTV.

On the web, these are their own pages in the Money menu: Margin, Profit, Subscriptions and Services.

On the Free plan

Free shows Top 3 users by AI cost · last 7 days: who they are, how many AI calls they made and whether they pay. The rows can’t be opened. On the phone, tap Try Pro free; on the web, See Pro plans.

When an app first links revenue or AI cost, Free gets a 14-day preview: you see that app’s full margin and profit. A note on Margin says when the preview ends. After that, Pro keeps them.

If it says “Update needed”

Margin arrived in ops 0.6.0. If your project was set up before that, tap Update on the phone’s Margin screen, or update it from Connections: on the phone, open the app menu at the top and tap Connections; on the web, App → Connections. See Repair, update or remove.

Was this page helpful?YesNo
Ask a question
Questions? Ask me.I’m Murat, the indie developer behind Cockpitify.

I read every message and reply by email, usually within a day.