Calibration Curve Calculator

Fit a linear regression line through standard concentration/response points, then solve an unknown sample's concentration from its measured response.

📉 Calibration Curve Calculator
Unknown Concentration
—
Slope (m)
—
Intercept (b)
—
R²
—

📉 What is a Calibration Curve?

A calibration curve, also called a standard curve, is a plot of instrument response against known concentration built from a series of prepared standard solutions. In most analytical methods, that response varies linearly with concentration over a working range, so fitting a straight line, y = mx + b, through the standard points gives a simple equation that converts any future measured response back into a concentration.

Calibration curves are used constantly across analytical chemistry and biology labs: quantifying protein concentration from a Bradford or BCA assay's absorbance reading, converting a spectrophotometer's absorbance into a drug or dye concentration, translating an HPLC or GC peak area into an analyte concentration, and quantifying an unknown ELISA sample from a plate reader's optical density.

A common misconception is that any two standard points are enough. Two points always produce a mathematically perfect line (R2 = 1), which tells you nothing about whether the true relationship is actually linear across your working range. Real calibration curves use 3 or more, usually 5 to 8, standard points so the coefficient of determination R2 can meaningfully flag pipetting error, a bad standard, or detector nonlinearity.

This calculator handles the full workflow: enter up to 6 standard (concentration, response) pairs, get the least-squares slope, intercept, and R2, then enter an unknown sample's measured response to instantly solve for its concentration, exactly the calculation an analyst performs by hand or in a spreadsheet after every calibration run.

📐 Formula

y  =  mx + b
m = slope = (nΣxy − ΣxΣy) / (nΣx² − (Σx)²)
b = intercept = (Σy − mΣx) / n
n = number of standard points used
R² = square of the correlation coefficient, measures how well the points fit the line (1.0 = perfect fit)
x  =  (y − b) ÷ m
Solved form of the line equation, used to find an unknown sample's concentration x from its measured response y once m and b are known from the standard curve.

📖 How to Use This Calculator

Steps

1
Enter your standard points - fill in the concentration (x) and response (y) for each standard solution, up to 6 pairs. Leave unused rows completely blank.
2
Enter the unknown sample's response - enter the measured response (y) of the sample whose concentration you want to find.
3
Click Calculate to see the fitted slope, intercept, R2, the solved concentration, and the scatter chart with the fitted line.

💡 Example Calculations

Example 1 — UV-Vis absorbance calibration

Standards (mg/L, AU): (0, 0.002), (2, 0.201), (4, 0.398), (6, 0.601), (8, 0.797). Unknown sample response = 0.420 AU.

1
Least-squares fit gives slope m = 0.09950 and intercept b = 0.00180, with R² = 0.99998.
2
x = (0.420 − 0.00180) / 0.09950 = 4.2030 mg/L
The unknown sample's concentration is 4.2030 mg/L.
Try this example →

Example 2 — Bradford protein assay

Standards (µg/mL, AU): (0, 0.000), (5, 0.145), (10, 0.290), (15, 0.430), (20, 0.580). Unknown sample response = 0.300 AU.

1
Least-squares fit gives slope m = 0.02890 and intercept b = 0.00000, with R² = 0.99992.
2
x = (0.300 − 0.00000) / 0.02890 = 10.3806 µg/mL
The unknown protein sample's concentration is 10.3806 µg/mL.
Try this example →

Example 3 — HPLC peak-area calibration

Standards (µg/mL, peak area): (10, 98), (20, 205), (30, 300), (40, 410), (50, 495). Unknown sample peak area = 350.

1
Least-squares fit gives slope m = 9.99000 and intercept b = 1.90000, with R² = 0.99859.
2
x = (350 − 1.90000) / 9.99000 = 34.8448 µg/mL
The unknown sample's concentration is 34.8448 µg/mL.
Try this example →

❓ Frequently Asked Questions

