Linear Regression Calculator
Linear Regression Calculator
Ordinary Least Squares
This linear regression calculator fits y = mx + b to paired data by minimizing the sum of squared residuals. The slope is the covariance of x and y divided by the variance of x; the intercept centers the line through the means.
Goodness of Fit
Pearson's r measures the strength and direction of the linear association, and R² = r² reports the share of variance explained. The standard error of the estimate quantifies typical prediction error around the fitted line.
Forecasting
Enter an x value to get the model's prediction. Inside the observed range this is a reliable interpolation; beyond it, the line extrapolates under the assumption the trend persists — useful for trendlines, but verify the assumption before acting on far-out forecasts.
Frequently Asked Questions
Related Calculators
Home Loan Calculator
Calculate home loan EMI, total interest, and amortization schedule.
Auto Loan Calculator
Detailed auto loan with trade-in, taxes, fees, and amortization.
Bike Loan Calculator
Calculate bike loan EMI, total cost, and repayment breakdown.
Boat Loan Calculator
Estimate boat financing payments, interest, and amortization.
Student Loan Calculator
Calculate student loan payments with income-driven repayment plans.
Gold Loan Calculator
Calculate gold loan amount based on gold weight, purity, and LTV ratio.
USDA Loan Calculator
Calculate USDA loan payments with guarantee fee and income eligibility.
Loan Against Property Calculator
Calculate LAP EMI based on property value and loan-to-value ratio.