A compound in which there is an element, which is usually a metal with d or f electrons, in two oxidation states. An example of a mixed-valence compound is magnetite, which contains iron in both the +2 and +3 oxidation states. Many mixed-valence compounds have unusual magnetic and thermal properties.