A modulation technique is described to measure the optical absorption due to majority carriers (holes) in single layer and bilayer organic light-emitting diodes. It allows determination of the space-charge density inside the device at a given current, the time response of the system and the charge carrier mobility.