Logistic Regression Odds Calculator

Logistic Regression Odds Calculator

Convert a fitted logistic model into log odds, odds, probability, odds ratios, and a 95% confidence interval for a chosen unit change.

1Pick a realistic preset
2Enter model coefficients

Used only to label the breakdown.

Baseline log odds when predictors equal 0.

Also used for the odds ratio and CI cards.

Use the same scale used in the model fit.

Set to 0 if your model has one predictor.

Can be binary, centered, standardized, or raw.

OR = exp(beta1 x unit change).

For a 95% OR CI: exp(beta1 x d +/- 1.96 x SE x |d|).

Logistic model results

Log odds 0.000 linear predictor
Odds 1.000 to 1
Probability 50.0% odds/(1+odds)
OR for beta1 1.000 95% CI 1.00 to 1.00
Model labelCustom logistic model
Logit formulabeta0 + beta1*x1 + beta2*x2
Coefficient contribution0.000
Odds formulaexp(logit)
Probability formulaodds / (1 + odds)
Odds ratio CI formulaexp(beta1*d +/- 1.96*SE*|d|)
3Quick logistic reference grid
0 Null logit
1.00 Null odds
50% Null probability
1.96 95% z value
exp(b) Per unit OR
4Current coefficient breakdown

This table updates from the entered beta values and shows each term in the linear predictor before the logit is transformed.

Term Beta Value Contribution Role
Intercept -1.350 1 -1.350 Baseline
Predictor 1 0.420 2.000 0.840 Focus OR
Predictor 2 -0.280 1.000 -0.280 Adjustment
Total logit sum all terms -0.790 Predicted log odds
5Logit, odds, and probability lookup
Logit Odds exp(logit) Probability Odds wording Use as a check
-3.000.0504.7%about 1 to 20rare event
-2.000.13511.9%about 1 to 7low event rate
-1.000.36826.9%about 1 to 3below even odds
0.001.00050.0%1 to 1null midpoint
1.002.71873.1%about 3 to 1above even odds
2.007.38988.1%about 7 to 1high event rate
3.0020.08695.3%about 20 to 1very likely event
6Odds ratio interpretation table
Beta OR exp(beta) Odds change Plain reading Reverse beta
-1.3860.2575% lowerquarter the odds1.386
-0.6930.5050% lowerhalf the odds0.693
-0.2230.8020% lowermodest decrease0.223
0.0001.00no changenull effect0.000
0.2231.2525% highermodest increase-0.223
0.6932.00100% higherdouble the odds-0.693
1.0993.00200% highertriple the odds-1.099
1.3864.00300% higherquadruple odds-1.386
7Confidence interval z values
Confidence Two-sided z Log CI lower Log CI upper OR CI transform
80%1.282b - 1.282 SEb + 1.282 SEexp(bounds)
90%1.645b - 1.645 SEb + 1.645 SEexp(bounds)
95%1.960b - 1.960 SEb + 1.960 SEexp(bounds)
98%2.326b - 2.326 SEb + 2.326 SEexp(bounds)
99%2.576b - 2.576 SEb + 2.576 SEexp(bounds)
8Preset scenarios and scales
Preset Typical outcome Predictor 1 scale Predictor 2 scale Reason to use
Credit Approvalapprovedscore bandsdebt ratiomixed signs
Subscription Churnchurnedcomplaintstenurerisk rising
Clinical Screeningpositivemarker unitsage decadesclinical scale
Ad Click Modelclickedrelevance scoreprior viewslow base rate
Fraud Flagflaggedrisk scoreaccount agelarge OR
Admission OddsadmittedGPA pointstest scoreinterpretable OR
9Practical tips
Keep units visible. A beta of 0.08 can be small per dollar, large per 100 dollars, and misleading if the scale is not named.
Use log scale for intervals. Build the CI around beta first, then exponentiate the lower and upper limits to get the odds ratio interval.
Check event coding. The probability is for the category coded 1, so reversing the outcome changes the sign of the coefficients.
Do not read odds as risk. Odds and probability are close only when the predicted event is uncommon.

Core formulas used here: logit = beta0 + sum(beta*x), odds = exp(logit), probability = odds / (1 + odds), odds ratio = exp(beta*unit change), and OR CI = exp(beta*unit change +/- z*SE*abs(unit change)).

