Do you have to calculate Chi square by hand, or can you use a statistical program? If you use a program it will compute both the Chi Square value as well as its probability.
In general, your contingency table will consist of rows and columns, where the row represents the independent variable and the columns the dependent variable. In chemistry I might hypothesize that the growth of some plant did not differ based on the level of K applied to it versus the alternative that the levle of growth differed significantly based on the level of K applied. So, if you imagine a matrix with let's say 4 levels of K as the row variable and 5 different levels of observed growth, you would have 20 cells in the contingency table. Chi square would compute the expected verus observed number of observations in each cell, as well as the percentage distribution across the column.
To deduce what your hypothesis should be, just draw a simple table with the independent variable shown as rows and the dependent variable shown as columns. Use language similar to the above to develop your hypotheses.
Don't know if this hurt or helped. How many data points do you have? If you have many and they are arranged correctly, I might be able to help if you forward the data in Excel to me.
Bekker