A DC-to-DC converter includes a first DC side, a second DC side, a first capacitor, a first switch circuit, a magnetic element circuit, a second switch circuit, and a second capacitor. The DC-to-DC converter is adapted for converting between a first DC voltage and a second DC voltage. The magnetic element circuit is electrically coupled to the first switch circuit, and includes a plurality of magnetically coupled windings and an inductor. An oscillating current flowing in the first switch circuit is generated by controlling the first switch circuit and the second switch circuit, and an oscillating frequency of the oscillating current is determined by the capacitance of the first capacitor and the inductance of the inductor in the magnetic element circuit, and the first switch circuit and the second switch circuit are switched at a specific region of a wave trough of the oscillating current.