Sub topic 1
What counts as completion, and how to measure it
Prerequisites
This chapter assumes you have created or taught an online course, can read simple percentages and tables, and know the basic analytics your platform shows, such as enrollments and lesson views. You do not need to know statistics. The code examples use short Python and SQL that you can run as shown.
Why the definition comes first
Completion rate is the share of a group of learners who reach a defined finish line. Every later chapter in this tutorial tries to raise that number. If the number is defined loosely, you can "improve" it by changing the definition and learn nothing about your course.
A completion rate has three parts, and each one is a decision:
- The numerator: what a learner must do to count as completed.
- The denominator: which learners are counted as enrolled.
- The time window: how long learners have to finish before you measure.
Two courses with the same "60% completion" can describe very different outcomes if they differ on any of these.
Choosing the numerator: the finish line
Pick the finish line that matches what the course promises. Common options:
| Definition | Counts a learner as complete when | Strength | Weakness |
|---|---|---|---|
| Last lesson viewed | They open the final lesson | Easy to measure | Learners can skip to the end |
| All lessons marked done | Every lesson is completed | Shows full progress | Rewards clicking, not learning |
| Percentage threshold | They complete, for example, 80% of lessons | Tolerates optional material | The threshold is arbitrary |
| Assessment passed | They pass a final quiz or project | Ties to a skill | Fewer learners attempt it |
| Certificate issued | They meet all stated requirements | Matches the learner's goal | Depends on the certificate rules |
A useful rule: choose the definition that a learner would agree means "I finished." If your course sells a skill, passing an assessment is closer to that promise than viewing the last video. If your course is a free introduction, a percentage threshold may be fairer.
Write the definition down in one sentence and keep it fixed. When you compare rates across months or course versions, a changed definition breaks the comparison.
Choosing the denominator: who counts as enrolled
The denominator is where most measurement errors enter. Consider the groups that could be included:
- Everyone who registered or paid.
- Everyone who started at least one lesson.
- Everyone who stayed past a refund window or free trial.
Each choice answers a different question.
- Registered learners: "How well does the whole pipeline convert sign-ups into finishers?" This number is lowest, because many people sign up and never start.
- Started learners: "Among people who tried the course, how many finished?" This is usually the best measure of course quality, because it removes people who never engaged.
- Retained learners: "Among committed learners, how many finished?" This helps for paid courses with refund periods.
Report both the registered and started versions when you can. A gap between them points to an onboarding or marketing problem, not a content problem.
Choosing the time window
Self-paced learners finish at different speeds. If you measure at 30 days, slow finishers count as failures. If you measure at a year, you wait too long to learn anything.
Two practical approaches:
- Fixed-window completion: the share of each enrollment cohort that finishes within N days of enrolling. Use the same N for every cohort, such as 30 or 90 days.
- Cohort curves: plot the cumulative share finished at day 7, 30, 60, and 90 for each monthly cohort. This shows whether a change speeds up finishing or only moves the final number.
Fixed windows only work on cohorts old enough to have had the full window. A cohort that enrolled last week has not had 30 days yet. Leave recent cohorts out, or label them as incomplete, so they do not drag the rate down.
Measuring completion from data
Your platform's enrollment table likely stores a start date, a last-activity date, and a completion date. A completed learner has a non-null completion timestamp.
The query below lists learners in one course who have not finished and have been inactive for more than seven days. It is a starting list for outreach, and it also shows how "not completed" is encoded in the data.
SELECT learner_id, last_active_at
FROM enrollments
WHERE course_id = 42
AND completed_at IS NULL
AND last_active_at < CURRENT_DATE - INTERVAL '7 days'
ORDER BY last_active_at;Note that completed_at IS NULL means "not completed yet," not "dropped out." A learner inactive for seven days may return. Treating every unfinished learner as a dropout overstates failure, which is another reason to use a time window.
Completion rate versus progress at each step
A single completion rate hides where learners leave. The same data can be broken down by lesson. The script below computes the overall rate and the percentage lost between consecutive lessons.
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%}")Running it prints:
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%Two details matter. The function returns 0.0 when no one is enrolled, which avoids a division-by-zero error on empty cohorts. And the last line measures "reached the last lesson," which is the weakest finish line in the table above. The next chapters build on this per-lesson view.
Common errors
- Changing the definition midstream. A rate before and after the change cannot be compared.
- Mixing cohorts of different ages. Young cohorts look worse only because they have had less time.
- Counting lesson views as learning. A learner who clicks "next" through every video is complete by the "all lessons marked done" definition.
- Ignoring multiple enrollments. A learner who re-enrolls may be counted twice. Count unique learner and course pairs.
- Reporting one number. Publish the definition alongside the rate, for example "completed all required lessons within 90 days, among learners who started."
A short measurement checklist
- State the finish line in one sentence.
- Choose the denominator and record why.
- Set a time window and exclude cohorts that have not had it.
- Compute the rate for registered and started learners.
- Break it down by lesson to see where learners leave.
- Save the definition with the result.
Exercise
A course has 2,000 registrations. 1,200 learners opened at least one lesson, and 300 of them passed the final assessment within 60 days. What are the completion rates for the "registered" and the "started" denominators? Which one tells you more about course quality, and why?
Show answer
Registered: 300 / 2,000 = 15%. Started: 300 / 1,200 = 25%. The started rate says more about course quality because it removes the 800 people who never opened a lesson, so it reflects the experience of learners who actually tried the course. The gap between 15% and 25% points to a sign-up-to-start problem, which is an onboarding or marketing issue rather than a content issue.
Exercise
You change the finish line from "passed the final assessment" to "viewed the last lesson," and the completion rate rises from 25% to 41%. Did the course improve? What should you do instead?
Show answer
No. The rise comes from the looser definition, not from better learning. Keep one definition for comparisons, or report both rates side by side. To judge a real change, measure the same definition on cohorts before and after the change.
Exercise
A cohort enrolled 10 days ago, and your fixed window is 30 days. Should it be included in this month's 30-day completion rate?
Show answer
No. It has not had the full 30 days, so many learners who would finish later count as unfinished. Exclude it or label it as incomplete until it reaches 30 days.