Fill in your number of subjects observed into the green text boxes and press the "Calculate χ²-score and P-value" button.

(Please note: If you have a 2x2 frequency table with small numbers of expected frequencies (in case the total number of observations is less than 20), you should not perform the Chi-squared test, but you should use Fisher's exact test.)