Degrees of freedom for two-sample t-test

The x-axis is the first group's sample size (n1). The y-axis is the degrees of freedom (df). Adjust the second group's sample size, and each groups standard deviation, using the sliders. Key: Blue: equal (pooled) variances; Green: unequal variances; Satterthwaite formula Red: unequal variances; smaller of or