TCID50 per mL from positive wells across dilutions
virus_tcid50
Works out the 50 percent endpoint and TCID50 per mL of a dilution series.
- Runs
- On the server
- Level
- Checked against a reference: an exact-arithmetic script of this project, in rational arithmetic, checked against the worked examples printed in both secondary sources
What it is
Returns the 50 percent endpoint and TCID50 per mL of a dilution series by Reed–Muench or Spearman–Kärber, as named. Use when wells or tubes were scored positive or negative at each of equally spaced dilutions. Not for plaque or focus counts, which are counted rather than scored positive or negative. Not for a dose per cell from a titre: use `calc_dose_plan`. Method required; refuses when no dilution brackets 50 percent; inoculum in mL or µL; no interval.
What it does
You give
method(required): The published method: 'reed-muench' or 'spearman-karber'. Required, never defaulted.firstDilution(required): log10 of the least dilute dilution tested, e.g. -5 for 10^-5. Must be at most 0 log10(1).dilutionFactor(required): The fold between successive dilutions, e.g. 10. Must be above 1.unitsPerDilution(required): Wells (or animals, or tubes) inoculated at each dilution; the same at every dilution. Must be at least 1.positive(required): Units positive at each dilution, least dilute first.inoculum(required): Volume inoculated per unit. Must be above 0 mL.
No request is recorded for this tool.
Limits
- Research arithmetic on counts and records the caller read; not for diagnosis, treatment decisions or product release, and no susceptibility, sterility or safety interpretation.
- Endpoint by the named method on the wells given; when the most dilute dilution still has positives, the Spearman–Kärber value is a lower bound on the titre the full series would give; the Reed–Muench endpoint likewise assumes no positives beyond the most dilute dilution tested, and the direction of that error is not established for Reed–Muench; no interval is available; no plaque-forming-unit equivalent; method from Ramakrishnan 2016 and Lei et al.
- 2020; Reed and Muench 1938 and Kärber 1931 not read.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- Reed–Muench: no two adjacent dilutions have cumulative proportions that straddle the half response, so the endpoint cannot be interpolated between them.
- Spearman–Kärber: no dilution has every unit positive, which the method needs as its starting dilution.
Every input, with its units6 inputs
method(required): The published method: 'reed-muench' or 'spearman-karber'. Required, never defaulted.firstDilution(required): log10 of the least dilute dilution tested, e.g. -5 for 10^-5. Must be at most 0 log10(1).dilutionFactor(required): The fold between successive dilutions, e.g. 10. Must be above 1.unitsPerDilution(required): Wells (or animals, or tubes) inoculated at each dilution; the same at every dilution. Must be at least 1.positive(required): Units positive at each dilution, least dilute first.inoculum(required): Volume inoculated per unit. Must be above 0 mL.
Every refusal, with its code2 refusals
| Code | When |
|---|---|
NO_BRACKET | Reed–Muench: no two adjacent dilutions have cumulative proportions that straddle the half response, so the endpoint cannot be interpolated between them. |
NO_FULL_RESPONSE | Spearman–Kärber: no dilution has every unit positive, which the method needs as its starting dilution. |
The calculation
The method's equations, constants and worked example.
Equation 1
CP_i = Σ_{j≥i} r_j (from the most dilute upward)
CN_i = Σ_{j≤i} (n − r_j) (from the least dilute downward)
| Symbol | Meaning |
|---|---|
r_j | units positive at dilution j |
n | units inoculated at each dilution, the same at every dilution |
CP_i | cumulative positives at dilution i, summed from the most dilute upward |
CN_i | cumulative negatives at dilution i, summed from the least dilute downward |
p_i | cumulative proportion positive at dilution i |
Source 1.
Equation 2
For adjacent dilutions a, b with p_a > 1/2 > p_b: PD = (p_a − 1/2)/(p_a − p_b)
log10 endpoint = log10 d_a + PD (log10 d_b − log10 d_a)
a dilution with p_i = 1/2 exactly is the endpoint, and where two dilutions sit exactly at one half (possible only in a non-monotone series, which is then listed) the less dilute of the two is the endpoint, the rule of this method, which gives the lower titre
| Symbol | Meaning |
|---|---|
PD | the proportionate distance between the two bracketing dilutions |
d_a | the bracketing dilution whose cumulative proportion is above one half |
d_b | the bracketing dilution whose cumulative proportion is below one half |
p_a | cumulative proportion positive at dilution a |
p_b | cumulative proportion positive at dilution b |
endpoint | log10 of the interpolated 50 percent endpoint dilution, log10(1) |
Source 2.
Equation 3
log10 endpoint = L0 + δ/2 − δ Σ_{i≥i0} r_i/n, L0 the log10 of the most dilute dilution with every unit positive, δ = log10 of the dilution factor
| Symbol | Meaning |
|---|---|
L0 | log10 of the most dilute dilution at which every unit is positive, log10(1) |
δ | the log10 step between successive dilutions, which is log10 of the dilution factor, log10(1) |
i0 | the position of the most dilute dilution at which every unit is positive, where the sum starts |
r_i | units positive at dilution i |
n | units inoculated at each dilution |
Source 1.
Equation 4
log10 titre = −(log10 endpoint) − log10 V
titre = 10^(log10 titre)
| Symbol | Meaning |
|---|---|
V | the volume inoculated into each unit, mL |
endpoint | log10 of the 50 percent endpoint dilution, from the method chosen, log10(1) |
log10 titre | log10 of the titre, log10(TCID50/mL) |
titre | the 50 percent infectious dose per millilitre of the undiluted stock, TCID50/mL |
Source 2.
Conventions
- SERIES_SPACING = equally spaced from the stated first dilution by the stated factor, with the same number of units inoculated at every dilution: Fixed by the method; not an argument. The log10 of each dilution is the first dilution's log10 less its position in the series multiplied by the log10 of the dilution factor, the first dilution counting as position zero. The caller states the first dilution and the factor; how the series follows from them is the method's, and an unequally spaced series or an unequal number of units per dilution is not accepted.
- SERIES_END = reached-zero, positives-at-most-dilute: Fixed by the method; not an argument. The series is labelled reached-zero where no unit was positive at the most dilute dilution tested, and positives-at-most-dilute where some unit still was, in which case the endpoint lies beyond the series tested.
- NON_MONOTONE = the positions, counting from zero at the least dilute as SERIES_SPACING does, of any dilution with more positive units than the one before it: Fixed by the method; not an argument. Positive units are expected to fall as the dilution rises, and any position where they rise instead is listed, because neither method's cumulative or summed form assumes a monotone series and a rise may mean a plating or scoring error rather than a property of the stock.
- BOUND = lower: Fixed by the method; not an argument. Given only under the Spearman-Karber mode when some unit was positive at the most dilute dilution tested: the summed form then stops at the end of the series, so the endpoint it gives is a lower bound on the titre rather than an estimate of it.
- method = reed-muench: The log10 dilution at which half the inoculated units would be infected, interpolated between the two adjacent dilutions whose cumulative proportions bracket one half, the cumulative proportions formed as Reed and Muench direct; in log10 of a dilution.
- method = spearman-karber: The log10 dilution at which half the inoculated units would be infected, as the mean of the log10 dilutions at which the units change from infected to not, summed over the series from the most dilute fully infected dilution; in log10 of a dilution.
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of tcid50-endpoint@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- method = reed-muench
- firstDilution = -5 log10(1)
- dilutionFactor = 10
- unitsPerDilution = 5
- positive[0] = 5
- positive[1] = 3
- positive[2] = 1
- inoculum = 0.1 mL
Steps
- p-above = 0.6666667, from positive; by equation 1.
- p-below = 0.1428571, from positive; by equation 1.
- pd = 0.3181818, from p-above, p-below; by equation 2.
- endpoint = -6.318182 log10(1), from firstDilution, dilutionFactor, pd; by equation 2; gives log10EndpointDilution.
- log-titre = 7.318182 log10(TCID50/mL), from endpoint, inoculum; by equation 4; gives log10Titre.
- titre = 2.0805675e7 TCID50/mL, from log-titre; by equation 4; gives titre.
The working, as the case writes it:
Cumulative at 10⁻⁶: positive 4, negative 2, so 2/3
at 10⁻⁷: 1 and 6, so 1/7. PD = (2/3 − 1/2)/(2/3 − 1/7) = 7/22 = 0.318
endpoint −6.31818
titre 10^6.31818/0.1 mL = 10^7.31818 = 2.08 × 10⁷ TCID50/mL, as printed.
Answer
log10EndpointDilution = -6.318182 log10(1)
log10Titre = 7.318182 log10(TCID50/mL)
titre = 2.0805675e7 TCID50/mL
Where these values came from: our own exact-arithmetic script and a hand-worked case; Lei et al. 2020, Virol Sin 36:141, case 1 in the text and Table 2.
At build the tool returned this answer within the tolerance the file states: log10 values absolute 1e-12 against exact arithmetic; the titre relative 1e-12; statuses, codes, units and listed dilutions exact.
Sources
Ramakrishnan MA. Determination of 50% endpoint titer using a simple formula. World J Virol 2016;5(2):85-86
Used for: The 50 percent tissue-culture infectious dose by Reed–Muench or Spearman–Kärber. At: table 1 and 2, section the two formulas as the letter states them.
Read in full, 14 November 2026Lei C, Yang J, Hu J, Sun X. On the calculation of TCID50 for quantitation of virus infectivity. Virol Sin 2021;36:141-144
Used for: The 50 percent tissue-culture infectious dose by Reed–Muench or Spearman–Kärber. At: equation 1 to 3, section the worked case in the text.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
Reed and Muench 1938 and Kärber 1931 not read; whether the secondary sources' statements match the primaries is not checked; Lei et al.'s Table 1 (an image) was not read. This passes on two secondary sources that state the full equations and agree (a narrow exception under the Drybench ruling of 10 November 2026); the method is served, not sold, until the primaries are read.
What was not checked, in fullfrom the method records
- Reed and Muench 1938 and Kärber 1931 not read; whether the secondary sources' statements match the primaries is not checked; Lei et al.'s Table 1 (an image) was not read.
- This passes on two secondary sources that state the full equations and agree (a narrow exception under the Drybench ruling of 10 November 2026); the method is served, not sold, until the primaries are read.
- Unequal spacing and unequal units per dilution are excluded by the input shape, not handled; a positive count above the units per dilution is the kit's OUT_OF_RANGE.
- With a non-monotone series the Spearman–Kärber sum starts at the most dilute fully positive dilution, so a partial dilution less dilute than it is not used, and no source read covers non-monotone data.
Changes to its methods0 changes
No change is logged for these method versions.