Answer The formula df = (c – 1) (r – 1) is used to find the degree of freedom – The degree of freedom of the chi-square test is calculated by the formula df = (c – 1) (r – 1), where c represents the column number of cell and r represents the row number of the cell.