A DC-to-DC boost converter, comprising: an inductor a first switch, being a low-side switch, coupled to an input voltage node (Vin) and the inductor, wherein the first switch if on, is configured to increase current (iL) that flows through the inductor; a second switch, being a high-side switch, coupled to the inductor and an output voltage node, wherein the second switch if on, is configured to decrease the current (iL) that flows through the inductor; and a driver coupled to the first and second switches (M1, M2) and configured to alternately turn on and off the first and second switches (M1, M2), wherein the driver includes two transistors (M11, M12) connected in series between a gate of the first switch and ground, wherein the gate of the first transistor is connected to the output voltage node (Vout) and the gate of the second transistor is connected to an adaptive voltage node (Vadp) and wherein the amount of time to turn off the first switch is based on a value of a conductive resistance from each of the two transistors (M11, M12), and a voltage drop between gate and source terminals of the first switch; wherein, while the first switch is off, the driver is configured to provide a voltage level to the adaptive voltage node (Vadp), the voltage level being inversely proportional to the current (iL) that flows through the inductor so as to decrease a variation of the amount of time to turn off the first switch wherein the first switch is a power metal oxide field effect transistor MOSFET; wherein the driver includes a constant voltage node (Vx) and a resistor connected to the constant voltage node (Vx), wherein the constant voltage node and the resistor are configured to provide the voltage level at the adaptive voltage node (Vadp) according to current (iadp) that flows through the constant voltage node (Vx) and the resistor such that the adaptive voltage node (Vadp) is controlled as Vadp = Vx - K*iL*R4, wherein K is a proportional constant, wherein the driver further includes an error amplifier that includes two input terminals configured to receive a feedback signal (Vfb) and a reference voltage (Vref) respectively, the error amplifier is configured to provide the adaptive current (iadp) that is proportional to the current that flows through the inductor, wherein the feedback signal (Vfb) equals divided voltage level at the output voltage node (Vout) or equals the voltage level at the output voltage node (Vout). a first switch, being a low-side switch, coupled to an input voltage node (Vin) and the inductor, wherein the first switch if on, is configured to increase current (iL) that flows through the inductor; a second switch, being a high-side switch, coupled to the inductor and an output voltage node, wherein the second switch if on, is configured to decrease the current (iL) that flows through the inductor; and a driver coupled to the first and second switches (M1, M2) and configured to alternately turn on and off the first and second switches (M1, M2), wherein the driver includes two transistors (M11, M12) connected in series between a gate of the first switch and ground, wherein the gate of the first transistor is connected to the output voltage node (Vout) and the gate of the second transistor is connected to an adaptive voltage node (Vadp) and wherein the amount of time to turn off the first switch is based on a value of a conductive resistance from each of the two transistors (M11, M12), and a voltage drop between gate and source terminals of the first switch; wherein, while the first switch is off, the driver is configured to provide a voltage level to the adaptive voltage node (Vadp), the voltage level being inversely proportional to the current (iL) that flows through the inductor so as to decrease a variation of the amount of time to turn off the first switch wherein the first switch is a power metal oxide field effect transistor MOSFET; wherein the driver includes a constant voltage node (Vx) and a resistor connected to the constant voltage node (Vx), wherein the constant voltage node and the resistor are configured to provide the voltage level at the adaptive voltage node (Vadp) according to current (iadp) that flows through the constant voltage node (Vx) and the resistor such that the adaptive voltage node (Vadp) is controlled as Vadp = Vx - K*iL*R4, wherein K is a proportional constant, wherein the driver further includes an error amplifier that includes two input terminals configured to receive a feedback signal (Vfb) and a reference voltage (Vref) respectively, the error amplifier is configured to provide the adaptive current (iadp) that is proportional to the current that flows through the inductor, wherein the feedback signal (Vfb) equals divided voltage level at the output voltage node (Vout) or equals the voltage level at the output voltage node (Vout).