What is a calibration curve in chemistry?+
A calibration curve (also called a standard curve) is a plot of instrument response, such as absorbance, versus known concentration for a series of standard solutions. Fitting a straight line through those points, y = mx + b, lets you convert a measured response from an unknown sample back into a concentration using the same equation solved for x.
How do you calculate concentration from a calibration curve?+
First fit the standard points to y = mx + b using least squares to get slope m and intercept b. Then measure the unknown sample's response y and solve for concentration: x = (y - b) / m. This calculator performs both steps automatically from your entered standard points and sample response.
What does R2 mean in a calibration curve?+
R2, the coefficient of determination, measures how closely the standard points fit a straight line, on a scale from 0 to 1. An R2 of 1 means every standard point falls exactly on the fitted line. Analytical chemistry methods typically require R2 of 0.995 or higher before the calibration curve is considered acceptable for quantifying unknowns.
How many standard points do I need for a calibration curve?+
At least 2 points are needed to define a line mathematically, but 2 points always produce a perfect R2 = 1 regardless of whether the underlying relationship is truly linear, so they cannot reveal curve-fit problems. Most analytical methods use 5 to 8 standard points spanning the expected concentration range to properly assess linearity.
Why is my calibration curve's intercept not zero?+
A nonzero intercept b usually reflects real background signal at zero concentration, for example residual absorbance from the solvent, cuvette, or reagent blank. A small nonzero intercept is normal and expected; a large one often means the blank was not subtracted correctly before the standards were measured.
What is the difference between calibration curve and standard curve?+
The two terms are used interchangeably in most analytical chemistry contexts. Both describe the same process: measuring the instrument response of several known-concentration standards, plotting response versus concentration, and fitting a line (or occasionally a curve) used to convert future unknown sample readings into concentrations.
Can I use a calibration curve outside the range of my standards?+
Extrapolating a calibration curve beyond the highest or lowest standard concentration is generally unreliable, because the true relationship between response and concentration can become nonlinear (for example, from detector saturation) outside the tested range. If an unknown sample's response falls outside your standard range, dilute or concentrate it and remeasure, then rebuild the curve if needed.
What units does this calculator use?+
This calculator is unit-agnostic: enter concentration and response in whatever consistent units your standards were prepared and measured in, such as mg/L for concentration and absorbance units (AU) for response. The fitted slope, intercept, and solved concentration for the unknown sample will carry those same units.
Why does the calculator reject a row with only one value filled in?+
Each standard point needs both a concentration (x) and a response (y) value to contribute to the least-squares fit. A row with only one field filled is incomplete and cannot be plotted, so the calculator flags it as an error rather than silently ignoring or misreading it.
What formula does this calculator use for the fitted line?+
It uses ordinary least squares: slope m = (nΣxy - ΣxΣy) / (nΣx2 - (Σx)2) and intercept b = (Σy - mΣx) / n, where n is the number of standard points entered. This is the same closed-form linear regression formula used throughout analytical chemistry and statistics.
What happens if all my standard concentrations are the same value?+
If every entered x value is identical, the denominator of the slope formula becomes zero and no unique line can be fit through the points, since a vertical spread of y values at a single x does not define a slope. The calculator detects this case and shows an error asking for at least two different concentration values.
Is this the same as the Linear Regression Calculator?+
The underlying least-squares math is the same, but this calculator is purpose-built for the calibration curve workflow: it is capped at the small number of standard points typical of a lab assay, and it adds the specific final step analytical chemists need, solving x = (y - b) / m for an unknown sample's concentration from its measured response.

What is a calibration curve in chemistry?

A calibration curve (also called a standard curve) is a plot of instrument response, such as absorbance, versus known concentration for a series of standard solutions. Fitting a straight line through those points, y = mx + b, lets you convert a measured response from an unknown sample back into a concentration using the same equation solved for x.

How do you calculate concentration from a calibration curve?

First fit the standard points to y = mx + b using least squares to get slope m and intercept b. Then measure the unknown sample's response y and solve for concentration: x = (y - b) / m. This calculator performs both steps automatically from your entered standard points and sample response.

What does R2 mean in a calibration curve?

R2, the coefficient of determination, measures how closely the standard points fit a straight line, on a scale from 0 to 1. An R2 of 1 means every standard point falls exactly on the fitted line. Analytical chemistry methods typically require R2 of 0.995 or higher before the calibration curve is considered acceptable for quantifying unknowns.

How many standard points do I need for a calibration curve?

At least 2 points are needed to define a line mathematically, but 2 points always produce a perfect R2 = 1 regardless of whether the underlying relationship is truly linear, so they cannot reveal curve-fit problems. Most analytical methods use 5 to 8 standard points spanning the expected concentration range to properly assess linearity.

Why is my calibration curve's intercept not zero?

A nonzero intercept b usually reflects real background signal at zero concentration, for example residual absorbance from the solvent, cuvette, or reagent blank. A small nonzero intercept is normal and expected; a large one often means the blank was not subtracted correctly before the standards were measured.

What is the difference between calibration curve and standard curve?

The two terms are used interchangeably in most analytical chemistry contexts. Both describe the same process: measuring the instrument response of several known-concentration standards, plotting response versus concentration, and fitting a line (or occasionally a curve) used to convert future unknown sample readings into concentrations.

Can I use a calibration curve outside the range of my standards?

Extrapolating a calibration curve beyond the highest or lowest standard concentration is generally unreliable, because the true relationship between response and concentration can become nonlinear (for example, from detector saturation) outside the tested range. If an unknown sample's response falls outside your standard range, dilute or concentrate it and remeasure, then rebuild the curve if needed.

What units does this calculator use?

This calculator is unit-agnostic: enter concentration and response in whatever consistent units your standards were prepared and measured in, such as mg/L for concentration and absorbance units (AU) for response. The fitted slope, intercept, and solved concentration for the unknown sample will carry those same units.

Why does the calculator reject a row with only one value filled in?

Each standard point needs both a concentration (x) and a response (y) value to contribute to the least-squares fit. A row with only one field filled is incomplete and cannot be plotted, so the calculator flags it as an error rather than silently ignoring or misreading it.

What formula does this calculator use for the fitted line?

It uses ordinary least squares: slope m = (nSigma;xy - Sigma;xSigma;y) / (nSigma;x2 - (Sigma;x)2) and intercept b = (Sigma;y - mSigma;x) / n, where n is the number of standard points entered. This is the same closed-form linear regression formula used throughout analytical chemistry and statistics.

What happens if all my standard concentrations are the same value?

If every entered x value is identical, the denominator of the slope formula becomes zero and no unique line can be fit through the points, since a vertical spread of y values at a single x does not define a slope. The calculator detects this case and shows an error asking for at least two different concentration values.

Is this the same as the Linear Regression Calculator?

The underlying least-squares math is the same, but this calculator is purpose-built for the calibration curve workflow: it is capped at the small number of standard points typical of a lab assay, and it adds the specific final step analytical chemists need, solving x = (y - b) / m for an unknown sample's concentration from its measured response.