Monte‐Carlo‐computations are used to calculate the ionization depth distribution for characteristic X‐ray generation in Al, Ti, Fe, Cu, As, Ag, Au, and Pb targets as well as in binary alloys Al‐Fe and Al‐Cu of different composition. The maximum ionization range QZmax as a function of the initial electron energy E0, core ionization energy Ec, atomic weight A, and atomic number Z is given by an analytical expression compared with other authors.