Back to blog

By Diogenes Monegro · · 11 min read

Cohort analysis for small business: how many customers stay after the first month (and how to measure it)

What cohort analysis is, how to calculate your customer retention rate step by step in Excel and what to do with what you find, with an example from a neighborhood fitness studio with 993 members.

A business can sell more every month and still be losing customers. When lots of new ones come in, sales go up and the problem stays hidden. You see it when you stop bringing in new people and find that the ones who joined six months ago are gone.

Cohort analysis answers a simple question: of the customers who arrived in a given month, how many are still with you one, three and six months later? It's the third post in our series on business intelligence analyses for small businesses. The previous one, RFM analysis, tells you who's who today. This one shows what happens to customers over time.

This time we apply it to a neighborhood fitness studio, a business whose members pay every month.

What cohort analysis is

A cohort is a group of customers who started in the same month. Those who signed up in January are the January cohort, those from February are the February cohort, and so on.

Customer cohort analysis is a retention analysis for small business: it follows each group month by month and calculates the customer retention rate: the percentage of the cohort that keeps buying after a given amount of time. If 100 members joined in January and 60 are still paying in April, that cohort's retention at month 3 is 60%.

The result is a table with one cohort per row and months since signup in the columns. Recent cohorts have less history, so the table ends up shaped like a triangle. Colored in, it's called a retention heatmap.

You can read it two ways:

  • By rows: how each cohort ages. How many people does it lose in the first month? And after that?
  • By columns: how one cohort's month-1 retention compares with another's. If March retains less than February, something changed.

Why it's worth doing

Averages mislead. If you measure retention for all your customers together, you mix people who've been with you for three years with people who arrived last month, and the first group hides the second. Cohorts separate them.

The Health & Fitness Association (HFA) found that member retention averaged 66.4% in 2025, in a survey of 175 companies with more than 17,000 facilities in 27 countries. A single number like that doesn't tell you how new members are doing, which is where many businesses lose money without noticing.

In the Federal Reserve Banks' Small Business Credit Survey, reaching customers and growing sales was the operational challenge most often reported by employer firms. Winning a new customer costs money in advertising, discounts and time. Keeping one usually costs less.

The fitness studio in our example

According to the HFA, 81 million Americans were members of a fitness facility in 2025, 26.1% of the U.S. population aged six and older. It's a large market full of small businesses, with a model that depends on the member coming back next month.

Picture a neighborhood fitness studio with one location and monthly memberships on three plans: basic ($49), standard ($69) and unlimited ($99). Over 12 months, from November 2025 to October 2026, it signed up 993 new members and collected 4,071 monthly payments, $281,479 in total.

In January it ran its New Year promotion with no joining fee. 196 new members signed up, 20% of the year's total. The owner celebrated. What she doesn't know is whether they stayed.

The data is illustrative, but the pattern is the one we see in businesses with repeat customers: gyms, yoga studios, schools, subscription services and coffee shops with a loyalty app.

How to do a cohort analysis in Excel, step by step

You can do it in Excel or Google Sheets, no coding needed. Here are the steps, with the formulas in English.

  1. Export the payments or sales with three columns, on a sheet called Payments: member in column A, date in B and amount in C. Each row is one payment.
  2. Find each member's first payment in column D: =MINIFS($B$2:$B$5000,$A$2:$A$5000,A2). That formula looks up the oldest date for the member on that row.
  3. Get their cohort in column E: =DATE(YEAR(D2),MONTH(D2),1). Everyone who started in the same month ends up with the same date.
  4. Get the months since first payment in column F: =DATEDIF(E2,DATE(YEAR(B2),MONTH(B2),1),"m"). The signup month is month 0.
  5. Build the cohort table on another sheet. Put the cohorts in column A (one per row) and the months 0, 1, 2... in row 2. In B3 type: =IF(EDATE($A3,B$2)>$H$1,"",COUNTIFS(Payments!$E:$E,$A3,Payments!$F:$F,B$2)). Cell $H$1 holds the last month with data: =DATE(YEAR(MAX(Payments!B:B)),MONTH(MAX(Payments!B:B)),1). The EDATE part leaves months that haven't happened yet blank.
  6. Divide by the cohort size to get retention: =IF(B3="","",B3/$B3). The month 0 column is always 100%.
  7. Color it: select the table and use Conditional Formatting, Color Scales. That's your heatmap.
  8. Repeat with revenue by swapping COUNTIFS for SUMIFS(Payments!$C:$C,Payments!$E:$E,$A3,Payments!$F:$F,B$2). Now you can compare member retention with revenue retention.

In step 5, counting rows gives you the number of members only if each member pays once a month. If a customer can buy several times in a month, use a pivot table with the cohort in rows, the months in columns and a distinct count of customers in values.

For the studio we did it in Python with pandas and charts in matplotlib. The logic is exactly the same as in the spreadsheet.

What the studio found: a cohort analysis example

First we looked at the full table. Each row is a cohort, each column a month since first payment, and each cell the percentage of members still paying.

Heatmap of 12 member cohorts, from November 2025 to October 2026, by months since first payment, from 0 to 11: the regular cohorts keep between 67% and 85% at month 1 and the oldest ones, November and December, end at 47% and 48%, while the January 2026 cohort, with 196 new members, keeps 52% at month 1 and 32% at month 9
Illustrative data. Each cell is the percentage of the cohort still paying. The January 2026 row is outlined.

