Kolmogorov-Smirnov Two-Sample Test
Determine if two independent samples are derived from the same distribution using this online calculator.
Input Data
Enter your sample data sets below. Values should be comma-separated.
Enter comma-separated numeric values.
Enter comma-separated numeric values.
Test Results
D-Statistic:
P-Value:
CDF Visualization
About the Kolmogorov-Smirnov Test
The Kolmogorov-Smirnov (KS) test is a non-parametric test used to determine if two independent samples are drawn from the same continuous distribution. It quantifies the maximum distance (D-statistic) between the empirical cumulative distribution functions (CDFs) of the two samples. A small P-value (typically ≤ 0.05) suggests that the samples are likely from different distributions, rejecting the null hypothesis that they are from the same distribution. Conversely, a large P-value indicates that we do not have enough evidence to reject the null hypothesis. The CDF visualization helps to graphically compare the distributions.
You may also like these tools
One Sample Z-Test Calculator: Hypothesis Testing Tool
Perform a one-sample z-test to determine if there is a statistically significant difference between a sample mean and a known population mean.
Hypothesis Testing Calculator
Easily perform hypothesis testing for population means or proportions.
Two-Sample T-Test Calculator
Perform a two-sample independent t-test online to compare the means of two independent groups.