Calculate LTGP: The E-commerce Formula
TL;DR
- The Answer: Lifetime Gross Profit (LTGP) is the total gross profit a customer generates over their entire relationship with your brand, after subtracting all costs to produce and deliver what they buy.
- Why it matters: LTGP tells you how much real money you get from a customer to fund ads, payroll, and everything else, so it is the right "lifetime" number to compare against CAC, not revenue-only LTV. When you divide LTGP by CAC, you get the LTGP:CAC ratio, which is the core benchmark for paid efficiency. I look for 3:1 or better as a minimum for a healthy business and much higher when possible. Matching LTGP with your payback window (e.g., "How much of LTGP do we earn back in the first 30 days?") tells you how fast you recycle capital to scale ads without running out of cash.
- How to measure: For transactional ecommerce, LTGP ≈ (average gross profit per order) × (average number of orders per customer lifetime). For subscriptions, LTGP ≈ (average monthly gross profit per subscriber) ÷ (monthly churn rate), since 1 / churn gives you average months of life.
- When to use: Use LTGP any time you're setting allowable CAC, evaluating new channels, deciding how aggressively you can bid on ads, or judging the true impact of retention efforts. If LTGP:CAC is under ~3:1, you focus on increasing LTGP or lowering CAC before trying to "scale".
What is Lifetime Gross Profit (LTGP)?
LTGP is the gross profit collected over the entire lifespan of a customer relationship.
While often used interchangeably with Customer Lifetime Value (CLV or LTV), LTGP provides a more accurate picture of profitability.
- Revenue-based LTV calculates the total revenue a customer generates. This figure is often misleadingly high because it ignores the cost of producing and delivering the products.
- Lifetime Gross Profit (LTGP) subtracts the Cost of Goods Sold (COGS) from revenue, revealing the actual profit generated by each customer that can be used to cover operating expenses like marketing and salaries.
Why is LTGP a Critical E-commerce Metric?
Your LTGP determines your brand’s growth ceiling and competitive advantage.
A clear understanding of your LTGP allows you to:
- Outspend Competitors on Advertising: The business that can afford to pay more to acquire a customer will dominate every advertising channel. A higher LTGP gives you a larger budget for Customer Acquisition Costs (CAC).
- Fuel Sustainable Growth: If advertising is the engine for growth, LTGP is the fuel. It dictates how much you can reinvest into marketing to acquire new customer cohorts profitably.
- Measure Retention Impact: LTGP is the ultimate measure of your retention strategy\’s success. As you improve customer loyalty and increase purchase frequency, you will see a direct and measurable increase in LTGP.
How to Calculate LTGP: A Step-by-Step Guide
This process is broken into three distinct steps. Following them ensures you arrive at an accurate LTGP figure for your business.
Step 1: Calculate Your Gross Profit Per Order
The first step is to calculate the gross profit from a single average purchase.
Gross Profit is the revenue left over after accounting for the costs to produce and deliver your product.
- Formula:
$$ Gross Profit = Revenue Per Order – Cost of Goods Sold (COGS) $$ - Example: You sell a skincare product.
- Price per unit:
$100 - COGS (manufacturing, packaging, shipping):
$25 - Gross Profit per Order:
$100 - $25 = $75
- Price per unit:
You should also calculate your Gross Profit Margin to understand profitability as a percentage.
- Formula:
$$ Gross Profit Margin Percentage=(Gross Profit/Revenue)×100 $$ - Example:
($75 / $100) × 100 = 75% Gross Margin
Step 2: Determine Your Average Customer Lifetime
Next, you must determine how long a customer stays and how often they purchase. This calculation differs for transactional and subscription businesses.
For Transactional Businesses (e.g., Apparel, CPG): You need to find the average number of transactions a customer makes over their lifetime.
- Method: Export your complete customer order history from your CRM or e-commerce platform (like Shopify). Create a column that counts the number of transactions for each unique customer. The average of that column is your “Average # of Transactions.”
- Example: If you analyze 1,000 customers and find they made a total of 4,000 transactions, your average is 4 transactions per customer.
For Subscription Businesses (e.g., Monthly Boxes, SaaS): You use your customer churn rate to calculate the average customer lifetime.
- Define Churn: Churn is the percentage of customers who cancel their subscription in a given period (typically monthly).
- Calculate Churn Rate:
- Formula:
$$ Monthly Churn Rate = (Customers Lost in Month / Customers at Start of Month) × 100 $$ - Important: Do not include new customers acquired during the month in this calculation. It only applies to the starting pool of customers.
- Example: You start the month with 100 subscribers and 5 of them cancel. Your churn is
5 / 100 = 5%.
- Formula:
- Calculate Customer Lifetime:
- Formula:
$$ Customer Lifetime (in months) = 1 / Monthly Churn Rate $$ - Example:
1 / 0.05 = 20 months
- Formula:
Step 3: Calculate Your Final LTGP
Finally, combine your Gross Profit and Lifetime calculations to determine your LTGP.
Use the formula that matches your business model.
Transactional LTGP Formula:
- Formula:
$$ LTGP = (Average Order Gross Profit) × (Average Number Of Transactions) $$ - Example:
$75 (Gross Profit) × 4 (Transactions) = $300 LTGP
Subscription LTGP Formula:
- Formula:
$$ LTGP = (Average Monthly Gross Profit) ÷ (Monthly Churn Rate) $$ - Example: Assume your monthly subscription has a gross profit of $40 and a 5% churn rate.
- Calculation:
$40 / 0.05 = $800 LTGP
What To Do Next
Calculating LTGP is the first step. The next is to improve it.
Now that you have a baseline LTGP, your strategic goal is to increase it. Every tactic that increases purchase frequency or decreases churn directly boosts this number.
- Benchmark Your Performance: Use your LTGP to calculate your LTGP:CAC Ratio. This ratio tells you how profitable your customer acquisition is. Read our definitive guide to benchmark your number against industry standards.
- Model Your Opportunity: A primary driver of LTGP is repurchase timing. Use our Latency Debt Calculator to model how optimizing the time between orders can increase your Average # of Transactions and, therefore, your LTGP.
- Optimize Your Reorder Timing: MarginOS’s Replenish Engine is built to increase LTGP by predicting when each customer is most likely to buy again, reducing both customer churn and acquisition costs.
Part of the Profitability Framework
Explore more deep-dives and operational guides in this pillar.
About the author
Aron Baczoni is the founder of MarginOS and spent 11 years at Google building large-scale systems for Ads and operations. He now helps $2–20M Shopify brands see real profit by SKU and channel.
Read Aron's story