A first-principles pseudopotential method combined with the virtual-crystal approximation (VCA) is used to calculate band offsets of AlxGa1-xP-GaP(001) heterostructures. It was found that both the valence and conduction band offsets vary linearly with the alloy composition. Our results are in good agreement with the experimental data.