doomath Calculator
Linear Regression Calculator
Fit a straight line to paired data and calculate slope, intercept and correlation.
InputsChange a value to recalculate instantly
ResultUpdates as you type
How it worksTransparent math
Formula
y=a+bx; b=Sxy/Sxx; r=Sxy/√(SxxSyy)Fits a least-squares straight line to four paired observations and reports Pearson correlation and R².
Result breakdownSee the important numbers together
1Pearson r0.98
2Slope1.9
3Intercept0
4R²0.96
λ DooMathWork with this calculation
Local · deterministic · optionalQuick mathNatural-language-style shortcuts for deterministic arithmetic.
Calculator guide
How to use the Linear Regression Calculator
Fit a straight line to paired data and calculate slope, intercept and correlation.
01Set inputsChoose values, units and assumptions.
02Apply the modely = a + bx
03Read the resultCheck the output against the assumptions before using it.
What this calculator does
Fit a straight line to paired data and calculate slope, intercept and correlation.
Formula & method
y = a + bx
Assumptions & notes
Review the inputs, units and assumptions before using the result for a real decision.
