In statistics, the number of degrees of freedom is the number of values in the final calculation of a statistic that are free to vary.
degrees of freedom or d.f. is defined as
the number of values in the final calculation of a statistic that are free to vary