What Is the SM-2 Algorithm?
SM-2 Algorithm: a spaced repetition algorithm created by Piotr Woźniak in 1987 for SuperMemo, which schedules each flashcard using a per-card ease factor that grows or shrinks depending on how well you recall it.
Also known as: SuperMemo 2, SM2, SuperMemo algorithm
SM-2 is a spaced repetition algorithm that decides when you should next review each flashcard. After every review you grade your answer, and the algorithm multiplies the card's previous interval by an ease factor that reflects how hard the card is for you. Created by Piotr Woźniak in 1987, it is one of the most widely copied algorithms in learning software and the basis of Anki's classic scheduler.
Origin
Woźniak, then a student in Poznań, Poland, had been experimenting with spaced review on paper since the mid-1980s. In 1987 he implemented SM-2 in the first computer version of SuperMemo. He published the algorithm's description, and its simplicity made it easy to reimplement. Later SuperMemo versions use much more complex algorithms (SM-17, SM-18), but SM-2 lived on in open-source tools including Anki and Mnemosyne.
How SM-2 works: the formula
After each review you rate recall quality q from 0 to 5 (5 = perfect, 3 = correct with serious difficulty, 0–2 = incorrect).
Intervals (in days), where n is the number of successful reviews in a row:
- I(1) = 1
- I(2) = 6
- I(n) = I(n−1) × EF, for n > 2
Ease factor update after each review:
EF' = EF + (0.1 − (5 − q) × (0.08 + (5 − q) × 0.02))
- Every card starts with EF = 2.5. EF never goes below 1.3.
- q = 5 adds 0.1; q = 4 leaves EF unchanged; q = 3 subtracts 0.14.
- If q < 3, the card's repetitions restart from I(1), with EF left unchanged.
- Within a day's session, cards graded below 4 are repeated until they reach at least 4.
A worked vocabulary example
You add the card ambivalent (having mixed feelings).
| Review | Grade | EF after | Next interval |
|---|---|---|---|
| Day 0 (first review) | 4 | 2.5 | 1 day |
| Day 1 | 5 | 2.6 | 6 days |
| Day 7 | 3 | 2.46 | 6 × 2.46 ≈ 15 days |
| Day 22 | 4 | 2.46 | 15 × 2.46 ≈ 37 days |
| Day 59 | 2 (forgot) | 2.46 | Restart: 1 day |
The lapse resets the schedule but keeps the ease factor, so once you relearn the word its intervals grow again quickly.
You can generate a schedule like this with the spaced repetition scheduler.
Why it matters for learning words
SM-2 made spaced repetition personal. Unlike the Leitner system, where every card in a box shares one interval, SM-2 lets an easy word like happy race ahead to monthly reviews while a slippery word like ambivalent stays on shorter intervals. That means far fewer wasted reviews in a deck of thousands of words.
Known weaknesses
- "Ease hell." Repeated low grades push EF down toward 1.3, and in implementations like Anki's there is little mechanism to raise it again, so hard cards can get stuck on short intervals.
- Fixed assumptions. The constants (2.5, 1, 6, 1.3) are not fitted to your memory.
- Delays are ignored. Reviewing a card late, and still remembering it, is not credited as evidence of a stronger memory.
- Six grades are hard to use consistently. Most apps reduce them to three or four buttons.
These issues motivated newer algorithms, most notably FSRS, which models memory stability directly from your review history.
SM-2 and Wordie
Wordie does not implement SM-2. Its recall mode uses a simpler Forgot / Hard / Easy rating that updates a 0–100% mastery score per word, and its main review mechanism is highlighting saved words when they reappear on web pages. If you want strict SM-2 scheduling, export your words to CSV and import them into Anki; see how to import words into Anki.
Sources: Woźniak, P. A. (1990). Optimization of learning (master's thesis, Poznań University of Technology), describing the SM-2 algorithm developed in 1987.
Frequently asked questions
Who created SM-2?
Piotr Woźniak, a Polish researcher, created SM-2 in 1987 for SuperMemo, the program he developed while studying in Poznań.
Does Anki use SM-2?
Anki's classic scheduler is based on SM-2 with modifications, such as four answer buttons and learning steps. Since version 23.10, Anki also offers FSRS as an alternative scheduler.
What is the ease factor in SM-2?
A number assigned to each card, starting at 2.5, that multiplies the previous interval to get the next one. Easy answers raise it slightly; hard ones lower it, with a minimum of 1.3.
Is SM-2 outdated?
SuperMemo itself has moved far beyond it, and FSRS predicts memory better in benchmarks. SM-2 is still simple, transparent and effective enough for many learners.
Related terms
Spaced Repetition
A study method in which you review information at gradually increasing intervals (for example 1 day, 3 days, 1 week, 1 month) so that each review happens just before you would otherwise forget it.
FSRS
an open-source spaced repetition algorithm (Free Spaced Repetition Scheduler) that predicts the probability you will recall each card, using a model of memory difficulty, stability and retrievability fitted to your own review history.
Leitner System
a paper flashcard method in which cards move through a series of boxes: a correct answer promotes a card to a box reviewed less often, while a wrong answer sends it back to the first box.
Forgetting Curve
a graph of how memory for newly learned material declines over time: steeply in the first hours and days, then more slowly, first measured by Hermann Ebbinghaus in 1885.
Active Recall
a study technique in which you deliberately retrieve information from memory, for example saying a word's meaning before flipping the card, instead of passively re-reading or recognizing it.
Articles about SM-2 Algorithm

The Spacing Effect: What 140 Years of Research Says About When to Review
Spacing effect research from Ebbinghaus to Cepeda et al. (2008): what the key studies found about review gaps, and simple rules for spacing vocabulary practice.

The Complete Spaced Repetition Guide for Vocabulary: From First Card to Advanced Settings
A complete spaced repetition guide for vocabulary: intervals that work, daily review load math, Anki and FSRS settings, and how to combine SRS with reading.

How to Import Words into Anki: CSV Setup, Field Mapping, Cloze Cards and Fixes
How to import words into Anki from a CSV file: prepare columns, use File → Import, map fields, pick a note type, make cloze cards and fix encoding problems.
Build your vocabulary while you browse
Wordie saves any word in one click, highlights it on every page you read, and quizzes you with active recall. Free, private, no account.
Add Wordie to Chrome — it's free