In a partially ionized gas, if electrons and ions have a relative drift Vd perpendicular to a static B field, Farley and Buneman have shown that an electrostatic wave with propagation vector K perpendicular to B and wavelength λ ≥ 0.375 meter will be unstable if K·Vd/Kexceeds the ion thermal speed. We have extended Farley's calculation for K perpendicular to B by the following procedure. First, we examine modes of higher frequencies and shorter wavelengths. Second, we retain the term K2λDE2 (λDE is the electron Debye length), since this term cannot be neglected for short wavelength modes. This makes the dispersion relation density dependent. Third, we obtain plots of growth rate versus frequency for various values of K· Vd/K. With the use of the Culler-Fried on-line computer system, the dispersion relation has been solved numerically by contour integration. There are four results of the numerical calculation. First, there is an electron density threshold for excitation of higher frequency modes. Second, for a fixed electron density of 3.5 × 105/cm3, the fastest growing mode shifts to higher frequency as K·Vd/K increases. For K·Vd/K equal to three times the ion thermal speed, 3al, the fastest growing mode oscillates at ωr ≃ 0.7(ΩEΩl)½, where ΩE and Ωl are electron and ion cyclotron frequencies. The frequency ωr is far above those calculated by Farley. Third, the same behavior cited above is also exhibited for fixed K·Vd/K but increasing electron density. Fourth, modes with oscillating frequency ωr ≃ (ΩEΩl)½ can be excited for K·Vd/K ≥ 2.3al and current density greater than 1.0 × 10−5 amp/m2. These are reasonable values for the equatorial electrojet and the auroral electrojet in the ionosphere during disturbed times.