Chi-Square Calculator

Calculates the difference between observed and expected frequencies.

Step by Step calculation

P-Value from Chi-Square Calculation

Calculates the P-value for a given chi-square value and degrees of freedom(DF).

Chi-square Formula

Where,

O is the observed (actual) value

E is the expected value

Chi-square Real Time Examples

Example: Which sports do you prefer?

SoccerCricket
Men209280
Women225248

Does Gender affect Preferred Sports ?

If Gender (Man or Woman) does affect Preferred sports we say they are dependent.

By using our chi-square calculator , we come up with a "p" value:

p value is 0.132

Now, p < 0.05 is the usual test for dependence.

In this case p is greater than 0.05, so we believe the variables are independent (ie not linked together).

In other words Men and Women probably do not have a different preference for Soccer or Cricket.

Chi-squared distribution Table : Degrees of Freedom(DF) From 1 to 100

P
DF0.9950.9750.200.100.050.0250.020.010.0050.0020.001
10.00003930.0009821.6422.7063.8415.0245.4126.6357.8799.55010.828
2 0.01000.05063.2194.6055.9917.3787.8249.21010.59712.42913.816
30.07170.2164.6426.2517.8159.3489.83711.34512.83814.79616.266
40.2070.4845.9897.7799.48811.14311.66813.27714.86016.92418.467
50.4120.8317.2899.23611.07012.83313.38815.08616.75018.90720.515
60.6761.2378.55810.64512.59214.44915.03316.81218.54820.79122.458
70.9891.6909.80312.01714.06716.01316.62218.47520.27822.60124.322
81.3442.18011.03013.36215.50717.53518.16820.09021.95524.35226.124
91.7352.70012.24214.68416.91919.02319.67921.66623.58926.05627.877
102.1563.24713.44215.98718.30720.48321.16123.20925.18827.72229.588
112.6033.81614.63117.27519.67521.92022.61824.72526.75729.35431.264
123.0744.40415.81218.54921.02623.33724.05426.21728.30030.95732.909
133.5655.00916.98519.81222.36224.73625.47227.68829.81932.53534.528
144.0755.62918.15121.06423.68526.11926.87329.14131.31934.09136.123
154.6016.26219.31122.30724.99627.48828.25930.57832.80135.62837.697
165.1426.90820.46523.54226.29628.84529.63332.00034.26737.14639.252
175.6977.56421.61524.76927.58730.19130.99533.40935.71838.64840.790
186.2658.23122.76025.98928.86931.52632.34634.80537.15640.13642.312
196.8448.90723.90027.20430.14432.85233.68736.19138.58241.61043.820
207.4349.59125.03828.41231.41034.17035.02037.56639.99743.07245.315
218.03410.28326.17129.61532.67135.47936.34338.93241.40144.52246.797
228.64310.98227.30130.81333.92436.78137.65940.28942.79645.96248.268
239.26011.68928.42932.00735.17238.07638.96841.63844.18147.39149.728
249.88612.40129.55333.19636.41539.36440.27042.98045.55948.81251.179
2510.52013.12030.67534.38237.65240.64641.56644.31446.92850.22352.620
2611.16013.84431.79535.56338.88541.92342.85645.64248.29051.62754.052
2711.80814.57332.91236.74140.11343.19544.14046.96349.64553.02355.476
2812.46115.30834.02737.91641.33744.46145.41948.27850.99354.41156.892
2913.12116.04735.13939.08742.55745.72246.69349.58852.33655.79258.301
3013.78716.79136.25040.25643.77346.97947.96250.89253.67257.16759.703
3114.45817.53937.35941.42244.98548.23249.22652.19155.00358.53661.098
3215.13418.29138.46642.58546.19449.48050.48753.48656.32859.89962.487
3315.81519.04739.57243.74547.40050.72551.74354.77657.64861.25663.870
3416.50119.80640.67644.90348.60251.96652.99556.06158.96462.60865.247
3517.19220.56941.77846.05949.80253.20354.24457.34260.27563.95566.619
3617.88721.33642.87947.21250.99854.43755.48958.61961.58165.29667.985
3718.58622.10643.97848.36352.19255.66856.73059.89362.88366.63369.346
3819.28922.87845.07649.51353.38456.89657.96961.16264.18167.96670.703
3919.99623.65446.17350.66054.57258.12059.20462.42865.47669.29472.055
4020.70724.43347.26951.80555.75859.34260.43663.69166.76670.61873.402
4121.42125.21548.36352.94956.94260.56161.66564.95068.05371.93874.745
4222.13825.99949.45654.09058.12461.77762.89266.20669.33673.25476.084
4322.85926.78550.54855.23059.30462.99064.11667.45970.61674.56677.419
4423.58427.57551.63956.36960.48164.20165.33768.71071.89375.87478.750
4524.31128.36652.72957.50561.65665.41066.55569.95773.16677.17980.077
4625.04129.16053.81858.64162.83066.61767.77171.20174.43778.48181.400
4725.77529.95654.90659.77464.00167.82168.98572.44375.70479.78082.720
4826.51130.75555.99360.90765.17169.02370.19773.68376.96981.07584.037
4927.24931.55557.07962.03866.33970.22271.40674.91978.23182.36785.351
5027.99132.35758.16463.16767.50571.42072.61376.15479.49083.65786.661
5128.73533.16259.24864.29568.66972.61673.81877.38680.74784.94387.968
5229.48133.96860.33265.42269.83273.81075.02178.61682.00186.22789.272
5330.23034.77661.41466.54870.99375.00276.22379.84383.25387.50790.573
5430.98135.58662.49667.67372.15376.19277.42281.06984.50288.78691.872
5531.73536.39863.57768.79673.31177.38078.61982.29285.74990.06193.168
5632.49037.21264.65869.91974.46878.56779.81583.51386.99491.33594.461
5733.24838.02765.73771.04075.62479.75281.00984.73388.23692.60595.751
5834.00838.84466.81672.16076.77880.93682.20185.95089.47793.87497.039
5934.77039.66267.89473.27977.93182.11783.39187.16690.71595.14098.324
6035.53440.48268.97274.39779.08283.29884.58088.37991.95296.40499.607
6136.30141.30370.04975.51480.23284.47685.76789.59193.18697.665100.888
6237.06842.12671.12576.63081.38185.65486.95390.80294.41998.925102.166
6337.83842.95072.20177.74582.52986.83088.13792.01095.649100.182103.442
6438.61043.77673.27678.86083.67588.00489.32093.21796.878101.437104.716
6539.38344.60374.35179.97384.82189.17790.50194.42298.105102.691105.988
6640.15845.43175.42481.08585.96590.34991.68195.62699.330103.942107.258
6740.93546.26176.49882.19787.10891.51992.86096.828100.554105.192108.526
6841.71347.09277.57183.30888.25092.68994.03798.028101.776106.440109.791
6942.49447.92478.64384.41889.39193.85695.21399.228102.996107.685111.055
7043.27548.75879.71585.52790.53195.02396.388100.425104.215108.929112.317
7144.05849.59280.78686.63591.67096.18997.561101.621105.432110.172113.577
7244.84350.42881.85787.74392.80897.35398.733102.816106.648111.412114.835
7345.62951.26582.92788.85093.94598.51699.904104.010107.862112.651116.092
7446.41752.10383.99789.95695.08199.678101.074105.202109.074113.889117.346
7547.20652.94285.06691.06196.217100.839102.243106.393110.286115.125118.599
7647.99753.78286.13592.16697.351101.999103.410107.583111.495116.359119.850
7748.78854.62387.20393.27098.484103.158104.576108.771112.704117.591121.100
7849.58255.46688.27194.37499.617104.316105.742109.958113.911118.823122.348
7950.37656.30989.33895.476100.749105.473106.906111.144115.117120.052123.594
8051.17257.15390.40596.578101.879106.629108.069112.329116.321121.280124.839
8151.96957.99891.47297.680103.010107.783109.232113.512117.524122.507126.083
8252.76758.84592.53898.780104.139108.937110.393114.695118.726123.733127.324
8353.56759.69293.60499.880105.267110.090111.553115.876119.927124.957128.565
8454.36860.54094.669100.980106.395111.242112.712117.057121.126126.179129.804
8555.17061.38995.734102.079107.522112.393113.871118.236122.325127.401131.041
8655.97362.23996.799103.177108.648113.544115.028119.414123.522128.621132.277
8756.77763.08997.863104.275109.773114.693116.184120.591124.718129.840133.512
8857.58263.94198.927105.372110.898115.841117.340121.767125.913131.057134.745
8958.38964.79399.991106.469112.022116.989118.495122.942127.106132.273135.978
9059.19665.647101.054107.565113.145118.136119.648124.116128.299133.489137.208
9160.00566.501102.117108.661114.268119.282120.801125.289129.491134.702138.438
9260.81567.356103.179109.756115.390120.427121.954126.462130.681135.915139.666
9361.62568.211104.241110.850116.511121.571123.105127.633131.871137.127140.893
9462.43769.068105.303111.944117.632122.715124.255128.803133.059138.337142.119
9563.25069.925106.364113.038118.752123.858125.405129.973134.247139.546143.344
9664.06370.783107.425114.131119.871125.000126.554131.141135.433140.755144.567
9764.87871.642108.486115.223120.990126.141127.702132.309136.619141.962145.789
9865.69472.501109.547116.315122.108127.282128.849133.476137.803143.168147.010
9966.51073.361110.607117.407123.225128.422129.996134.642138.987144.373148.230
10067.32874.222111.667118.498124.342129.561131.142135.807140.169145.577149.449