Measure sample separation with ranked evidence and effect size. Inspect tables, plots, and decisions instantly. Export polished findings for reporting, teaching, audits, and review.
Enter independent samples using spaces, commas, semicolons, or line breaks between numbers.
You can load these values directly with the example button above.
| Observation | Method A | Method B |
|---|---|---|
| 1 | 18 | 11 |
| 2 | 22 | 14 |
| 3 | 25 | 15 |
| 4 | 27 | 18 |
| 5 | 31 | 20 |
| 6 | 33 | 21 |
The calculator follows the Wilcoxon rank sum approach, commonly reported through the Mann–Whitney U statistic.
Pool both samples, sort the values, and assign ranks from smallest to largest. Tied values receive the average of their occupied ranks.
R₁ = sum of ranks for Sample A R₂ = sum of ranks for Sample B
U₁ = R₁ - n₁(n₁ + 1) / 2 U₂ = R₂ - n₂(n₂ + 1) / 2
E(U) = n₁n₂ / 2 Var(U) = (n₁n₂ / 12) × [ (N + 1) - Σ(t³ - t) / (N(N - 1)) ]
Here, t is the size of each tie group and N = n₁ + n₂.
z = (U - E(U) ± 0.5) / √Var(U)
The p value is obtained from the standard normal distribution. This is an approximation and is strongest for moderate or large sample sizes.
Probability of superiority = U₁ / (n₁n₂) Rank biserial correlation = 2 × [U₁ / (n₁n₂)] - 1
It compares two independent samples using their ranks rather than raw values. This helps when data are skewed, ordinal, or less suitable for a standard two-sample t test.
They are two forms of the same underlying test. Rank sums are converted into U statistics, and both lead to the same inferential conclusion.
Yes. Tied observations receive averaged ranks, and the variance is adjusted with a tie correction factor. That keeps the approximation more realistic.
Use a one-sided test only when your research question was directional before seeing the data. Otherwise, a two-sided test is safer and more defensible.
It gives an effect-size view of sample separation. Values near zero suggest little difference, while values farther from zero indicate stronger directional separation.
No. It uses the normal approximation with tie correction. That works well for many practical datasets, especially when samples are not extremely small.
If all observations are effectively identical, the variance can collapse to zero. In that case, the calculator reports the issue instead of forcing a misleading z statistic.
No. Paired observations require a signed-rank method instead. This calculator is designed only for two independent samples.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.