worldngayon students

Lab data graph plotter

Paste your lab data and get a clean, publication-ready graph: scatter or line plot, line of best fit or curve fit with R², error bars, and the slope with its uncertainty. Works for chemistry, biology and physics, and exports to PNG, SVG or CSV.

1. Your data

Examples:

2. Columns

y series

3. Fit and error bars

4. Labels and style

Superscripts and subscripts in labels: mol L^{-1} → mol L−1, OD_{600} → OD600, cm^3 → cm3.

How to make a good lab graph

Independent variable on x. Put what you controlled (concentration, time, length) on the x axis and what you measured on the y axis. Label both axes with the quantity and its unit, e.g. "Time (s)".

Plot points, then fit. Experimental data are shown as markers, not joined dot-to-dot. A line of best fit (or curve) shows the trend; it does not have to pass through every point, or through the origin unless theory says it must (choose "Linear through origin" for that).

Report the fit properly. Give the equation with units, R², and the uncertainty of the slope. For a calibration curve, use the "Find x from a measured y" box to read off your unknown with its 95% confidence interval, and keep the unknown within the range of your standards.

Check the residuals. If the residual plot shows a curve or a trend instead of random scatter, the model is wrong, even if R² looks high. Try a different fit.

Which fit should I use?

Linear: Beer's law calibration, Hooke's law, Ohm's law, density from mass and volume. Exponential: first-order kinetics, radioactive decay, population growth; the tool gives the rate constant and half-life. Exponential + offset: Newton's law of cooling, charging capacitors. Michaelis–Menten: enzyme kinetics, gives Vmax and Km directly, without a Lineweaver–Burk plot. Logistic: bacterial growth curves, dose–response. Power: pendulum period vs length, allometry. Gaussian: a single peak in a spectrum or a distribution. Quadratic / cubic: projectile motion, calibration curves that bend.

Questions students ask

How do I get the equation of the line of best fit?

Paste your data, choose "Linear" as the fit, and the equation (y = mx + b) and R² appear on the graph and in the results, with the uncertainty of the slope and intercept.

What does R² mean?

R² is the fraction of the variation in y that the fitted curve explains. 1 is a perfect fit; for a good calibration line you usually expect 0.99 or higher. A high R² does not prove the model is right, so check the residual plot for patterns.

How do I add error bars?

Choose an error source: a column in your data (for example standard deviations), the same value for every point, or a percentage of each y value. Tick "Weight the fit" to give precise points more influence.

Can I use it for biology and physics too?

Yes. It includes Michaelis–Menten enzyme kinetics, logistic growth curves, exponential decay, power laws and Gaussian peaks, as well as straight lines and polynomials.

What image should I put in my lab report?

Use the PNG (high resolution, 3×) for Word or Google Docs, or the SVG for a perfectly sharp figure in PowerPoint, LaTeX or Illustrator.

More lab report tools