Social & Preventive Medicine

Degree of freedom of a chi square test in contingency table of 2 by 2 is?