Transformers used for voltage conversion at mains frequencies of 50–60 Hz must be large and heavy for powers exceeding a few watts. This makes them expensive, and they are subject to energy losses in their windings and due to eddy currents in their cores. DC-to-DC techniques that use transformers or inductors work at much higher frequencies, requiring only much smaller, lighter, and cheaper wound components. Consequently these techniques are used even where a mains transformer could be used; for example, for domestic electronic appliances it is preferable to rectify mains voltage to DC, use switch-mode techniques to convert it to high-frequency AC at the desired voltage, then, usually, rectify to DC. The entire complex circuit is cheaper and more efficient than a simple mains transformer circuit of the same output. DC-to-DC converters are widely used for DC microgrid applications, in the context of different voltage levels.
