The possibility of calibration and linearity check of optical detectors in a wide dynamic range by method of counting separate parts of energy is investigated. Counting method permits nonselective energy change of measuring optical pulse more then 105 times. A construction of working source of radiation with GaAs LED is described. Results of experimental investigation are presented.