To output 12V at 1.5A (18W) from a 5V source using a standard XL6009 buck-boost converter module (assuming 80% combined efficiency due to the cascaded linear regulator), the module will draw 4.50A from your 5V supply. The raw XL6009E1 chip is actually a boost-only IC; the ubiquitous red 'buck-boost' modules achieve step-down by cascading a linear regulator (like an LM317) on the output, which drastically alters the efficiency conversion math compared to a true switching buck topology.

The foundational power conversion formula, accounting for efficiency (η), is:

I_in = (V_out × I_out) / (V_in × η)

Substituting our 5V-to-12V query values at an assumed 80% efficiency (0.80):

I_in = (12V × 1.5A) / (5V × 0.80) = 18W / 4.0W = 4.50A

Neighboring Output Current Values (±20% Range)

Target I_out (A)P_out (W)Required I_in at 5V (A)Input Power (W)
1.20A (-20%)14.4W3.60A18.0W
1.35A (-10%)16.2W4.05A20.25W
1.50A (Base)18.0W4.50A22.5W
1.65A (+10%)19.8W4.95A24.75W
1.80A (+20%)21.6W5.40A27.0W

The Topology Reality Check: Why Efficiency Varies

The most common mistake hobbyists make with the XL6009 is treating it as a unified, high-efficiency switching buck-boost IC. According to the XLSEMI XL6009E1 Datasheet, the silicon itself is strictly a step-up (boost) regulator with a 4A internal switch limit. To provide 'buck' (step-down) functionality on cheap red modules, manufacturers solder a secondary linear regulator (often an LM317 or similar LDO) after the boost stage.

Critical Assumption Fix: The 4.50A answer above assumes you are using a module with a cascaded linear regulator for the buck stage. If your specific module uses a dual-switching topology (rare, but exists on higher-end boards), your efficiency (η) jumps to ~88%, dropping the required input current to 4.09A. Always check the back of your PCB for a second 3-pin IC with a heatsink tab.
Operating ModeModule TopologyTypical Efficiency (η)Max Safe Continuous Output
Boost (5V → 12V)XL6009 Switching Only~88%2.5A (Thermal limit)
Buck (12V → 5V)Cascaded Linear (LM317)~41% (V_out/V_in)0.8A (Heatsink limit)
Buck (12V → 5V)Cascaded Switching (Modded)~82%2.0A
SEPIC (True Buck-Boost)Requires external coupled inductor~85%1.0A

How the Math Shifts Across Voltage Domains

Just as AC calculations shift drastically between 120V single-phase and 230V three-phase, DC-DC conversion math shifts violently depending on your input source and whether the module is forced into its inefficient linear-buck mode. Let's look at how the input current requirement changes for a fixed 10W output load (e.g., 5V at 2A) across common bench and battery voltages.

  • 5V USB Input to 12V Output (Boost Mode): The XL6009 operates in its native, highly efficient switching mode. Assuming η = 0.88, drawing 10W out requires 10 / (5 × 0.88) = 2.27A from the USB bank. This is well within standard USB-C PD limits.
  • 12V Lead-Acid Input to 5V Output (Linear Buck Mode): Here, the module steps down using the linear cascade. Efficiency is strictly bound by the voltage ratio: 5V / 12V = 41.6%. To get 10W out, the module draws 10 / (12 × 0.416) = 2.0A. While the input current looks low, the module is burning 14W as pure heat across the linear regulator. Without active cooling, the module will hit thermal shutdown in under 60 seconds.
  • 24V LiFePO4 Input to 12V Output (Linear Buck Mode): Efficiency drops to a disastrous 12 / 24 = 50%. For a 10W load, input current is 10 / (24 × 0.50) = 0.83A, but the voltage drop across the linear stage (12V) at 0.83A generates nearly 10W of heat. The stock TO-220 heatsink cannot dissipate this without a fan.

For deeper insights into why linear cascades destroy efficiency in DC-DC designs, review the topology breakdowns in Analog Devices' DC-DC Converter Topology Guide.

When the Conversion Math Breaks Down (Limits & Dead Zones)

The formula I_in = P_out / (V_in × η) assumes ideal components. In the real world, the conversion becomes meaningless—and the hardware will fail—if you hit any of these three physical limits:

1. Inductor Saturation (The 47µH Bottleneck)

The stock surface-mount inductor on standard XL6009 modules is typically rated for 2A to 3A of saturation current (I_sat). If your math dictates an input current of 4.50A (as in our 5V-to-12V example), the inductor core will saturate. Once saturated, the inductor acts as a low-resistance wire, current spikes uncontrollably, and the XL6009's internal MOSFET will blow. Fix: For any calculated I_in > 3A, you must desolder the stock inductor and replace it with a shielded 47µH inductor rated for at least 6A saturation.

2. Maximum Duty Cycle Dead Zone

The XL6009E1 has a hard maximum duty cycle limit of roughly 90%. If your input voltage sags (e.g., a depleted 18650 cell dropping to 3.0V) and you are demanding 12V out, the required duty cycle exceeds 90%. The chip cannot physically keep the switch on long enough to transfer the required energy. The output voltage will collapse, and the math no longer applies because the converter has dropped out of regulation.

3. Thermal Shutdown Threshold

The silicon features internal thermal shutdown at 160°C. If you are operating in the 'buck' mode via the linear cascade, the junction temperature rise is calculated by ΔT = P_dissipated × θ_JA. With a typical junction-to-ambient thermal resistance (θ_JA) of 50°C/W for the TO-220 package, dissipating just 2W of heat raises the die temperature by 100°C above ambient. On a 30°C workbench, you are already at 130°C. Push the math any further, and the chip will oscillate in and out of thermal protection, delivering a stuttering, unusable output voltage.

Bench Verification: Never trust the silk-screen trim pot on these modules. Always connect a multimeter to the output terminals and adjust the pot while the module is under its actual operating load. The voltage will sag 0.2V to 0.5V under load compared to the open-circuit state.