Chi sq question

#1
An estimator of chi^2 sorta = s^2/sigma^2.
Contingency tables use (o-e)^2/e as estimator of chi^2.

s^2/sigma^2 =? (o-e)^2/e?

I can't get from one estimator to the other. Can you help?
Thanks;
joe b.