Cohort Analysis Visualization: Practical Retention Charts for SaaS and E-commerce Teams
What is Cohort Analysis? Uncovering the Truth About User Retention
A single churn number feels definitive, but it hides the truth. You ship new features, launch marketing campaigns, and refine your onboarding, yet that one metric barely moves. This leaves you wondering if any of your hard work is actually paying off. The real question isn't just how many users you're losing, but which users, and when. Are the customers you acquired in May sticking around longer than those from January? Answering this is the key to understanding if your product is getting better over time.
This is where cohort analysis provides clarity. Instead of blending all your users into a single, unhelpful average, cohort analysis isolates specific groups and tracks their journey. It moves you from guesswork to a precise understanding of user behavior, which is fundamental for any early-stage SaaS or e-commerce business managing its growth and runway. This approach is central to the Choosing and Visualising Key Metrics hub.
A cohort is simply a group of users who share a common characteristic over a specific time period. For example, the “January 2024 cohort” could be all the users who signed up that month. A cohort chart, often presented as a color-coded table or heatmap, tracks these groups over their lifecycle. The chart shows what percentage of those specific January users returned in February, March, and April, telling a story about their engagement.
This method is far more powerful than looking at an aggregate churn rate because it separates the behavior of new user groups from older ones. This separation allows you to see the direct impact of your product changes. It is the foundation of a meaningful customer retention dashboard because it reveals how user engagement evolves, cohort by cohort.
The First Decision: How to Define Your Cohorts
Founders aren’t sure whether to cohort by sign-up, first revenue, or a specific activity. This uncertainty often leads to misleading retention metrics and poor prioritisation. The choice you make here is critical because it determines the exact question you are trying to answer. For most SaaS and E-commerce startups, the initial choice is between tracking the effectiveness of your acquisition channels or the stickiness of your core product.
1. Acquisition Cohorts (Based on Sign-up Date)
Acquisition cohorts group users by when they first signed up or installed your app. This is the most common type of cohort and is ideal for measuring the effectiveness of your marketing channels and onboarding experience. It helps you answer questions like: did the new onboarding flow we launched in March lead to better long-term retention compared to February's users? Are users acquired from a specific ad campaign sticking around longer than others?
- SaaS Example: A freemium productivity tool cohorts users by their sign-up month. The team can then compare the 30-day and 60-day retention of the March cohort against the February cohort. A visible improvement would suggest their new onboarding tutorials, launched in March, were successful.
2. Behavioral Cohorts (Based on a Key Action)
Behavioral cohorts group users by their first key action within your product, such as their first purchase, completing a critical setup step, or using a core feature for the first time. This type of cohort is superior for measuring the core value and stickiness of your product. It answers the question: once a user experiences the product's "aha!" moment, do they come back for more?
- E-commerce Example: A direct-to-consumer coffee subscription brand creates cohorts based on the month of a customer's first purchase. This is essential for
e-commerce customer analysisandtracking repeat customers. It reveals how many first-time buyers make a second or third purchase in subsequent months, providing a clear view of customer loyalty.
How to Create Cohort Retention Charts With a Spreadsheet
Siloed and inconsistent signup or purchase data makes it painful to generate accurate, automated cohort tables. For a pre-seed or Series A company without a dedicated data team, this feels like a major roadblock. The reality for most startups at this stage is more pragmatic: you do not need a sophisticated analytics platform just yet. A simple spreadsheet is more than capable.
In fact, a manual spreadsheet process is generally manageable for your first 1,000 to 10,000 users and forces you to understand your data intimately. Here’s a step-by-step guide to building your first retention chart.
Step 1: Get Your Users Table
First, you need a list of every user. Export this from your application database or user management system. This table needs at least two columns: a unique user_id and their cohort_date. The cohort_date is the date that defines their cohort, such as the month they signed up (for an acquisition cohort) or the month of their first purchase (for a behavioral cohort).
Step 2: Get Your Activity Table
Next, you need a log of user activity. This could be a list of all user logins, project creations, or, for e-commerce, a record of all purchases from your Stripe or Shopify export. This table must contain the user_id for each event and the activity_date when the event occurred.
Step 3: Combine the Data in Google Sheets or Excel
This is the crucial step where you bring everything together. Import your two tables into separate tabs in Google Sheets or Excel. Your goal is to add the cohort_date from your Users table to every row in your Activity table. You can do this easily with a VLOOKUP or XLOOKUP function. The function will match the user_id in the Activity table with the user_id in the Users table and pull in their corresponding cohort_date.
Once you have the cohort_date and the activity_date in the same row, you can calculate the time difference between them. This difference (e.g., Month 0, Month 1, Month 2) is the final piece of data you need to build your retention table.
From Table to Story: How to Visualize User Cohorts as a Heatmap
Even when charts are built, interpreting the color grids into concrete churn and LTV actions feels like guesswork. The key is to structure the data correctly and then read it methodically. Once your data is combined, you can create a pivot table to structure your cohort analysis.
In your spreadsheet, create a pivot table from your combined data. Set your cohort dates as the rows and the time periods (Month 1, Month 2, etc.) as the columns. The values in the cells should be the count of unique users, expressed as a percentage of the initial cohort size. To visualize user cohorts effectively, apply conditional formatting (a color scale) to this table to create a heatmap. Typically, darker colors represent higher retention.
Here’s a simple framework for reading the story your heatmap is telling:
- Read Across a Row: Following a single row shows the retention curve for one specific cohort. This shows you how quickly engagement for that group drops off over time. A steep drop-off in the first few months might indicate a poor initial product experience or a mismatch between marketing promises and product reality.
- Read Down a Column: This is often the most important view. Reading down a single column (e.g., “Month 3”) compares the retention of different cohorts at the same point in their lifecycle. If the colors get progressively darker as you move down the column, it’s a strong signal that your product improvements are working and new users are sticking around longer than older ones.
- Read the Diagonals: Reading diagonally from top-right to bottom-left shows overall product health during a specific calendar period. A light-colored diagonal might reveal that a buggy release or site outage in a particular month (like December) negatively impacted all user cohorts simultaneously, regardless of when they signed up.
For some businesses, you may also spot a "smile curve," where retention dips after the initial period and then stabilizes or even slightly increases over the long term. This typically happens as less-engaged users churn out, leaving only your most loyal, core users.
So, Is My Retention "Good"? Understanding Benchmarks
After you build your first chart, the immediate question is how your numbers stack up. While industry benchmarks can provide context, the most important comparison is against your own historical trend. Is your Month 3 retention for the May cohort better than it was for the January cohort? Continuous improvement is the primary goal, so it's best to focus on your own improvement trajectory.
That said, external benchmarks can be a useful sanity check. For SaaS retention metrics, the conversation often splits between user retention and revenue retention.
- User Retention: For early-stage, self-serve SaaS products, a 30-40% user retention rate after three months may be acceptable. This figure varies widely based on the business model, price point, and whether it's a B2B or B2C product.
- Revenue Retention: For
revenue retention analysis, the goalposts are different. For B2B SaaS, good net revenue retention (NRR) is often cited as 100% or more. NRR above 100% is achieved when upgrades and expansion revenue from existing customers outweigh the revenue lost from customers who churn. This is a powerful indicator of a healthy, growing business.
Ultimately, "good" retention depends heavily on your specific context. An e-commerce brand selling occasional-purchase items like furniture will have a very different retention profile than a daily-use B2B SaaS tool. Use benchmarks as a guide, but measure success by your own progress.
Practical Takeaways for Founders
Moving from a single churn metric to cohort analysis is a significant step toward making better, data-informed decisions. It allows you to measure the real impact of your work and focus your limited resources on what actually moves the needle on user retention.
What founders find actually works is a pragmatic, step-by-step approach. First, make a conscious decision on your primary cohort definition. Are you trying to measure your marketing effectiveness (use an acquisition cohort) or your product's core value (use a behavioral cohort)? Start with one clear definition to avoid confusion.
Second, do not get blocked by perceived technical complexity. Embrace spreadsheets for your first analyses. The process of exporting, combining, and pivoting data is a foundational skill that provides deep insight into your business dynamics. This is how to create cohort retention charts without a big budget or data team.
Finally, focus your interpretation on the columns. Seeing retention improve column-over-column is the clearest evidence that your product is getting stickier and that you are building something users truly value. That trendline is the most important story your data can tell. Continue exploring metrics at the Choosing and Visualising Key Metrics hub.
Frequently Asked Questions
Q: What is the main difference between cohort analysis and churn rate?
A: A single churn rate is an average across all users, hiding important details. Cohort analysis breaks users into groups based on their start date or a key behavior. This allows you to see if retention is improving over time and measure the impact of product changes on new user groups specifically.
Q: How often should I update my cohort analysis chart?
A: For most early-stage SaaS or e-commerce businesses, updating your cohort analysis on a monthly basis is a good cadence. This frequency is sufficient to spot meaningful trends and connect changes in retention to your product roadmap or marketing campaigns without creating excessive administrative work.
Q: Can I use this method for revenue retention analysis?
A: Yes, absolutely. Instead of counting unique users in your pivot table, you would sum the total revenue from each cohort for each period. This creates a revenue cohort chart, which is excellent for B2B SaaS companies looking to track net revenue retention and the impact of expansion revenue.
Q: What tools can automate cohort analysis when I outgrow spreadsheets?
A: When you're ready to move beyond manual analysis, tools like Mixpanel, Amplitude, and Heap are excellent for product analytics and offer powerful, automated cohort visualization. For e-commerce, platforms like Glew or Lifetimely can provide similar insights directly from your Shopify or Stripe data.
Curious How We Support Startups Like Yours?


