A chromatic dispersion compensation system for an optical transmission system incorporates circuitry which determines the length of an optical fiber extending between an output amplifier and an input amplifier. Based on fiber type, the total chromatic dispersion on the fiber is determined. Compensation can then be automatically implemented.