Logistic Regression Calculator
Calculate the predicted probability, odds, and odds ratio from logistic regression coefficients. Visualize the S-shaped probability curve.
Inputs
Results
Predicted Probability
0.73
Odds Ratio (per unit x)
1.65
How to Use This Calculator
- Enter Intercept (β₀), Coefficient (β₁), and Predictor Value (x).
- Review Predicted Probability and Odds Ratio (per unit x).
- Use Odds and Log-Odds (Logit) to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Coefficient (β₁)
| Coefficient (β₁) | Predicted Probability | Odds Ratio (per unit x) |
|---|---|---|
| -8 | 0 | 0 |
| -3 | 0 | 0.05 |
| 3 | 1 | 20.09 |
| 8 | 1 | 2,980.96 |
What each input means
- Intercept (β₀)
- The intercept coefficient of the logistic regression model.
- Coefficient (β₁)
- The slope coefficient for the predictor variable x.
- Predictor Value (x)
- The value of the independent variable for which to predict probability.
How this is calculated
Worked example, using the default values
- Identify Input ParametersIntercept (β₀) = -3, Coefficient (β₁) = 0.5, Predictor Value (x) = 8 = 3 input(s) provided
- Calculate Predicted ProbabilityPredicted Probability0.7311 = 0.7311
- Calculate Odds RatioOdds Ratio = Math1.6487 = 1.6487
- Calculate OddsOdds = Math2.7183 = 2.7183
- Calculate Log-OddsLog-Odds1 = 1
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Multiple Regression Calculator
Evaluate a multiple regression model using SSR, SSE, number of predictors, and sample size. Calculate R², adjusted R², F-statistic, and model fit metrics.
StatisticsROC Curve Calculator
Calculate sensitivity, specificity, PPV, NPV, accuracy, F1 score, and approximate AUC from a confusion matrix (TP, FP, TN, FN).
StatisticsFisher's Exact Test Calculator
Perform Fisher's exact test on a 2x2 contingency table to determine if there is a significant association between two categorical variables.
Math & StatisticsProbability Calculator
Calculate probability of single events, combined events (AND/OR), permutations, and combinations.
Sports, Outdoors & RecreationBetting Odds Converter
Convert between American, decimal, and fractional odds. Calculate implied probability, potential payout, and profit from your stake.
More in Math & Statistics.