Retention Rate Formula: How to Calculate It Step by Step
You open your membership dashboard on a Friday afternoon, glance at the headline number, and breathe a sigh of relief. Your member count went up by 40 people this quarter. Then you check your community forum and notice the same ten names carrying every conversation, while your recurring revenue barely budged.
That disconnect happens all the time in online courses and membership businesses. A rising customer total feels like proof that people love what you built, yet new signups can easily hide a steady stream of older members walking out the door.
The retention rate formula solves that blind spot by separating the customers you kept from the customers you just acquired. Even before you touch a calculator, though, you face a more important choice. You have to decide what "retained" means for your product, because a paying member who hasn't watched a lesson in two months tells a very different story than an engaged student finishing modules every week.
I'm going to walk you through the exact math one variable at a time, show you where people usually trip up in spreadsheets, and help you read your numbers with clear eyes.
The Retention Rate Formula and Its Variables
Here is the standard customer retention rate formula in plain text, as laid out in Amplitude's retention rate guide:
Retention Rate = ((Customers at the end of the period – New customers acquired during the period) / Customers at the start of the period) x 100
Every piece of that equation does a specific job. Before we plug in any real numbers, look at what each input tracks and how they fit together using a quarterly digital membership example from that same guide.
| Variable | What It Counts | Example Value |
|---|---|---|
| Customers at start | Active customers at the beginning of the period | 1,000 |
| New customers | Customers acquired during the period | 300 |
| Customers at end | Total customers at the end, including new ones | 1,200 |
| Retention rate | ((End – New) / Start) x 100 | 90% |
Let's walk through that membership example step by step. The business starts the quarter with 1,000 customers, brings in 300 new customers over the next three months, and finishes the quarter with 1,200 total customers.
First, you subtract the 300 new customers from the 1,200 ending total to isolate the remaining customers from the original starting group. Next, you divide that remaining figure by the 1,000 you started with and multiply by 100 to get a 90% retention rate.
Subtracting those new customers is the step people forget most often. If you skip it and divide 1,200 by 1,000, you end up with a figure above 100%, which blends marketing wins with customer loyalty and hides the 100 original members who left. Your final percentage only describes how well you held onto the starting group.
How Retention Connects to Churn
The same formula works whether you're counting SaaS accounts, course learners, community subscribers, or even employees. What changes is the event you count, such as a paid renewal, an active login, a finished lesson, or a repeat purchase.
Quick mental check: If your retention rate is 90% for a quarter, your churn rate for that exact same window is 10%.
Churn rate is the mirror image of retention. Take 100 and subtract your retention rate, using the exact same time window, starting base, and definition of active. You now know how to name every variable in the equation and plug in your own counts, and you know that a bigger ending number on its own never proves your original base is sticking around.
Setting the Period and the Definition of Retained
Before you touch a single number, you face a decision that shapes everything else: what does "retained" mean for your business, and over what span of time? Skip this step and your percentage can look healthy while members slip away.
As Pecan AI's customer retention rate guide points out, you have to lock in your measurement interval before running the numbers so you aren't accidentally comparing a monthly group against a quarterly one. Common windows include 7 days, 30 days, a quarter, or a full year, and each window supports a different type of decision.
| Period | Works Well For | Watch For |
|---|---|---|
| Monthly | Spotting recent changes in behavior | Small bases produce noisy swings |
| Quarterly | Team and leadership reviews | Problems show up later than they started |
| Annual | Businesses built on yearly renewals | Hides churn that happens mid-year |
| Cohort month | Testing onboarding or pricing changes | Newer cohorts have shorter observation windows |
A window on its own still leaves the biggest question open. Who counts as retained? In a subscription membership, that usually means a paid account that renewed or stayed active. In a self-paced online course, you might define an active learner as someone who finishes at least one lesson within 30 days, or a community member who posts or replies at least once. Two courses with identical signup numbers can report very different retention rates purely because one counts a login as active and the other requires a finished lesson.
The definition becomes your first real decision. A loose activity rule inflates your retention figure and lets a growing customer total mask the members who signed up, went quiet, and never came back.
Edge Cases to Settle Before Counting
Real billing and learning platforms like Stripe, Teachable, or Kajabi rarely give you spotless lists. You'll run into messy edge cases fast, and changing how you handle them mid-year will distort your trend line. Write down your rules in advance for these five situations:
- Reactivations: Decide whether a past member who returns during the window counts as a new customer or gets tracked separately.
- Paused subscriptions: Choose whether paused accounts count as active, churned, or excluded until billing resumes.
- Refunds: Determine if someone who buys on day two and gets a full refund on day ten ever enters the new-customer count.
- Annual plans: Keep annual buyers separate from monthly renewals, since an annual member can't churn on a monthly billing cycle.
- Paid downgrades: If a member drops from a pro tier to a basic tier, they still count as a retained customer even though your revenue dipped.
Be just as strict about who you remove from your starting denominator. Following the cohort reporting approach in the University System of Georgia retention definitions document, you should exclude only pre-set ineligible records like test accounts, fraud, duplicate profiles, or people who never received access. Pulling out dissatisfied users after the fact will create fake improvements on paper.
Clear intervals keep reporting honest, and the arithmetic itself is simple. Say 1,000 eligible learners enroll in January and 620 of them remain active 90 days later. Your 90-day retention rate is 62%. Change the window to 30 days or loosen the activity rule, and that same group of learners produces a different number, which is exactly why the definition has to come first. Always publish your time window, your written definition of active, and your exclusion rules right beside every retention rate you share.
How to Calculate Retention Rate Step by Step
Knowing the equation is one thing, and pulling clean inputs out of a real billing export is another. Walking through a fixed sequence keeps you from mixing dates or double-counting signups.
Here is a visual overview of the core workflow before we dig into the detailed steps.

