Ab-initio calculations have been performed to determine the structural, electronic, and optical properties of InxGa1-xAs alloys for x=0.0, 0.25, 0.50, 0.75, and 1.0. The calculated lattice constants follow Vegard's law when we allow for relaxation of atomic positions. Our calculated dielectric function and critical points are in good qualitative agreement with experimental data. The critical point energies are fitted with a polynomial equation of indium concentration. The measured dielectric function and fitting parameters are in good agreement with our results. Our results will be useful for the design of optoelectronic devices using these materials.