Calibration curve calculator

A linear calibration from your standards — slope and intercept with their standard errors, the residual plot that shows what r² hides, and an unknown's concentration read back off the line.

The formula

m = Σ(xᵢ − x̄)(yᵢ − ȳ) / Σ(xᵢ − x̄)² b = ȳ − m x̄ S(y/x) = √( Σ(yᵢ − ŷᵢ)² / (n − 2) ) x̂ = (y − b) / m

m
slope of the calibration line
b
y-intercept, pinned to zero for a forced fit
S(y/x)
residual standard deviation — the scatter of the standards about the line
concentration read back from an unknown's response
fraction of the variation the line explains — not a test of linearity

Worked example

Five standards and one unknown

Five standards at 2.00, 5.00, 10.00, 20.00 and 50.00 µg/mL give peak-area ratios of 0.1140, 0.2695, 0.5301, 1.0462 and 2.6105. The least-squares line through them has a slope of 0.05201 ± 5.163e-5 and an intercept of 0.009124 ± 0.001271, with S(y/x) = 0.002010 and r² = 0.999997. Every figure is shown to four significant figures except r², which is fixed at six — at four, a good calibration reads 1.000 and the pitfall below becomes unarguable.

An unknown reading 0.4521 therefore sits at (0.4521 − 0.009124) / 0.05201 = 8.517 µg/mL. Note that this is inside the calibrated range — between the 5.00 and 10.00 µg/mL standards — which is the only place the line is evidence of anything.

Common pitfalls

Turn this into a validation study

The validation suite runs the same statistics, guided section by section, and ends in an auditor-ready PDF report. Sign in free and start one in minutes.

Related calculators