The one idea
Two profiles are similar when they have the same shape, not when they agree at one time point. The similarity factor f2 makes that comparison a number, but only under conditions on variability and time points that are easy to forget.
The Apparatus Is Part of the Method brought the measurement under control. The most common question asked of it after approval is comparative: after a site transfer or a process change, is the new batch’s release the same as the clinical batch’s?

f1 and f2
For n time points with reference mean Rₜ and test mean Tₜ [1]:
f1 = 100 × Σ|Rₜ − Tₜ| / ΣRₜ (difference factor; 0–15 suggests similar)
f2 = 50 × log₁₀ { 100 / √[1 + (1/n) Σ(Rₜ − Tₜ)²] } (similarity factor; 50–100 = similar)
f2 = 100 when the profiles are identical, and f2 = 50 corresponds to an average difference of 10 percentage points at each time point. Because the differences are squared, one large early gap costs more than several small ones.
The conditions that make f2 valid
The US Food and Drug Administration (FDA) guidance that introduced f2 attaches conditions to it [1]:
- At least 12 units of each product.
- The same time points for both, with at least three.
- Only one time point after both reach 85%; including the plateau inflates f2 with points where everything has dissolved.
- Coefficient of variation of no more than 20% at the earlier points and no more than 10% at the later ones.
- When both products release 85% or more within 15 minutes, the profiles are considered similar without an f2 calculation.
Worked example: three test batches
Compound X — constructed teaching example. Twelve tablets of each, pH 6.8 phosphate, paddle at 50 rpm.
| Time | Reference | T1 site transfer | T2 slower start | T3 faster |
|---|---|---|---|---|
| 5 min | 30.3 | 27.9 | 8.2 | 49.7 |
| 10 min | 55.5 | 53.1 | 38.2 | 78.1 |
| 15 min | 71.6 | 69.6 | 65.2 | 90.8 |
| 20 min | 81.8 | 80.2 | 82.4 | 96.6 |
| 30 min | 92.5 | 91.8 | 96.2 | 100.3 |
| 45 min | 98.1 | 98.0 | 99.6 | 101.2 |
The reference does not reach 85% within 15 minutes, so an f2 comparison is needed. Both reach 85% first at 30 minutes, so the points used are 5–30 minutes and the 45-minute point is excluded.
| Test | f1 | f2 | Coefficient of variation (CV), first point | CV, later points (max) | Bootstrap f2, 5th percentile |
|---|---|---|---|---|---|
| T1 site transfer | 2.7 | 83.4 | 8.7% | 7.1% | 68.4 |
| T2 slower start | 15.1 | 44.3 | 33.5% | 26.9% | 40.3 |
| T3 faster | 25.3 | 37.8 | 6.0% | 4.2% | 35.5 |
- T1 is similar by any measure, and meets the variability conditions.
- T3 is faster throughout and not similar. Faster is not automatically better; for some products it is a safety question, and it is always a change to explain.
- T2 agrees with the reference from 20 minutes on, yet its early release is far slower, and its unit-to-unit variability breaks both CV conditions. A mean-based f2 is not valid for T2. Its f2 is below 50 anyway, but if it had been 52, the mean would have been the wrong basis for calling it similar.
When the mean can’t decide: the bootstrap
When variability is high, the f2 from two means is itself uncertain. A bootstrap resamples the 12 units of each product with replacement, recomputes f2 thousands of times, and reports a lower percentile [2]. Here, 2000 resamples give a 5th-percentile f2 of 68.4 for T1, still comfortably above 50, and 40.3 for T2. A batch whose bootstrap lower bound falls below 50 has not demonstrated similarity, whatever its mean f2.
Note the random seed is fixed in the script, so the bootstrap reproduces exactly. Change the seed and the percentiles move slightly; that movement is the Monte Carlo uncertainty of the bootstrap itself.
The running proof
Before comparing profiles, confirm both sets were run on the same apparatus type, medium and speed, with the same filter and calculation, and that both meet system and vessel checks. f2 compares profiles; it cannot detect that the two were measured differently.
Where the analyst sits
f2 is easy to compute and easy to misuse: wrong time points, plateau points included, variability ignored. The analyst who checks the conditions before reporting the number, and says when a bootstrap is needed, protects the comparison from becoming a formality.
For discussion
- Why does including the 45-minute point inflate f2?
- T2 and the reference agree from 20 minutes onward. Why does f2 still say they differ?
- Is a faster profile (T3) a problem for an immediate-release tablet? When would it be?
- Why does high unit-to-unit variability make a mean-based f2 unreliable?
- What would you conclude if T1’s bootstrap lower bound were 48?
Bridge to discrimination
f2 compares batches you already have. Discriminating by Design makes batches deliberately wrong and uses f2 to ask whether the method can tell.
Data and sources
Mean profiles, unit data, f1, f2 and bootstrap, reproduction script, requirements. Figure: 3840 × 2160 pixels, computed from the unit data.
[1] FDA, Dissolution Testing of Immediate Release Solid Oral Dosage Forms, Guidance for Industry, 1997; J. W. Moore and H. H. Flanner, “Mathematical comparison of dissolution profiles,” Pharmaceutical Technology 20 (1996) 64–74.
[2] V. P. Shah, Y. Tsong, P. Sathe and J.-P. Liu, “In vitro dissolution profile comparison — statistics and analysis of the similarity factor, f2,” Pharmaceutical Research 15 (1998) 889–896.
The batches, unit results and bootstrap are constructed teaching examples, not product data.