CalcWorldHub
Free online calculator · no signup

Mann Whitney U independent samples test calculator

Compare two independent samples by pooled ranks and display U for the first sample plus an asymptotic two-sided p-value.

4,000 tools
Mann Whitney U independent samples test calculator — First independent sample, Second independent sample and calculation method
Mann Whitney U independent samples test calculator: inputs and calculation method.

How to use this calculator

Compare two independent samples by pooled ranks and display U for the first sample plus an asymptotic two-sided p-value.

  1. Enter First independent sample, Second independent sample. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Mann Whitney U independent samples test explained

Pool and rank the two independent samples to compare their distributions; this implementation reports U for the first sample and an asymptotic two-sided p-value.

How the calculation works

Pooled rank sum minus n1(n1+1)/2

Uses average ranks, tie-corrected normal variance, and continuity correction.

Set up the calculation

a — First independent sample
First independent sample. Use comma-separated values in the stated order.
b — Second independent sample
Second independent sample. Use comma-separated values in the stated order.

Limits of this model

Uses average ranks, tie-corrected normal variance, and continuity correction. The p-value is approximate, particularly for small samples; it is not an exact test.

Check this example

First independent sample = 1, 2, 3; Second independent sample = 4, 5, 6.

  • First-sample U: 0
  • Approximate two-sided p-value: 0.0808556

U₁=0 because every first-sample value is below every second-sample value. The approximate two-sided p-value is 0.0809, above a 0.05 cutoff.

Frequently asked questions

Is this a paired test?

No, use signed ranks for paired differences.

Does it test only medians?

A location-only interpretation needs similarly shaped distributions.

Are tied observations supported?

Yes, with average ranks and a variance correction.

How do I use the Mann Whitney U independent samples test calculator?

Enter First independent sample, Second independent sample. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Mann Whitney U independent samples test?

First independent sample = 1, 2, 3; Second independent sample = 4, 5, 6. First-sample U: 0 Approximate two-sided p-value: 0.0808556 U₁=0 because every first-sample value is below every second-sample value. The approximate two-sided p-value is 0.0809, above a 0.05 cutoff.