The formula for calculating the effective impurity concentration in the abrupt junction, the linearly graded junction and the random junction is deduced by using the capacity characteristics obtained when the reverse bias are applied to the p-n junction.