Follow these six steps in Google Sheets, Excel, or your analytics dashboard to get a clean number you can trust:
- Pick the period and lock the dates. Write down exact start and end boundaries, such as January 1 through January 31. Clear boundaries stop you from drifting into a shorter or longer window next time you run the report.
- Count active customers on day one. Pull everyone who meets your written active rule on the first day of the period, stripping out test accounts, staff logins, and duplicates. In Marketingo's customer retention rate walkthrough, the recommended standard is an exact timestamp like 00:00 UTC on the first day so your starting snapshot is unambiguous.
- Count active customers on the last day. Pull your ending total using that exact same active rule and a matching boundary timestamp, such as the final minute of the last day. Keeping the clock consistent guarantees you don't accidentally drop or double-count people who renewed right at midnight.
- Count new customers acquired during the window. Export everyone who joined for the first time between your start and end timestamps. Spot-check the list to make sure none of these IDs appear in your starting group.
- Subtract new customers from the ending count. This step isolates the original members who are still around at the close of the period.
- Divide by the starting count and multiply by 100. Format the final cell as a percentage with one decimal place so subtle shifts stay visible month to month.
Worked Subscription Example and Sanity Checks
Let's run those six steps on the monthly subscription scenario from Marketingo's walkthrough. Say a membership business starts the month with 2,000 paid subscribers, acquires 300 new subscribers during the month, and ends with 1,850 subscribers on the final day.
First, subtract the 300 new members from the 1,850 ending total. That gives you 1,550 retained subscribers from your original group. Then divide 1,550 by 2,000 and multiply by 100 for a 77.5% customer retention rate.
Most spreadsheet mistakes come from three small slips. People accidentally drop the raw ending total into the numerator without subtracting new signups, pull the starting count from one platform and the ending count from another with different time zones, or include free-trial users in the active count when trials haven't converted yet.
Run two quick checks before sharing your math. First, your retained customer count (End minus New) can never exceed your starting customer count. If it does, a new signup slipped into your starting list or a reactivation skewed the subtraction. Second, make sure a teammate could rebuild your exact percentage next month using only your saved export and written rules.
Why Growing Totals Can Hide Lost Customers
Picture a course creator reviewing a quarter that looks like a clear win on the surface. The membership started with 500 customers, brought in 80 new customers from a launch promotion, and finished the quarter with 520 total customers. Headcount grew by 20 people, so it's tempting to celebrate and move on.
Plug those same numbers from MetricHQ's customer retention rate guide into the retention formula, and a different reality shows up. Take 520 minus 80, which leaves 440 retained customers from the original group. Divide 440 by 500 and multiply by 100, and you get an 88% retention rate. That growing total masked 60 original customers who canceled.
Growth Metrics Versus Retention Metrics
Total customer count is a growth metric. It tells you whether your overall audience got bigger or smaller after combining new sales and cancellations. Retention rate isolates what happened strictly to the people who already trusted you before the period began.
Big marketing pushes blur this line constantly. An aggressive paid ad campaign, a seasonal back-to-school enrollment push, or a live webinar launch week can flood your dashboard with fresh signups. Meanwhile, members who joined six months ago might be canceling because the community went quiet or the intermediate lessons never arrived.
Growing your total member count while losing your original base is like pouring water faster into a bucket with a widening crack at the bottom.
This matters directly for your budget and your sanity. Winning a brand-new student through ads, content, and email sequences almost always costs more money and energy than keeping an existing member happy. If your acquisition engine pauses for even one slow month, a leaking retention rate shows up immediately as a steep revenue drop. Once you spot that gap, you can focus on practical ways to reduce your churn rate instead of dumping more cash into top-of-funnel ads.
Whenever you glance at a monthly or quarterly summary, run a ten-second gut check. Take your ending member count, subtract the new signups you added, and put that number right next to your starting count. If the gap between those two numbers feels uncomfortable, your retention deserves immediate attention no matter how nice the headline growth looks.
Tracking Retention Across Signup Cohorts
Aggregate retention gives you a handy snapshot of your whole business, yet it blends veteran fans with brand-new signups. A cohort fixes that by grouping people who share the same starting point, such as everyone who enrolled in January, and tracking that exact group over time.
Look at the illustrative signup cohort data from Statable's retention rate documentation. Every cohort starts at 100% in Month 0, and each following column shows the share of that original group still active.
| Cohort | Month 0 | Month 1 | Month 2 | Month 3 | Month 5 |
|---|---|---|---|---|---|
| January cohort | 100% | 45% | 32% | 28% | 24% |
| March cohort | 100% | 52% | 38% | 33% | Not yet reached |
Look closely at the January row first. The steepest drop happens right out of the gate, plunging from 100% to 45% after just one month. From there, the curve flattens out, moving from 32% in Month 2 to 28% in Month 3 and 24% in Month 5. If you only looked at a blended company average, you wouldn't realize that over half of new learners disappear during their first 30 days.
Now compare January to the March cohort right beneath it. March holds 52% in Month 1, 38% in Month 2, and 33% in Month 3. Something improved between January and March, whether you rebuilt your welcome emails, tightened your onboarding checklist, or attracted better-fit learners. A single blended percentage across all members would average those two groups together and hide the progress you made.
Statable's documentation gives another clean way to read a cohort snapshot. If 1,000 users sign up in January and 350 of those same people are still active in April, your three-month cohort retention rate is (350 / 1,000) x 100 = 35%. The visual below shows how comparing two consecutive signup groups side by side makes retention shifts immediately obvious.

