qHNMR purity (100 % method or internal calibrant)
analyt_qnmr_purity
Works out a qHNMR purity from integrals: relative by the 100 % method, or against an internal calibrant.
- Runs
- On the server
- Level
- Checked against a reference: Pauli et al. 2014 SI S2 at printed precision, and the full check of 14 November 2026 (second implementation, edge cases)
What it is
Returns a qHNMR purity from integrals (Pauli et al. 2014): relative by the 100 % method, or against an internal calibrant. Use when integrals, proton counts, molar masses and, for a calibrant, the weighings and its purity are known. It does not read spectra or split overlapped integrals. Not for a molar mass: use `calc_formula_mass`.
Field: Analytical chemistry.
What it does
You give
method(required): normalisation: the 100 % method, relative to target and impurities. internal-calibrant: needs targetSignals, calibrantSignals, both molar masses, both masses and calibrantPurity. None is assumed.target: For normalisation; molarMass is required. Optional.impurities: For normalisation: every impurity detected, each with its molar mass; [] if none, never omitted. Optional.targetSignals: Purest signals; integral per proton, averaged. Optional.calibrantSignals: Purest signals; integral per proton, averaged. Optional.targetMolarMass: Average molar mass, not monoisotopic. Must be above 0 g/mol. Optional.
and 4 more, listed below
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.
- Arithmetic of the Pauli et al.
- 2014 qHNMR purity equations on integrals you supply.
- It does not read spectra, choose signals, split overlapped integrals or check that the acquisition was quantitative.
- The 100 % method gives purity relative to the components you list.
- Water, inorganic and NMR-silent material, and any impurity you do not list are not counted, so it can overstate absolute content.
- The internal-calibrant result depends on the weighings, the calibrant's stated purity and the proton counts; no uncertainty is calculated.
- Molar masses are average molar masses from standard atomic weights.
- For research and education; not a release test.
- 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 method's required inputs are missing: the 100 % method's target or impurities list, a molar mass, or the calibrant's mass, purity or signals (none is assumed).
- two impurities share a label.
- the target's or calibrant's per-proton integral is not above 0, or an impurity's is below 0: decided on each component's mean per-proton integral, not on each signal; a single negative signal integral is accepted if the mean is in range.
Every input, with its units10 inputs
method(required): normalisation: the 100 % method, relative to target and impurities. internal-calibrant: needs targetSignals, calibrantSignals, both molar masses, both masses and calibrantPurity. None is assumed.target: For normalisation; molarMass is required. Optional.impurities: For normalisation: every impurity detected, each with its molar mass; [] if none, never omitted. Optional.targetSignals: Purest signals; integral per proton, averaged. Optional.calibrantSignals: Purest signals; integral per proton, averaged. Optional.targetMolarMass: Average molar mass, not monoisotopic. Must be above 0 g/mol. Optional.calibrantMolarMass: Average molar mass, not monoisotopic. Must be above 0 g/mol. Optional.calibrantMass: Weighed calibrant in the tube. Must be above 0 mg. Optional.sampleMass: Weighed sample. Must be above 0 mg. Optional.calibrantPurity: As documented. Must be above 0 % and at most 100 %. Optional.
Every refusal, with its code3 refusals
| Code | When |
|---|---|
MISSING_ARGUMENT | a method's required inputs are missing: the 100 % method's target or impurities list, a molar mass, or the calibrant's mass, purity or signals (none is assumed). |
INVALID_STRING | two impurities share a label. |
OUT_OF_RANGE | the target's or calibrant's per-proton integral is not above 0, or an impurity's is below 0: decided on each component's mean per-proton integral, not on each signal; a single negative signal integral is accepted if the mean is in range. |
The calculation
The method's equations, constants and worked example.
Equation 1
nInt = mean over a component's signals of (integral / protons)
| Symbol | Meaning |
|---|---|
nInt | per-proton integral |
integral | a signal's integral, normalised |
protons | the signal's proton count |
Source 1.
Equation 2
P = nInt_t·MW_t / (nInt_t·MW_t + Σ nInt_u·MW_u) × 100
each listed impurity's share = nInt_u·MW_u / (nInt_t·MW_t + Σ nInt_u·MW_u) × 100
| Symbol | Meaning |
|---|---|
P | relative purity, % |
nInt | per-proton integral (t the target, u each listed impurity) |
MW | average molar mass from standard atomic weights (Drybench's ruling of 10 November 2026); SI S2 step 6a's 'use the exact masses' is read as precise molar masses, since the SI's own examples are average values (94.13 g/mol for the calibrant and 290.27 for the target, as the SI prints them; reading them as average masses is this project's judgement, and the compound identities are inferred), g/mol |
Source 1.
Equation 3
P = (nInt_t·MW_t·m_IC) / (nInt_IC·MW_IC·m_s) · P_IC
| Symbol | Meaning |
|---|---|
P | purity by mass in the sample, % |
nInt | per-proton integral (t the target, IC the calibrant) |
MW | average molar mass from standard atomic weights (Drybench's ruling of 10 November 2026); SI S2 step 6a's 'use the exact masses' is read as precise molar masses, since the SI's own examples are average values (94.13 g/mol for the calibrant and 290.27 for the target, as the SI prints them; reading them as average masses is this project's judgement, and the compound identities are inferred), g/mol |
m_IC | calibrant mass, mg |
m_s | sample mass, mg |
P_IC | the calibrant's stated purity, % |
Source 1.
Equation 4
targetMass m_t = (P/100)·m_s, in the sample-mass unit
| Symbol | Meaning |
|---|---|
m_t | mass of the target in the sample, mg |
m_s | the sample's weighed mass, mg |
Equation 5
molarRatioCalibrantToTarget = nInt_IC / nInt_t: the ratio in the tube from the integrals, not corrected for P_IC
| Symbol | Meaning |
|---|---|
nInt_IC, nInt_t | the calibrant's and the target's mean per-proton integrals |
Conventions
- method = normalisation: The 100 % method: a purity relative to the components listed, by mass, %; NMR-silent material and unlisted impurities are not counted.
- method = internal-calibrant: Absolute purity against a weighed internal calibrant of stated purity, by mass in the sample, %.
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 qnmr-purity@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 = normalisation
- target.signals[0].integral = 100
- target.signals[0].protons = 1
- target.molarMass = 200 g/mol
- impurities[0].label = a
- impurities[0].signals[0].integral = 5
- impurities[0].signals[0].protons = 1
- impurities[0].molarMass = 100 g/mol
- impurities[1].label = b
- impurities[1].signals[0].integral = 4
- impurities[1].signals[0].protons = 2
- impurities[1].molarMass = 300 g/mol
Steps
- nb = 2, from impurities[1].signals; by equation 1; gives impurities[1].perProtonMean.
- P = 94.78673 %, from target, impurities[0], nb, impurities[1].molarMass; by equation 2; gives relativePurity.
- share_a = 2.3696682 %, from target, impurities[0], nb, impurities[1].molarMass; by equation 2; gives impurities[0].share.
The working, as the case writes it:
Impurity b: 4/2 = 2 per proton. 20000 + 500 + 600 = 21100
P = 20000/21100 = 94.787 %
a 2.370 %, b 2.844 %.
Answer
impurities[1].perProtonMean = 2
relativePurity = 94.78673 %
impurities[0].share = 2.3696682 %
Where these values came from: our own exact-arithmetic script and a hand-worked case; Pauli GF, Chen S-N, Simmler C, et al. Importance of purity evaluation and the potential of quantitative 1H NMR as a purity assay. J Med Chem 2014;57:9220-9231, with its Supporting Information; exact rationals.
At build the tool returned this answer within the tolerance the file states: relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, labels, flags and units exact.
Sources
Pauli GF, Chen S-N, Simmler C, et al. Importance of purity evaluation and the potential of quantitative 1H NMR as a purity assay. J Med Chem 2014;57(22):9220–9231, with its Supporting Information (jm500734a_si_001.pdf)
Used for: qHNMR purity by the 100 % method or an internal calibrant (Pauli et al. 2014). At: section Relative Quantification (Normalization, 100% Method); Absolute Quantification; Supporting Information S2 (step 10) and S3 (step 5).
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
Spectrum processing, signal choice and the splitting of overlapped integrals; whether acquisition was quantitative; external calibration and ECIC (not offered); USP ⟨761⟩ (not read); uncertainty.
Changes to its methods0 changes
No change is logged for these method versions.