Experimental Data & Uncertainty Analyzer
A general-purpose data analysis tool for science labs. Enter your experimental data, run linear regression, propagate uncertainties, and calculate percent error with significant figures.
Scatter Plot
Data Entry
| # | Extension (m) | Force (N) | δ(Force (N)) | |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 | ||||
| 8 |
Paste CSV or tab-delimited data directly into the table (columns: x, y, and optionally δy).
Regression Analysis
Best-Fit Line
Formulas Used
Residuals Table
| # | x | y (observed) | ŷ (predicted) | Residual (y − ŷ) |
|---|---|---|---|---|
| 1 | 0.02 | 0.5 | 0.5250 | -0.0250 |
| 2 | 0.04 | 1.1 | 1.0286 | +0.0714 |
| 3 | 0.06 | 1.5 | 1.5321 | -0.0321 |
| 4 | 0.08 | 2 | 2.0357 | -0.0357 |
| 5 | 0.1 | 2.6 | 2.5393 | +0.0607 |
| 6 | 0.12 | 3 | 3.0429 | -0.0429 |
| 7 | 0.14 | 3.5 | 3.5464 | -0.0464 |
| 8 | 0.16 | 4.1 | 4.0500 | +0.0500 |
Reference Guide
Linear Regression
Least-squares regression fits the best straight line through your data by minimizing the sum of squared residuals.
R-squared and Residuals
R-squared measures how well the model explains the variation in your data. Residuals show the difference between observed and predicted values.
An R-squared near 1 indicates a strong linear relationship.
Uncertainty Propagation
When you combine measurements that each have their own uncertainty, the total uncertainty depends on the operation.
Percent Error
Percent error compares your experimental result to a known accepted value. It tells you how close your measurement was.
Significant figures in your result should match the least precise measurement used in the calculation.