Ways to Group Your Learning Cohorts
Enrollment month is the most common starting point, though online educators and membership owners can slice cohorts in several useful ways as long as the starting population and active rule stay locked:
- By course or track: See whether students in your beginner bootcamp stick around longer than students in your advanced workshop.
- By acquisition channel: Compare organic YouTube viewers against paid social leads to find out which traffic source stays subscribed past month two.
- By pricing tier: Check if members on a higher-touch coaching plan retain better than self-serve video subscribers.
- By learning format: Contrast live cohort-based classes against completely self-paced libraries.
Keep two practical limits in mind when reading cohort tables. First, tiny cohorts create wild swings. If only 12 people signed up in a slow month, two cancellations knock your rate down by nearly 17 percentage points. Second, your newest cohorts haven't had enough calendar time to fill out later columns, which is why the March cohort in our table doesn't have a Month 5 reading yet. Give newer groups time to mature before declaring victory or panic.
Reading Your Result Against Benchmarks
No single retention percentage is automatically "good" or "bad" in a vacuum. A moderate monthly retention rate could be a red alert for a B2B software tool on annual contracts, yet a solid result for a low-cost consumer hobby membership.
Your most honest benchmark is your own history. Comparing this month against your last three periods, or comparing your March cohort against your January cohort, tells you whether your product is getting stickier or slipping. Before looking outward, gather your own charts and notes so you know what your baseline looks like.

Still, an outside reference helps ground your expectations. In RevenueCat's State of Subscription Apps 2024 report, monthly subscription apps posted a median first-renewal rate above 60% in 2024, while only 36% of the initial subscriber cohort remained by the third renewal.
Treat numbers like that as a rough reference point rather than a strict grade for your course or membership. Mobile app subscriptions often have lower switching costs and impulse signups compared to an education community where someone committed to learning a new skill.
Reading Three-Period Trends and Activity Signals
One isolated data point can easily be a fluke caused by a holiday weekend or a failed credit card batch. Watching at least three consecutive periods reveals the actual shape of your business. A flat line tells you retention has stabilized, a steady slide points to a deeper product or onboarding issue, and a clear lift right after a curriculum update confirms your fix worked.
You also need to separate login habits from billing reality. As Tencent RTC's app retention rate guide notes, a business can show high login retention right next to weak renewals or low course completion. On the flip side, low weekly activity can be completely normal for an intentionally self-paced course where busy professionals log in twice a month on Sundays.
If you want a quick visual walkthrough of how analysts interpret these retention curves and benchmark patterns in practice, this short video breaks down the core signals to watch.

