Regulator Compare
Set the input voltage, desired output voltage, load current, and switching efficiency — the widget instantly calculates the power loss and efficiency for both a linear (LDO) and a switching regulator. See exactly when a heatsink becomes mandatory and how much energy you save by switching.
Linear
Switching
Linear Efficiency
41.7%
Switching Efficiency
88%
Quick experiments
- 12 V → 5 V at 1 A. The linear regulator burns 7 W — enough to need a heatsink. The switcher at 88% loses only 0.68 W.
- Push the dropout. Set Vin just above Vout — linear efficiency climbs, but the dropout warning fires when the margin is too thin.
- High current. Raise Iout to 3 A and watch the linear loss bar skyrocket while the switching loss grows proportionally.
Voltage regulator types
A voltage regulator maintains a stable DC output despite variations in input voltage and load current. The choice between linear and switching regulators is primarily a trade-off between simplicity/noise and efficiency.
Linear regulator (LDO)
Drops excess voltage across a pass transistor: Ploss = (Vin − Vout) × Iload. Simple, very low noise, but efficiency falls sharply when Vin ≫ Vout. Use when efficiency is secondary and clean output is required (ADC supplies, RF circuits).
Switching regulator (buck/boost)
- Buck (step-down): Vout = D × Vin, where D = duty cycle. Efficiency 85–95 %.
- Boost (step-up): Vout = Vin / (1−D). Raises voltage, reduces current.
- Switching regulators introduce ripple and EMI — output filter (LC) essential.
Learn more → Linear vs Switching Regulators — Learn
Formula reference
- Linear regulator dissipation
12 V to 5 V at 1 A wastes 7 W as heat.
- Linear regulator efficiency
Set purely by the voltage ratio — the load current cancels.
- Dropout condition
A 7805 needs about 2 V; an LDO needs a few hundred millivolts.
- Junction temperature
Check against the maximum rating before trusting a design.
| Symbol | Meaning | Unit |
|---|---|---|
| Minimum input-to-output difference | V | |
| Junction-to-ambient thermal resistance | °C/W | |
| Junction temperature | °C |
Common mistakes
Choosing a linear regulator for a large voltage drop.
Dissipation is the voltage difference times current. Dropping 24 V to 5 V at 1 A burns 19 W — use a switcher.
Ignoring dropout voltage.
A 7805 cannot make 5 V from a 6 V battery. Once the input sags into dropout, the output simply follows it down.
Omitting the input and output capacitors.
Most regulators need specific capacitance for stability. Leaving them out, or using the wrong ESR, makes the regulator oscillate.
Sizing the heatsink from ambient rather than junction temperature.
Work from junction = ambient + dissipation × thermal resistance. A part that feels warm can still be over its junction rating internally.
Assuming a switcher is always the better choice.
Switchers inject ripple at their switching frequency. For analogue, RF and audio rails a linear regulator's quiet output is worth the lost efficiency.
Frequently asked questions
What is the difference between a linear regulator and a switching regulator?
A linear regulator burns the excess voltage as heat, so efficiency is roughly output divided by input voltage. A switching regulator chops and filters the input, reaching 85 to 95 percent efficiency regardless of the voltage difference.
How much heat does a linear regulator produce?
Dissipation is the input minus output voltage, times the load current. Dropping 12 V to 5 V at 1 A wastes 7 W as heat, which needs a substantial heatsink.
What is dropout voltage?
The minimum input-to-output difference a linear regulator needs to keep regulating. A 7805 typically needs about 2 V, so it cannot produce 5 V from a 6 V supply. Low-dropout regulators manage a few hundred millivolts.
When should I choose a linear regulator over a switcher?
Choose linear when the voltage difference and current are both small, or when noise matters — analogue front ends, RF and audio. Linear regulators produce no switching ripple and need far fewer external parts.
Why does my switching regulator produce noisy output?
Switching regulators generate ripple at their switching frequency, worsened by poor layout. Keep the high-current loop small, use low-ESR capacitors, and add an LC filter or a small LDO downstream where clean rails are needed.
Related tools
SCR Controlled Rectifier
Drag the firing angle and watch the half-wave output reshape in real time.
Open →DC-DC Converter
Buck, boost, buck-boost — switch node voltage, ON/OFF shading, slope equations, CCM/DCM live.
Open →Inverter
H-bridge switching states, harmonic spectrum, current waveform, SPWM carrier — all live.
Open →Power Factor Analyzer
Displacement vs distortion PF, harmonic spectrum, before/after PFC comparison — live.
Open →Transformer Playground
Turn ratio, MMF balance, and live V / I on an ideal transformer.
Open →Browse the full circuit toolkit or start a guided lesson in topics.