Enter your standard data points (known concentration and measured signal) to generate a linear calibration curve using least-squares regression. The calculator outputs the equation y = mx + b, the R² goodness-of-fit, and back-calculates unknown concentrations from any measured signal.
Enter the known concentration (x) and measured signal (y) for each standard. Minimum 3 points required.
| # | Concentration (x) | Signal (y) |
|---|
| # | x (known) | y (measured) | y (fitted) | Residual |
|---|
A calibration curve (also called a standard curve) establishes the mathematical relationship between a known quantity and an instrument's measured response. You prepare a series of solutions with known concentrations (the standards), measure each one with the instrument, then fit a straight line through the resulting data points using least-squares linear regression.
Once the line is established, you measure the signal from an unknown sample and solve for its concentration using the rearranged equation: x = (y − b) / m, where m is the slope and b is the y-intercept.
Least-squares linear regression finds the line y = mx + b that minimises the sum of the squared vertical distances (residuals) between each data point and the line. For n data points (x₁, y₁), (x₂, y₂), ... , (xn, yn):
| Parameter | Formula |
|---|---|
| Slope (m) | m = [n∑xy − (∑x)(∑y)] / [n∑x² − (∑x)²] |
| Intercept (b) | b = (∑y − m∑x) / n = ȳ − mx̄ |
| R² | R² = 1 − SSᵣᵉᵣ / SSᵗᵒᵗ |
| Back-calculate x | x = (y − b) / m |
Using the default data (5 standards: 0, 2, 4, 6, 8 mg/L with absorbances 0.003, 0.101, 0.198, 0.302, 0.398):
The R² of 0.99987 indicates an excellent linear fit, as expected for a well-prepared set of spectrophotometric standards.
| R² Value | Interpretation |
|---|---|
| 0.9999 or above | Excellent. Suitable for most analytical methods. |
| 0.999 to 0.9999 | Good. Acceptable for most routine analyses. |
| 0.99 to 0.999 | Marginal. Review your standards and technique. |
| Below 0.99 | Poor. Do not use. Investigate outliers or non-linearity. |
Method: Least-squares linear regression per ISO 8466-1:1986 (Water quality: calibration and evaluation of analytical methods). R² computed as 1 minus the ratio of the residual sum of squares to the total sum of squares. Back-calculation assumes the calibration range is not exceeded.
This calculator is for educational and general analytical purposes. Verify your calibration against any method-specific acceptance criteria before reporting results. Do not extrapolate outside your calibrated range.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.