A simple numerical approach to probe the gap evolution with temperature of semiconductors is proposed. The method is based on the measured open-circuit voltage and short-circuit current density of solar cells. The application of the scheme in the case of silicon gives satisfying results.