We present first-principles calculations of the structural and electronic properties of cubic for different concentrations x of ternary alloy BxGa1-x N. The computational method is based on the full-potential linearized augmented plane wave method (FP-LAPW). The exchange and correlation energy is described in the local density approximation (LDA) and generalized gradient approximation (GGA). We have investigated the effect of composition on the ground state properties, lattice parameters, bulk modulus, pressure derivative and band gap of the zinc blend BN, GaN. The results obtained are in a good agreement with experimental and theoretical values concerning the variation of the gaps and crossover direct,
indirect band gap and the bowing parameter. A reasonable agreement is found from the comparison of our results with other theoretical calculations.