A theory of electronic-structure calculations for amorphous alloys is presented on the basis of a geometrical-mean model for amorphous structures and transfer integrals. It greatly simplifies the numerical calculations by constructing the electronic structures of amorphous alloys from those of constituent amorphous pure metals, and describes the local environment effects by introducing the average coordination numbers ${\mathit{z}}_{\mathrm{\ensuremath{\alpha}}}^{\mathrm{*}}$ and atomic short-range-order parameters ${\mathrm{\ensuremath{\tau}}}_{\mathrm{\ensuremath{\alpha}}}$ for each type of atom \ensuremath{\alpha}. It is demonstrated, by comparing the numerical results with those obtained from first-principles, that the theory reasonably describes the electronic structure of amorphous transition-metal alloys. In particular, it is shown that the difference in ${\mathit{z}}_{\mathrm{\ensuremath{\alpha}}}^{\mathrm{*}}$, which is caused by constituent atoms with different atomic sizes, stabilizes the ferromagnetism in amorphous ${\mathrm{Fe}}_{65}$${\mathrm{Zr}}_{35}$ and ${\mathrm{Co}}_{2}$Y alloys since it builds up a high-energy peak around the Fermi level.