Opens in a new tab

CALCULATOR · SAMPLE SIZE & POWER

Standardized Difference Calculator for Table 1

A standardized mean difference calculator for baseline tables: enter the means and SDs, or the proportions, of the two groups for each variable, up to ten rows. The standardized difference for every row, absolute or signed, updates as you type. Nothing you enter leaves your browser.

Runs in your browser. No data is sent or stored.

Method reviewed by an in-house statistician · Last checked November 2026

In Short

A standardized mean difference calculator measures how far apart two groups are on a baseline variable in units of the variable’s own spread, so that age, a laboratory value and a proportion can be compared on one scale. For a continuous variable it divides the difference in means by the square root of the average of the two variances. For a binary variable it does the same with proportions. Unlike a p-value, the standardized difference does not depend on the sample size. It is the usual summary of balance in a Table 1, shown with the 0.1 convention that is a rule of thumb, not a criterion of satisfactory balance.

How It Is Calculated

For a continuous variable, the standardized difference is the absolute difference in means divided by the square root of the average of the two variances (Flury & Riedwyl, 1986; Austin, 2009):

FORMULA

d = |m₁ − m₂| / √( (s₁² + s₂²) / 2 )

m = group mean · s = group SD.

For a binary variable the same construction uses the proportions:

FORMULA

d = |p₁ − p₂| / √( ( p₁(1 − p₁) + p₂(1 − p₂) ) / 2 )

p = proportion in each group.

The value is shown as an absolute number by default. A switch shows the signed value (group 1 minus group 2), so the direction of the imbalance is visible. The 0.1 mark is displayed as a convention. It is not a criterion of satisfactory balance (Austin, 2009), and the page repeats the point that p-values in Table 1 of a randomized trial test a hypothesis known to be true.

If both proportions are 0 or both are 1, the standardized difference is undefined, and the calculator says so.

Assumptions and When Not to Use It

  • Two groups, one variable per row. Each row describes a single baseline variable in two groups, either as two means with SDs or as two proportions, and the calculator takes up to ten rows.
  • Valid summaries. SDs must be above zero and proportions between 0 and 1. If both proportions are 0 or both are 1, the value is undefined.
  • A convention, not a verdict. A value below 0.1 does not prove that the groups are balanced, and a value above it does not prove that they are not. What matters is how strongly the variable relates to the outcome.
  • Not a test. The standardized difference describes the samples you have, so it does not depend on n. For a significance test of a mean difference, see the t-Test Calculator.
  • Not Cohen’s d. The denominator here averages the two variances without weighting by group size. For an outcome rather than a baseline variable, see the Effect Size Calculator.
  • A Table 1 in a randomized trial. Differences at baseline reflect chance.

Worked Example (Hypothetical Values)

A baseline table reports a symptom score with a mean of 55 and an SD of 12 in the first group, and a mean of 50 and an SD of 12 in the second.

Input or result Value
Group 1: mean, SD 55, 12
Group 2: mean, SD 50, 12
Standardized difference 0.4167

The value is well above the 0.1 convention. Whether a difference of that size matters for the analysis depends on how strongly the score relates to the outcome. Press “Load the worked example” under the calculator and these values fill the fields. HYPOTHETICAL VALUES.

What the Result Still Needs

  1. 1
    Groups and direction stated. The Table 1 says which group is group 1, and a signed value is reported where the direction of the imbalance matters.
  2. 2
    A variable list chosen in advance. The baseline variables come from the protocol or the analysis plan, not from a search for imbalance.
  3. 3
    The threshold named as a convention. If the 0.1 mark is cited, the text says it is a convention and not a criterion of satisfactory balance.
  4. 4
    No p-values in a randomized trial’s Table 1. The comparison is described with the standardized difference or with plain summaries.
  5. 5
    A plan for the imbalance. The analysis states how a baseline variable that is related to the outcome is handled, for example by adjustment in the model.
Have the Table 1 reviewed

A statistician checks which variables belong in your Table 1, calculates the balance measures and writes the baseline description and the adjustment plan for your protocol or manuscript.

Research Planning & Study Design
Already have a calculation?

Independent Statistical Review confirms an analysis prepared by you, a colleague or an AI tool before it goes to a committee or a journal.

Independent Statistical Review

Frequently Asked Questions

In a randomized trial, any baseline difference arose by chance, so a p-value tests a hypothesis that is known to be true. The standardized difference describes the size of the imbalance and does not depend on the sample size. Describe balance, do not test it.

No. It is a convention, and the calculator marks it as one. A variable with a modest standardized difference can still matter if it strongly predicts the outcome. Cite the convention as a convention.

The absolute value is the default and shows the size. The signed value, group 1 minus group 2, shows which group is higher. Say which group is group 1 whenever you report a signed value.

Enter the proportion in each group. The calculator uses the same construction with p(1 − p) in place of the variance. For example, 0.45 and 0.52 give 0.1404, and 0.10 and 0.12 give 0.0640. If both proportions are 0 or both are 1, the value is undefined.

No. It is built from means and SDs or proportions, so the same means and SDs give the same value at any sample size. A p-value, by contrast, changes with n. That is why it is preferred for describing balance.

References

  1. Austin, P. C. (2009). Balance diagnostics for comparing the distribution of baseline covariates between treatment groups in propensity-score matched samples. Statistics in Medicine, 28(25), 3083-3107. https://doi.org/10.1002/sim.3697
  2. Flury, B. K., & Riedwyl, H. (1986). Standard distance in univariate and multivariate analysis. The American Statistician, 40(3), 249-251. https://doi.org/10.1080/00031305.1986.10475414
i

Method reviewed by an in-house statistician · Last checked November 2026 · Test cases and boundary cases verified before release

Found an error or have a suggestion? Write to info@onlinespss.com with the calculator name and the inputs you used. Every report is checked by a statistician.

Have a Statistician Check Your Baseline Balance Table

Share the study design, the baseline variables and the groups you compare. A statistically trained Research Coordinator reviews the request, and the scope and one fixed project fee are confirmed before work begins.

No Commitment Required

Strictly Confidential

Fixed Project Fee

In-House PhD-Level Statisticians

Same-Day Response