Regression Prediction Calculator
Enter the intercept, slope and x to predict y.
Result
How it is calculated
y = a + b × x, where a is the intercept (the predicted y when x is 0), b is the slope (the change in y for each one-unit increase in x) and x is the new value of the predictor. The tool does not fit a line to data: you must bring a and b from your own regression output. The result is rounded to two decimals and can be negative. Units are whatever your data used: y comes out in the units of y, and the slope must be per one unit of x as measured in the model. Nothing here depends on country or year. The value is a point estimate only; it has no confidence or prediction interval.
Worked example
A fitted model predicts an exam score from hours studied, with intercept 12.5 and slope 2.4 points per hour. For 30 hours: b × x = 2.4 × 30 = 72. Add the intercept: 12.5 + 72 = 84.50. The predicted score is 84.50. With a slope of −2.4 instead, the same inputs would give −59.50.
Common mistakes
- Swapping the intercept and the slope when copying from software output; the intercept is the constant term, the slope is the coefficient on x.
- Using a slope from a model where x was scaled (hours versus minutes, thousands versus single dollars) and then typing x in the other scale.
- Predicting for an x far outside the data used to fit the line. The straight-line relationship may not hold there, even though the tool returns a number.
- Entering a coefficient from a standardized regression (beta weights) and a raw x; standardized coefficients need z-scored inputs.
- Reading the result as exact. It is the average expected y at that x, and individual observations scatter around it.
About this calculator
Once a simple linear regression has been fitted to a dataset, giving an intercept a and slope b, the fitted line y = a + b·x can be used to predict the expected response for any new value of x — this calculator performs that final prediction step given the fitted parameters and a chosen x.
Analysts, students and researchers across economics, biology, engineering and business use this kind of point prediction after regression analysis to forecast an outcome (sales, a lab measurement, a test score) from a single predictor, though it's most reliable for x-values inside the range the model was actually fitted on, since extrapolating far beyond the data risks error.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments