Abstract In this work, the electronic properties of BN, BP and BNxP1−x compounds have been investigated by means of first-principles density-functional total-energy calculation using the all-electron full potential linear augmented plane-wave method (FP-LAPW). The (FP-LAPW) method was used within the density functional theory (DFT) along with the Engel–Vosko and Becke–Johnson exchange correlation potential. The energy bands along high symmetry directions, the density of states and bowing distributions are calculated. The results have been discussed in terms of previously existing experimental and theoretical data, and comparisons with similar compounds have been made. Analysis of band structure suggests direct and pseudo-direct band gaps for both compounds.