Sub topic 3
Finding where learners drop off
This chapter assumes you can read a simple table of counts and percentages. It also assumes you know the basic numbers your platform reports, such as enrollments and lesson views, and that you have settled on a definition of completion (covered earlier in this tutorial). Here you turn those numbers into a lesson-by-lesson picture and learn to read it without fooling yourself.
The working model: a funnel
A funnel is an ordered series of steps, with a count of learners at each step. In a course, the steps are usually enrollment, first lesson started, and then each lesson reached in order. The count can only stay the same or shrink as you move down, provided each step means "reached this lesson or later" (see the sequential-course gotcha below). Where the count shrinks sharply, learners are leaving.
Two measures describe each step:
- Cumulative retention: the share of the starting group that reached this step. It answers "how many of the original learners are still here?"
- Step loss: the share of learners at the previous step who did not reach this one. It answers "how bad is this particular transition?"
Both are needed. Cumulative retention shows the overall shape. Step loss shows which single transition is worst, because a steady 10% loss at every step can look harmless one step at a time and still end with a large total loss.
Choosing the starting group
The starting group (the denominator) changes every percentage that follows, so choose it deliberately.
- All enrollments. This includes people who never opened the course. It is honest about total reach, but it mixes two problems: learners who never started and learners who started and left. These have different fixes.
- Learners who started lesson 1. This isolates what happens inside the course. Report the enrollment-to-start gap as its own number.
A common practice is to report both: "62% of enrollees started, and 41% of starters reached lesson 4." The first number points to onboarding and expectations. The second points to course design.
Computing the funnel
The Python function below computes the completion rate and the step loss for the sample funnel. The counts are "learners who reached each lesson."
def completion_rate(enrolled, completed):
return completed / enrolled if enrolled else 0.0
reached = [("Lesson 1", 1000), ("Lesson 2", 720), ("Lesson 3", 540), ("Lesson 4", 410)]
previous = None
for name, count in reached:
if previous is not None:
drop = (previous - count) / previous
print(f"{name}: {count} learners, {drop:.0%} lost since the previous lesson")
previous = count
print(f"Reached the last lesson: {completion_rate(reached[0][1], reached[-1][1]):.0%}")The output is:
Lesson 2: 720 learners, 28% lost since the previous lesson
Lesson 3: 540 learners, 25% lost since the previous lesson
Lesson 4: 410 learners, 24% lost since the previous lesson
Reached the last lesson: 41%The largest single loss is between lessons 1 and 2, which suggests looking first at what the learner experiences at the end of lesson 1 and the start of lesson 2. Later losses are only slightly smaller, so this course also leaks steadily, and fixing one lesson will not solve it.
In practice you will pull these counts from your database. If your platform stores lesson views in a table, a query like this produces the same shape in PostgreSQL:
WITH reached AS (
SELECT l.position, l.title, COUNT(DISTINCT v.learner_id) AS learners
FROM lessons l
LEFT JOIN lesson_views v ON v.lesson_id = l.lesson_id
WHERE l.course_id = 42
GROUP BY l.position, l.title
)
SELECT position, title, learners,
ROUND(1 - learners::numeric
/ NULLIF(LAG(learners) OVER (ORDER BY position), 0), 3) AS lost_share
FROM reached
ORDER BY position;COUNT(DISTINCT ...) matters because one learner can view a lesson many times. The LEFT JOIN keeps lessons that nobody reached, so a dead end shows up as a zero instead of disappearing. NULLIF prevents division by zero once a count reaches 0.
Reading the shape
Different shapes of loss point to different causes. Treat these as hypotheses to check, not conclusions.
| Pattern in the funnel | Likely cause to investigate |
|---|---|
| Large loss before or at lesson 1 | Unclear promise, signup friction, no reason to start now |
| Sharp loss at one specific lesson | A hard concept, a broken video or link, a surprise assessment, a very long lesson |
| Steady loss of similar size at each step | No sense of progress, long lessons, little practice or feedback |
| Loss concentrated after a break in the schedule | Missed deadlines or a gap that lets habits lapse |
| A late cliff just before the end | A final project that feels too large, or learners who got what they needed |
To go from a hypothesis to evidence, add information the counts do not hold. Look at time spent per lesson, where in a video people stop watching, quiz attempts and failures, and support questions tagged to that lesson. A short exit survey or a direct message to learners who stopped at the problem lesson often explains in one sentence what the numbers cannot.
Common errors
Mixing learner types. A funnel of everyone blends learners who plan to finish with those who only wanted one lesson. A loss at lesson 3 may be success for people who came for lesson 3. Build the funnel separately for each intent segment before judging a lesson.
Ignoring time. Learners who enrolled yesterday cannot have finished a six-week course. If you include them, your numbers look worse than the truth. Analyze cohorts by enrollment week, and only compare cohorts that have had the same amount of time. For a self-paced course, pick a fixed window, such as "within 60 days of enrollment."
Confusing "reached" with "completed." Opening a lesson and finishing it are different events. Decide which one the funnel counts, and use that definition for every lesson.
Assuming everyone goes in order. If lessons can be taken in any order, a lower count on lesson 5 does not mean learners left at lesson 5. They may have skipped it. For non-sequential courses, track "completed any N lessons" or the last lesson touched, and be careful with step loss.
Reading noise as a signal. With 40 learners, a change from 30 to 24 reaching a lesson is a few people. Look at several cohorts, and treat small differences as unconfirmed until they repeat.
Counting platform artifacts. A lesson that fails to record a view when a video autoplays or a page loads in a certain browser will look like a cliff. Check the lesson yourself before redesigning it.
A repeatable routine
- Fix the definition of "reached" and the starting group.
- Build the funnel for one cohort that has had enough time, then repeat for the next cohort.
- Split by learner intent where you can.
- Mark the transitions with the largest step loss and any unusual cliffs.
- Collect supporting evidence for each marked transition.
- Write one hypothesis per transition, and choose a change to test.
The last step feeds into later chapters on onboarding, pacing, and controlled experiments. For now, the output of this chapter is a short ranked list of leak points, each with a hypothesis and the evidence behind it.
Exercise
A course has 800 enrollments. 600 learners start lesson 1, 450 reach lesson 2, 300 reach lesson 3, and 270 reach lesson 4. (a) What are the step losses from lesson 1 to lesson 2, from lesson 2 to lesson 3, and from lesson 3 to lesson 4? (b) Which transition should you investigate first? (c) What share of starters reached lesson 4, and what share of enrollees did?
Show answer
(a) Lesson 1 to 2: (600 - 450) / 600 = 25%. Lesson 2 to 3: (450 - 300) / 450 = 33%. Lesson 3 to 4: (300 - 270) / 300 = 10%. (b) Investigate lesson 2 to lesson 3 first, because it has the largest step loss. Before changing anything, check lesson 2 for hard content, a technical fault, or a very long length, and confirm the cause with other evidence. Also note that 200 of the 800 enrollees (25%) never started, which is a separate onboarding question. (c) 270 / 600 = 45% of starters reached lesson 4, and 270 / 800 = about 34% of enrollees did.
Exercise
Your funnel for a self-paced course shows that only 18% of last week's enrollees reached lesson 5, while 40% of enrollees from three months ago did. A colleague says the course has gotten worse. What is a likely flaw in this comparison, and how would you correct it?
Show answer
Last week's enrollees have had little time to reach lesson 5, so the cohorts are not comparable. Correct it by comparing cohorts at the same age, for example the share of each cohort that reached lesson 5 within 14 days of enrollment, and only then judge whether the course has changed.