$$\chi^{2}$$ test for Homogeneity calculator
Enter in the observed values for each of the two samples A and B and hit Calculate and the $$\chi^{2}$$ test statistic and the p-value will be calculated for you.  Leave blank the last rows that don't have data values.
 $$\chi^{2}$$: p