Detection and quantitation limits from σ and the calibration slope
analyt_detection_limits
Works out the detection limit and the quantitation limit from sigma and a calibration slope.
- Runs
- On the server
- Level
- Checked against a reference: R's lm and an exact-rational script (Python fractions)
What it is
Returns detection and quantitation limits DL = 3.3σ/S and QL = 10σ/S by ICH Q2(R2) §3.2.3.3, the slope by least squares. Use when σ comes from six or more blanks, a five-point calibration's residual SD (n − 2), or the SD of three or more lines' intercepts. Not for the blank mean + 3 SD read through a standard curve: use `assay_standard_curve`. Not for S/N: use `chrom_signal_to_noise`. sigmaBasis is required; refuses a slope whose 95 % interval includes 0; units are kept as given, one per group. A measurement's unit is required, never assumed: any unit of the kit's table, returned in its canonical spelling; a unit group takes one unit, never converted.
Field: Analytical chemistry.
What it does
You give
sigmaBasis(required): Where σ comes from (ICH Q2(R2) §3.2.3.3): blank-sd (blank responses), residual-sd (the calibration's residual standard error, n − 2), intercept-sd (the SD of several lines' intercepts).calibration: The calibration whose slope S is used (blank-sd and residual-sd). Optional.blankResponses: blank-sd: the blanks' responses, in the calibration's response unit. Optional.lines: intercept-sd: the calibration lines, each in the same units. Optional.
No request is recorded for this tool.
Limits
- Research and quality-control arithmetic on the values you supply, using the formulae of USP ⟨621⟩ (harmonised text, official 1 December 2022) and ICH Q2(R2) (adopted 1 November 2023) as each method writes them out.
- Each reply states whether a number lies inside or outside the range the chapter states; it does not decide whether a method, column or system meets a requirement, and it is not a release or regulatory decision.
- ICH Q2(R2) estimates DL = 3.3σ/S and QL = 10σ/S from a straight-line calibration, to be confirmed with samples at or near the limits.
- The calibration's range is not checked against DL and QL.
- Not Assay's blank-plus-3-SD read-through, and not CLSI EP17's limit of blank.
- 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
- a calibration has fewer than five concentrations (the minimum for linearity in ICH Q2(R2), the floor in every mode).
- fewer than six blanks (Drybench's floor of 13 October 2026).
- fewer than three lines for the standard deviation of intercepts (Drybench's floor).
- every concentration is the same: no slope exists.
Every input, with its units4 inputs
sigmaBasis(required): Where σ comes from (ICH Q2(R2) §3.2.3.3): blank-sd (blank responses), residual-sd (the calibration's residual standard error, n − 2), intercept-sd (the SD of several lines' intercepts).calibration: The calibration whose slope S is used (blank-sd and residual-sd). Optional.blankResponses: blank-sd: the blanks' responses, in the calibration's response unit. Optional.lines: intercept-sd: the calibration lines, each in the same units. Optional.
Every refusal, with its code7 refusals
| Code | When |
|---|---|
TOO_FEW_POINTS | a calibration has fewer than five concentrations (the minimum for linearity in ICH Q2(R2), the floor in every mode). |
TOO_FEW_BLANKS | fewer than six blanks (Drybench's floor of 13 October 2026). |
TOO_FEW_LINES | fewer than three lines for the standard deviation of intercepts (Drybench's floor). |
X_NO_SPREAD | every concentration is the same: no slope exists. |
ZERO_SLOPE | the slope's two-sided t-interval at ninety-five percent, each end widened by a relative one part in a billion of its half-width, includes zero: no response to concentration is demonstrated (a project rule, Drybench's of 10 November 2026; the tolerance, 11 November 2026, is the resolution of the arithmetic, and a slope within it is refused). |
SLOPES_DIFFER_IN_SIGN | intercept-sd: the lines' slopes differ in sign, so no mean slope represents them (Drybench's ruling of 10 November 2026). |
ZERO_SIGMA | σ is at most 1e-12 × the largest |response| it came from: numerically zero (a project rule, Drybench's). |
The calculation
The method's equations, constants and worked example.
Equation 1
| Symbol | Meaning |
|---|---|
DL | detection limit, in the calibration's concentration unit, µg/mL |
σ | standard deviation of the response, in the response unit, mAU·s |
S | slope of the calibration curve, mAU·s/(µg/mL) |
Source 1.
Equation 2
| Symbol | Meaning |
|---|---|
QL | quantitation limit, in the calibration's concentration unit, µg/mL |
σ | standard deviation of the response, mAU·s |
S | slope of the calibration curve, mAU·s/(µg/mL) |
Source 1.
Equation 3
σ = sample standard deviation (n − 1) of the blank responses
| Symbol | Meaning |
|---|---|
σ | sample standard deviation of the blank responses, mAU·s |
n | number of blanks |
Source 1.
Equation 4
σ = √(Σ eᵢ² / (n − 2)), the residual standard error of the calibration line: the standard definition, whose n − 2 divisor ICH Q2(R2)'s 'root mean square error/deviation' does not state
| Symbol | Meaning |
|---|---|
σ | residual standard error of the calibration line, mAU·s |
eᵢ | residuals, mAU·s |
n | number of points |
Source 1.
Equation 5
σ = sample standard deviation of the intercepts of three or more calibration lines
S = the mean of their slopes
| Symbol | Meaning |
|---|---|
σ | sample standard deviation of the intercepts, mAU·s |
S | the mean of the lines' slopes, mAU·s/(µg/mL) |
Source 1.
Equation 6
S, a, σ by ordinary least squares of response on concentration (the suite's least-squares engine, named under "computes through")
no demonstrated response when S ± t(0.975, n − 2) × se(S) × (1 + 1e-9) includes 0, the relative 1e-9 a stated tolerance (Drybench, 11 November 2026)
| Symbol | Meaning |
|---|---|
S | least-squares slope, mAU·s/(µg/mL) |
a | least-squares intercept, mAU·s |
se(S) | standard error of the slope, mAU·s/(µg/mL) |
t | Student t quantile |
Source 1.
| Constant | Value | From |
|---|---|---|
factor for the detection limit, as printed 3.3 | 3.3 | Source 1 |
factor for the quantitation limit, as printed 10 | 10 | Source 1 |
Conventions
- sigmaBasis = blank-sd: σ is the sample standard deviation (n − 1) of six or more blank responses, in the response unit; S is the slope of the stated calibration.
- sigmaBasis = residual-sd: σ is the residual standard error √(SSE/(n − 2)) of the calibration line, in the response unit; S is its slope.
- sigmaBasis = intercept-sd: σ is the sample standard deviation of the intercepts of three or more calibration lines, in the response unit; S is the mean of their slopes.
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 detection-limits@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
- sigmaBasis = blank-sd
- blankResponses[0] = 0.01 mAU·s
- blankResponses[1] = 0.012 mAU·s
- blankResponses[2] = 0.009 mAU·s
- blankResponses[3] = 0.011 mAU·s
- blankResponses[4] = 0.013 mAU·s
- blankResponses[5] = 0.01 mAU·s
- calibration.concentration[0] = 1 µg/mL
- calibration.concentration[1] = 2 µg/mL
- calibration.concentration[2] = 3 µg/mL
- calibration.concentration[3] = 4 µg/mL
- calibration.concentration[4] = 5 µg/mL
- calibration.response[0] = 0.051 mAU·s
- calibration.response[1] = 0.101 mAU·s
- calibration.response[2] = 0.151 mAU·s
- calibration.response[3] = 0.201 mAU·s
- calibration.response[4] = 0.251 mAU·s
Steps
- sigma = 0.0014719601 mAU·s, from blankResponses; by equation 3; gives sigma.
- S = 0.05 (mAU·s)/(µg/mL), from calibration; by equation 6; gives slope.
- DL = 0.09714937 µg/mL, from sigma, S; by equation 1; gives detectionLimit.
- QL = 0.29439203 µg/mL, from sigma, S; by equation 2; gives quantitationLimit.
The working, as the case writes it:
blanks: mean 0.0108333
squared deviations sum 10.833e-6
s^2 = 2.1667e-6
s = 0.00147196
slope of 0.051 ... 0.251 on 1 ... 5 is 0.05
DL = 3.3 x 0.00147196/0.05 = 0.097149
QL = 0.29439 ug/mL.
Answer
sigma = 0.0014719601 mAU·s
slope = 0.05 (mAU·s)/(µg/mL)
detectionLimit = 0.09714937 µg/mL
quantitationLimit = 0.29439203 µg/mL
Where these values came from: an outside program, R lm and confint (base stats) R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); ICH Q2(R2) Validation of Analytical Procedures, adopted 1 November 2023, 3.2.3.3 (DL = 3.3 sigma/S, QL = 10 sigma/S); 'Based on the Standard Deviation of the Blank'.
At build the tool returned this answer within the tolerance the file states: relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, sources, directions, units and counts exact.
Sources
ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023
Used for: Detection and quantitation limits from the standard deviation of the response and the slope (ICH Q2(R2)). At: section §3.2.3.3 Based on the Standard Deviation of a Linear Response and a Slope; section §3.2.3.3; section §3.2.3.3, Based on the Standard Deviation of the Blank; section §3.2.3.3, Based on the Calibration Curve ('root mean square error/deviation'); section §3.2.3.3, Based on the Calibration Curve ('standard deviation of y-intercepts of the regression lines'); section §3.2.2.1 (a regression line by the method of least squares; a minimum of five concentrations).
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
An outside program, R lm and confint (base stats), R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, exact rationals for every sum; t(0.975, n - 2) at 60 digits in mpmath; rounded once; not an outside program.
- Cases
No case set is linked to this version.
- Not checked
The t quantile's tails and large degrees of freedom as changed by two corrections to the shared t quantile, recorded among the known issues (a confidence level whose tail is below 1e-4, or df at or above 1e4): no case of this method's fixtures reaches them; the routine-level rows in stored reference values and stored reference values do; Whether the calibration's range lies near the limits (S-ICHQ2 asks it; the tool cannot see it); weighted calibrations (the shared weighted routine is not used at 1.0.0); a stated slope (needs a response-per-concentration input); confirmation samples near the limits; CLSI EP17's limit of blank and Assay's blank + 3 SD read-through (different methods). Precision just above the zero-sigma floor: there σ comes from near-identical responses and carries about nine significant digits in floating point, so σ, DL and QL hold to about one part in a hundred million, measured against exact arithmetic, not to the full double precision of the reporting rule.
What was not checked, in fullfrom the method records
- The t quantile's tails and large degrees of freedom as changed by two corrections to the shared t quantile, recorded among the known issues (a confidence level whose tail is below 1e-4, or df at or above 1e4): no case of this method's fixtures reaches them; the routine-level rows in stored reference values and stored reference values do; Whether the calibration's range lies near the limits (S-ICHQ2 asks it; the tool cannot see it); weighted calibrations (the shared weighted routine is not used at 1.0.0); a stated slope (needs a response-per-concentration input); confirmation samples near the limits; CLSI EP17's limit of blank and Assay's blank + 3 SD read-through (different methods).
- Precision just above the zero-sigma floor: there σ comes from near-identical responses and carries about nine significant digits in floating point, so σ, DL and QL hold to about one part in a hundred million, measured against exact arithmetic, not to the full double precision of the reporting rule.
- A slope whose unit is outside the tool's UCUM map, such as (mAU·s)/(mg/mL), is served without a UCUM code (units.codes says none): the tool's limit, not a number.
Changes to its methods0 changes
No change is logged for these method versions.