Pharmaceutical Analysis
Calibration Curve Calculator
Least-squares regression of absorbance on concentration — slope, intercept, R² and the concentration of an unknown, with every step shown.
Experiment
Printed on the lab record.
Used for the standards and for the unknown's result.
Standards
Standard # | Concentration (X) | Absorbance (Y)
2–10 standards.
| # | Concentration (X)(µg/mL) | Absorbance (Y)(AU) | Remove |
|---|---|---|---|
| Std 1 | |||
| Std 2 | |||
| Std 3 | |||
| Std 4 | |||
| Std 5 |
Load an example data set (you can edit every value)
Unknown sample
Optional — leave blank to fit the curve only.
Laboratory calculation card
Enter every standard's concentration and absorbance to fit the curve.
m = [nΣxy − (Σx)(Σy)] / [nΣx² − (Σx)²]
c = [Σy − mΣx] / n
Y = mX + c → X = (Y − c) / m
R² = 1 − [Σ(y − ŷ)² / Σ(y − ȳ)²] = 1 − SSE / SST
ŷ is the absorbance the line predicts at each standard's concentration; ȳ is the mean absorbance. SSE measures how far the points lie from the line, SST how far they lie from their mean.
Worked example: five UV standards and one unknown
Illustrative values. Five standard solutions of a drug (4–20 µg/mL) are read at the drug's λmax against a solvent blank. A tablet extract, diluted to fall inside the range, reads 0.512 AU. Enter the five standards, unit µg/mL, and the unknown absorbance.
- Concentrations X (µg/mL)
- 4, 8, 12, 16, 20
- Absorbances Y (AU)
- 0.158, 0.321, 0.474, 0.645, 0.790
- Number of standards (n)
- 5
- Unknown absorbance
- 0.512 AU
Sums
ΣX = 60 ΣY = 2.388 ΣXY = 35.008 ΣX² = 880
Slope m = [nΣxy − (Σx)(Σy)] / [nΣx² − (Σx)²]
m = (5 × 35.008 − 60 × 2.388) / (5 × 880 − 60²) = (175.04 − 143.28) / (4,400 − 3,600) = 31.76 / 800 = 0.0397 AU per µg/mL
Intercept c = [Σy − mΣx] / n
c = (2.388 − 0.0397 × 60) / 5 = (2.388 − 2.382) / 5 = 0.0012 AU
Goodness of fit R² = 1 − SSE / SST
R² = 1 − (0.0001228 / 0.252297) = 0.999513
Unknown: X = (Y − c) / m
X = (0.512 − 0.0012) / 0.0397 = 0.5108 / 0.0397 = 12.8665 µg/mL
Y = 0.0397X + 0.0012 · R² = 0.9995 · unknown = 12.87 µg/mL
12.87 µg/mL is the concentration in the cuvette, inside the 4–20 µg/mL range of the standards, so it is an interpolation. To report the drug content of the tablet you still multiply by every dilution made from the tablet to the cuvette. A high R² is necessary but not sufficient: look at the graph for points that curve away from the line.
Common mistakes
Assumptions and limitations
Keep learning
References
- Harris DC, Lucy CA. Quantitative Chemical Analysis. 10th ed. New York: W. H. Freeman (Macmillan Learning); 2019.
- International Council for Harmonisation. ICH Q2(R2): Validation of Analytical Procedures. Step 4, adopted 1 November 2023. Source
- United States Pharmacopeia–National Formulary. General Chapter <1225> Validation of Compendial Procedures. Rockville (MD): USP.
Common questions
Your laboratory manual or monograph sets the criterion — many UV assay practicals ask for R² of at least 0.99. R² alone does not prove linearity: always look at whether the points curve away from the line.
Only if you actually measured it as a standard. Adding a (0, 0) point you did not measure pulls the line through the origin artificially. Enter the readings you recorded.
Its absorbance is below the intercept c. The sample is too dilute for this curve, the blank was not zeroed, or the reading is wrong.
Yes — replicate standards are fitted as separate points. The calculator only stops if every concentration is the same, because the slope is then undefined.
Prepared by the PharmaWallah student team. Verify results with your textbook or instructor. Report an error · Editorial policy