Regression Calculator: Linear, Quadratic, Exponential, Logarithmic and Power

Statistical Analysis

Loading the regression calculator…

What is regression analysis?

Regression finds the equation that best describes how a dependent variable (Y) changes with an independent variable (X). Once you have the equation you can predict Y for any X, for example plant height from days after sowing, absorbance from concentration (a standard curve), or yield from fertiliser dose.

Which model should I choose?

ModelEquationTypical use
LinearY = a + bXStandard curves, steady increase or decrease
QuadraticY = a + bX + cX²Dose–response with an optimum, such as yield vs fertiliser
ExponentialY = a·ebXMicrobial growth, population growth, decay
LogarithmicY = a + b·ln(X)Fast early increase that levels off
PowerY = a·XbAllometry, such as body weight vs length

Exponential and power models need all Y values above zero; logarithmic and power models need all X values above zero.

What does R² mean?

R² (coefficient of determination) shows how much of the variation in Y the model explains, from 0 to 1. An R² of 0.95 means the model explains 95% of the variation. Try different models and compare R², but also look at the graph: the best model should follow the shape of the points and make biological or physical sense.

Tips for good results

  • Enter X and Y values in the same order, with the same number of values.
  • Use at least 5–6 points for linear and more for curved models.
  • Be careful predicting far outside the range of your data (extrapolation).

Just want to know how strongly X and Y are related? Use the correlation calculator. See all statistical tools.