The insertion of quantum dots in a host material produces band offsets which are greatly dependent on the field of strains brought about by this insertion. Based on the Empiric KP Hamiltonian model, the energy spectrum of the quantum dot/host system is easily calculated and a relationship between the conduction and valence band offsets is determined by the energy at which the lowest peak of the subbandgap quantum efficiency of an intermediate band solar cell is situated; therefore knowledge of the valence band offset leads to knowledge of both offsets. The calculated sub-bandgap quantum efficiency due to the quantum dot is rather insensitive to the value of the valence band offset. However, the calculated quantum efficiency of the wetting layer, modeled as a quantum well, is sensitive to the valence band offset and a fitting with the measured value is possible resulting in a determination of both offsets in the finished solar cell with its final field of strains. The method is applied to an intermediate-band solar cell prototype made with InAs quantum dots in GaAs.