Free Tools › Logistic Regression Calculator

Logistic Regression Calculator: Adjusted Odds Ratios

Fit a binary logistic regression by pasting your data. Get adjusted odds ratios with 95% confidence intervals and p-values, the likelihood ratio test, pseudo-R² and a check of events per predictor.

FreeNo account neededYour data stays in your browser

Your dataPaste straight from Excel or Google Sheets. First row = column names. Blank, NA or . = missing.
Predictors

Coefficients and odds ratios

TermBSEOR95% CI for ORzp
(Intercept)-7.2481.742––-4.16< 0.001
group: Intervention (vs Control)-0.1780.4140.840.37 to 1.88-0.430.666
age0.1160.0291.121.06 to 1.194.06< 0.001
smoker: Yes (vs No)0.1650.4541.180.48 to 2.870.360.717

Model fit

Likelihood ratio testχ²(3) = 22.63, p < 0.001Model versus intercept only
McFadden's pseudo-R²0.141
Log-likelihood-69.02AIC = 146.0
Observations used120 (47 events: event = 1)No missing values
Events per predictor term15.7Based on the rarer outcome category

An odds ratio above 1 means higher odds of event = 1 for each one-unit increase in the predictor (or versus the reference category), adjusted for the other predictors.

Get new free research tools firstOccasional emails when we add tools and guides. No spam.

We only use your email to send these updates, never share it, and you can unsubscribe by replying to any email or writing to info@timelyscholar.com. Privacy Policy

How to Use the Logistic Regression Calculator

  1. 1

    Paste your data

    Copy the columns from Excel or Google Sheets, with names in the first row.

  2. 2

    Choose the variables

    The results update instantly in your browser.

  3. 3

    Copy the table

    Paste straight into Word, or download a CSV.

How to read a logistic regression

Logistic regression models the log odds of a binary outcome, such as disease or no disease, as a linear function of the predictors. Exponentiating a coefficient gives an odds ratio adjusted for the other predictors.

Too few outcome events per predictor makes estimates unstable. In a well-known simulation study, fewer than 10 events per variable led to biased coefficients and unreliable confidence intervals, so the calculator warns you below that level.

If a predictor perfectly separates the outcome groups, maximum likelihood estimates do not exist; the calculator flags models that do not converge cleanly.

How it is calculated

Sources

Logistic Regression Calculator: FAQ

What is an adjusted odds ratio?

The odds ratio for one predictor while holding the other predictors in the model constant.

How many predictors can I include?

A common rule of thumb is at least 10 events (of the rarer outcome) per predictor term.

Can I use a Yes/No outcome?

Yes. Any column with exactly two values works; choose which value counts as the event.

Related Free Tools