Metrics
analyses/metrics.md

Metrics

What each metric means and how it's calculated.

Note: This is the general structure of how Kleio organizes your data — not a full list of every available metric.

The P&L Waterfall

MetricDefinition
Gross SalesSales before discounts and returns. Includes shipping.
DiscountsTotal discounts applied to products and shipping.
=SalesGross Sales − Discounts. The initial order value before returns.
ReturnsTotal refunded amount.
+Return FeesFees charged to customers for returns.
=RevenueSales − Returns + Return Fees. What’s left in your bank account after returns.
TaxTotal tax collected after returns. Only visible when viewing metrics with tax included.
COGSCost of Goods Sold.
=Contribution Margin 1Revenue − Tax − COGS. Your product margin.
Variable CostsCosts that vary with sales volume (shipping, payment processing, etc.).
=Contribution Margin 2CM1 − Variable Costs. Your margin after COGS and all variable costs.
Ad SpendTotal advertising and marketing spend.
=Contribution Margin 3CM2 − Ad Spend. Your margin after all COGS, variable costs, and ad spend.
Fixed CostsCosts that don’t vary with sales volume (rent, salaries, etc.).
=Net ProfitCM3 − Fixed Costs. Your bottom line profit.

Variable Costs Breakdown

Variable costs can be broken down into:

CategoryDefinition
Shipping CostsShipping and fulfillment costs including delivery, packaging, and logistics.
Returns CostsCosts related to processing returns and refunds.
Payment CostsPayment processing fees from Stripe, PayPal, Shopify Payments, etc.
Customs CostsCustoms duties, import taxes, and international shipping fees.
Fulfillment CostsFulfillment costs including pick, pack, and warehouse handling fees.
Other VariableOther variable costs not categorized above.
Agency FeesMarketing agency fees calculated as a percentage of ad spend.

Ad Spend Breakdown

Ad spend can be broken down by platform:

PlatformDefinition
Google AdsAd spend from Google Ads.
Meta AdsAd spend from Meta (Facebook/Instagram) Ads.
Snapchat AdsAd spend from Snapchat Ads.
TikTok AdsAd spend from TikTok Ads.
AppLovinAd spend from AppLovin.
GoAffProAd spend from GoAffPro affiliate program.
Other MarketingFixed marketing costs (agency fees, banner ads, etc.) allocated to ad spend.

Tax Toggle

You can switch between viewing metrics with or without tax using the tax toggle in the filter settings. This affects all metrics from Gross Sales through Revenue.

  • Excl. tax: All top-line metrics exclude tax.
  • Incl. tax: All top-line metrics include tax.

Metrics below Revenue (COGS, contribution margins, variable costs, ad spend, fixed costs, net profit) always exclude tax regardless of the toggle.

Comparing with Shopify

Kleio’s metrics won’t match Shopify’s Finance Summary one-to-one. There are two key differences:

Shipping is included. Kleio includes shipping revenue in Gross Sales, Discounts, Sales, Returns, and Revenue. Shopify’s Finance Summary separates shipping into its own line. We include it because shipping revenue hits your bank account just like product revenue, and for many stores shipping is a meaningful revenue lever.

Tax handling differs. Shopify’s Finance Summary shows everything except Total Sales without taxes. Kleio lets you toggle between including and excluding tax using the tax toggle in the filter settings. This way you can view your P&L however makes sense for your business.