Before you make a big pricing or curriculum decision based on a retention number, run it through three quick audit questions:
- Same denominator rules: Did you apply the exact same eligibility and exclusion rules across every period you're comparing?
- Identical time window: Are you lining up 30-day windows against 30-day windows, rather than accidentally comparing a short February against a full quarter?
- Mature enough cohort: Has the group you're judging crossed the renewal or completion milestone you're trying to measure?
Customer, Gross and Net Revenue Retention Compared
People often talk about retention as if there's only one formula. In practice, customer retention, gross revenue retention, and net revenue retention answer three completely different business questions, and mixing them up leads to bad decisions.
Here is how the three metrics stack up side by side.
| Measure | What It Counts | Includes Expansion | Can Exceed 100% |
|---|---|---|---|
| Customer retention | Accounts or learners kept | No | No |
| Gross revenue retention | Revenue kept after churn and downgrades | No | No |
| Net revenue retention | Revenue kept plus upsells and price increases | Yes | Yes |
Customer retention (often called logo retention) counts heads or accounts. It treats a $20 member and a $200 member equally. Gross revenue retention (GRR) shifts the focus to dollars, tracking how much recurring revenue you kept from your starting group after subtracting cancellations and plan downgrades. Neither of those two numbers can ever go above 100%.
Net revenue retention (NRR) adds expansion back into the mix, including tier upgrades, coaching upsells, add-on courses, and price increases from that existing customer base. Because existing customers can spend more than they did at the start of the period, NRR can pass 100%.
To see how wide the gap between these metrics can get in real businesses, look at SaaS Capital's 2025 B2B SaaS Retention Benchmarks survey of more than 1,000 private B2B SaaS companies. Those companies reported a median gross revenue retention of 91% alongside a median net revenue retention of 101%.
Why Rising Revenue Retention Can Mislead Educators
A 101% net revenue retention number looks great in a slide deck, yet it doesn't automatically mean your learners are thriving. A small handful of power users upgrading to your high-ticket mastermind tier can easily offset dozens of quiet cancellations on your entry-level plan.
Raising your membership price can push net revenue retention upward on a spreadsheet while learner engagement and course completion drop behind the scenes.
If you run an online academy or membership site, don't collapse everything into a single blended metric. Track learner retention (who is still completing lessons), subscription retention (who is still paying), and revenue retention (how much recurring money that cohort generates) side by side. Keep the starting cohort identical across all three metrics, and never let brand-new customer revenue sneak into your existing-customer revenue counts. Pairing these distinct views with solid subscription model best practices stops a short-term monetization win from being misread as proof that your teaching is working.
Calculate Your First Retention Rate This Week
Reading about retention formulas won't tell you whether your members are sticking around. Running one clean calculation today will.
Open a blank spreadsheet in Google Sheets or Excel right now, and pick customer retention over a single 30-day window. At the very top of the sheet, write two short sentences defining who counts as active and which records you're excluding, such as test accounts or refunds.
Pull your starting count, ending count, and new signups for that exact 30-day stretch from Stripe, Teachable, Circle.so, or whichever platform runs your billing. Run the subtraction and division, then record the percentage right next to your written window and active rule.
To make future cohort tracking effortless, store these seven structured fields for each member record in your analytics log:
- Cohort month: The month the member first joined.
- Plan: Their active pricing tier or course bundle.
- Acquisition source: Where they originally found you.
- Activation date: When they first accessed the product or completed onboarding.
- Cancellation date: The exact date they ended their subscription, if applicable.
- Pause status: Whether billing is temporarily on hold.
- Return activity: Dates of any reactivations after a prior cancellation.
Keeping clean operational fields like these lets you rebuild past numbers and populate cohort tables without constantly digging through raw personal profiles. At LearnStream, we generally retain usage data for a shorter period than personal data and use it for internal analysis, and we retain personal data only as long as necessary for the purposes set out in our privacy policy. Separating lightweight usage and cohort fields from sensitive personal records is a smart habit for any course business.
Set a calendar reminder for 30 days from today to run the exact same steps under the exact same rules. When your second number comes back, check your definition first before jumping to conclusions, then turn what you learn into a repeatable customer success strategy that keeps learners crossing the finish line. Your only assignment right now is simple. Export last month's three counts, calculate your first retention rate, and save your sheet before you close your laptop today.
