Learn

Standard curves: linear regression and reading off unknowns

Many measurements are turned into concentrations with a standard curve: known standards are measured, a line is fitted, and the unknown is read off the line. The arithmetic is a least-squares fit and one rearranged equation.

Fitting the line

y = m × x + b

m = Σ(x − x̄)(y − ȳ) ÷ Σ(x − x̄)²

b = ȳ − m × x̄

x is the known concentration, y the reading, m the slope and b the intercept; x̄ and ȳ are the means. Spreadsheets do this with SLOPE and INTERCEPT, or a linear trendline.

Worked example

Standard (mg/mL)Reading
00.002
0.250.152
0.50.298
10.604
1.50.895
21.204

The fit gives m = 0.5999 per mg/mL and b = 0.0009, with R² = 0.9999.

Reading off an unknown

x = (y − b) ÷ m

A sample that reads 0.45 is (0.45 − 0.0009) ÷ 0.5999 = 0.749 mg/mL.

Original concentration = value from the curve × dilution factor

If the sample was diluted 1 in 10 before measuring, the original concentration is 7.49 mg/mL. See dilutions explained.

What R² does and does not tell you

R² is the fraction of the variation in the readings that the line explains. Values close to 1 mean the points lie close to the line. A high R² does not show that the line is the right shape: a curve that bends at the top can still give R² above 0.99.

Only read unknowns within the range of the standards. Outside it, dilute or concentrate the sample and measure again.

Where the calculation goes wrong

  • Swapping x and y, which gives the wrong slope when you solve for the unknown.
  • Extrapolating beyond the highest standard.
  • Forgetting to multiply by the sample’s dilution factor.
  • Forcing the line through zero when the blank reading is not zero.

Common questions

How do I calculate an unknown from a standard curve?
Fit y = mx + b to the standards, then x = (y − b) ÷ m, and multiply by any dilution of the sample.
What is a good R²?
Close to 1, often above 0.99 for linear assays, but always also check that the points follow a straight line.
Should the line go through zero?
Only if the blank truly reads zero. Usually it is better to fit the intercept than to force it to zero.
BioCalculator

Calculate with your own values in BioCalculator

Put it into practice: the BioCalculator app has these calculators and recipes, with every unit and the formula shown with your numbers.

In the app

  • Every unit from M to aM, plus % w/v and % v/v
  • Calculate in either direction, for example the volume from a mass
  • The formula with your numbers filled in, ready to copy into your notebook
  • All 23 calculators on this site, plus 27 buffer and 44 stock solution recipes

See the store for pricing and system requirements.

iOS app screenshot