What’s behind all this? A logistic regression coefficient, while perhaps a confusing numerical value to you… Is fuel for prediction. It’s the unprocessed material that gets converted into a chance that something will happen or won’t.

The numbers you’re looking at when you examine model output are called log odds. They aren’t something your brain innately grasps. And because you think in terms of chances and probabilities, there’s a language barrier here. That’s where mistakes lie.

How to Turn Numbers into Chances

This calculator closes that divide, changing beta coefficients from any statistical program into the odds and probabilities you need to reach a decision.

Plug in your predictor coefficients and the intercept. You can think of the intercept as being the log odds when all your predictors is equal to zero. So this establishes starting point for calculating the rest. Then your remaining coefficients indicates the impact of each predictor on the odds for a one-unit increase in that variable.

In modeling credit approval, for example, your predictors may include income and debt ratio; in a clinical-screening application, they may include age and level of biomarkers. But what matters isn’t necessarily which variables you choose, it’s the scale! Knowing what a unit change represents in the real world helps you understand whether a coefficient of 5 is huge or small. A year-old patient? That’s nothing! A decade of life experience? Huge! The silent variable is always context, the thing that trips up most analyses. Define it.

Now that you’ve entered your numbers, the tool will transform them for you. Specifically, it will sum the linear predictor (the log of the odds) to obtain the logit. Then, it will take the exponential of this logit to obtain the odds. Lastly, it will convert these odds to a probability. This is helpful because it provides a step-by-step breakdown of how the math works out. This can help explain what’s going on.

For example, you might have a strong effect size, as shown by a high odds ratio, but baseline probability was already extremely low. This means the resulting actual risk may still be tiny. And that’s where folks mess up, conflating absolute risk with relative risk: A doubling of the odds, represented by an odds ratio of two, means you went from one in a hundred to two in a hundred. So yes, the risk is higher then it was, but in absolute terms, it’s still low.

But equally important: the tool also computes the confidence interval around the odds ratio. That’s what lets us interpret it correctly. Odds ratios are guesses (point estimates), but intervals are ranges of plausible values. Even if your point estimate is dramatically different from 1, if it falls within your interval, that means you found no evidence of an effect.

How does the calculator do that? It creates the interval on the log scale, then exponentiates those bounds. Why? Because you can’t just add/subtract the margin of error in odds ratio space. You need to let the math respect the fact that the odds ratio is based off logs. The tool does this for you.

The page has some sanity checks in the form of reference tables that you should take a peek at. They will tell you: when your logit is -3, it’s below a five percent probability; when your odds ratio is 0.5, you’re talking about half the odds. They’ll let you know when your number was entered correctly. They will also catch data entry mistakes while they are still manageable, rather than after they have spread through a whole report. It is a little thing, but it’s worth it, since finding one misplaced decimal point or a flipped sign can save hours of reworking.

But where it gets powerful is when you play with the unit change. You don’t have to assume one dollar changes; you can say, I’d like my predictor to be income, and I’d like the odds ratio to reflect what happens if income goes up by ten thousand dollars rather than just one. The tool will let you do that, it will recalculate the odds ratio and its confidence interval at whatever new scale you’ve chosen. That way, the results make sense in terms of what matters to your audience.

A stakeholder wants to know how something impacts their life, which means they care about a meaningful change to a policy, not a marginal unit of change.

The key here is to shift perspectives on what you’re seeing… It’s no longer about those coefficients, now you have the probability of an event occurring based on certain conditions. Probability is the answer so the probability output provides exactly that. Odds ratios and log odds are the path but probability is the destination and therefore the final answer.

Run through various scenarios, adjust the predictor values and observe the impact on the probability output. Observe how sensitive your model is and whether its outputs is driven by one or two variable or multiple. That analysis, the sensitivity analysis, is as informative as, if not more than. The fit itself. The scale of the variables matters more then the specific variables themselves. The numbers won’t lie but you can be led astray if you fail to ask the appropriate questions. Begin with the probability and finish with the decision; that’s where you take statistical information and convert it to strategy.

You should of used this tool earlier! Actualy, finding one misplaced decimal point or a luxuriously complex error could save hours of reworking.

Logistic Regression Odds Calculator