Three findings:

  • Month 1 is where most people leave. In the regular cohorts, 27 out of every 100 members don't pay for a second month. Between month 1 and month 6 they lose another 22 points in total. The first renewal costs more than the next five months combined.
  • The January cohort left faster. 196 members joined, but only 52% paid a second month, against 73% in the other cohorts. At month 6, 34% were left, against 51%.
  • The ones who stay are worth more. At month 6, 51% of members are still there, but 57% of revenue is. The ones who stay move up to higher plans.

The second chart sets the January cohort against the rest. The gray lines are each of the other cohorts and the dashed one is their average.

Retention curves for 12 cohorts over months 0 to 11: the regular cohorts drop to about 73% at month 1 and to 47% at month 11, while the January 2026 cohort, in blue, drops to 52% at month 1 and to 32% at month 9, and never gets close to the average of the others
Illustrative data. The average of the other cohorts weights each one by its size.

The gap shows up in the first month and never closes. The promotion filled the studio but brought in people with less commitment: 64% picked the basic plan, against 44% in the other cohorts. If the January cohort had retained like the others, it would have about 100 members at month 6 instead of 67. That's about 33 more members, close to $2,300 a month.

The last chart compares member retention with revenue retention in the regular cohorts, over the first six months.

Two lines over months 0 to 6: member retention falls to 51% and revenue retention falls to 57%, because the members who stay pay more over time
Illustrative data. Includes the cohorts with at least six months of history, without January.

That's why it's worth looking at both. Average revenue per member went from $66 in month 0 to $73 in month 6. Losing members is bad, but what matters most is which members you lose.

What to do with what the cohorts show

Look after the first month

If the biggest drop is at the first renewal, that's where your effort goes. The studio put together a plan for the first 30 days:

  • A welcome class in the first week, with the trainer who'll coach the new member.
  • A personal message on day 14 to anyone who has come fewer than three times.
  • A short conversation before renewal to see whether the plan they picked works for them.

Judge promotions by cohort, not by sales

The January promotion was a success judged by signups and a loss judged by retention. Before repeating it, the studio will compare what it earns from a cohort that keeps 34% against one that keeps 51%. It will probably run it again with a three-month minimum, or with a plan that already includes group classes.

Compare cohorts with each other

Every time you change something (prices, schedules, trainers, the signup process), check whether the next cohort retains more or less than the one before. It's the simplest way to know whether what you did worked, and you won't see it in the month's sales.

Measure revenue retention, not just customer retention

A business that retains fewer customers but the best ones can be better off than one that retains everyone on the cheapest plan. If revenue retention is lower than customer retention, you have a pricing or plan problem, not just a service problem.

Common mistakes

  • Mixing all customers into a single percentage. Overall retention hides when people leave and which cohorts do worst.
  • Comparing cohorts of very different sizes without looking at the size. A cohort of 58 members moves more by chance than one of 196. Put the number of members next to each row.
  • Counting months that haven't happened yet as zero. The October cohort didn't lose anyone: it just has one month of history. Leave those cells blank.
  • Defining the active customer badly. Decide what counts as staying: paying this month? Buying in the last 60 days? Use the same rule in every cohort.
  • Doing it only once. Add the new cohort every month. The value is in watching the table change over time.

Frequently asked questions

What is a good customer retention rate?

It depends on the business. The HFA reports 66.4% average member retention in fitness for 2025, but that's a single number for the whole industry, not split by cohort. In the example, the regular cohorts keep 73% at month 1 and 51% at month 6. The most useful thing is to compare your cohorts with each other and make each one better than the last.

How do you do a cohort analysis if your business has no subscriptions?

It works the same way. Define each customer's first purchase month as their cohort and count how many buy again in month 1, 2, 3 and so on. At a coffee shop, a salon or an online store, retention will be lower and less regular than at a gym, but cohort analysis shows the same thing: when they stop coming back.

How much data do I need for a cohort analysis?

With 6 to 12 months of history and the customer identified on every payment or sale, you already have a useful table. With fewer than 30 customers per cohort the percentages jump around a lot. In that case, group by quarter instead of by month.

What's the difference between cohort analysis and RFM analysis?

RFM is a snapshot of today: it ranks your customers by how recent, frequent and large their purchases were. Cohort analysis is a movie: it follows the customers who arrived in the same month. RFM tells you who to call today. Cohort analysis tells you whether your new customers stay.

What's next in the series

Cohort analysis tells you how many customers stay. The next post in the series moves to the other side of the ledger: break-even analysis, to find out how much you need to sell each month to stop losing money and what happens to that number when your costs change.

If your customer and payment data isn't in one place yet, start with our business intelligence guide for small businesses.

Your next step

Export your payments or sales for the last 12 months today, with the customer, the date and the amount. Find each customer's first payment with MINIFS and count how many are still there in month 1. That one figure, for two or three cohorts, already tells you whether your business has a first-month problem.

If you want the analysis to update itself every month and each new cohort to show up on your dashboard, ShineTechData can build it with you. Take a look at our data analysis service.

Sources

  1. 2026 Report on Employer Firms: Findings from the 2025 Small Business Credit Survey(opens in a new tab) — Federal Reserve Banks (Small Business Credit Survey), 2026
  2. 81 Million Americans Were Members of a Fitness Facility in 2025, New HFA Report Finds(opens in a new tab) — Health & Fitness Association (2026 US Health & Fitness Consumer Report), 2026
  3. HFA Releases 2025 Fitness Industry Benchmarking Report(opens in a new tab) — Health & Fitness Association, 2025

About the author

Diogenes MonegroCEO, ShineTechData

Diogenes Monegro is the CEO of ShineTechData, a data and AI consultancy based in San Pedro de Macorís, Dominican Republic, that helps small and mid-sized businesses put their data to work.