These three parts cover 90% of voltage regulation needs: AMS1117 (1A LDO), LM2596 (3A buck converter), and LM317T (1.5A adjustable linear regulator). But they work completely differently - a linear regulator burns excess voltage as heat, while a switching regulator chops and filters it at high efficiency.
This direct comparison covers efficiency, thermal performance, BOM cost, noise, and application fit so you can pick the right part on the first design spin.
| If You Need… | Buy This | Because… |
|---|---|---|
| 3.3V from 5V USB at <1A | AMS1117-3.3 | Low dropout (1.1V), tiny SOT-223, $0.10 |
| 5.0V from 7-12V at <1A | AMS1117-5.0 | Clean output, simple circuit, same low cost |
| 5.0V from 12V at 1-3A | LM2596-5.0V | 82% efficiency vs 40% for linear - no heatsink needed |
| Adjustable 1.25-37V at <1.5A | LM317T | Classic adjustable linear, known by every engineer |
| Adjustable 1.23-37V at up to 3A | LM2596S-ADJ | Switching = 75-85% efficiency at high differential |
| 12V→3.3V at >500mA | LM2596S-ADJ | Linear would dissipate 8.7W+ (needs huge heatsink) |
| Cleanest possible output | AMS1117 or LM317T | Linear has 0.01%/V line reg vs 1-2% for switching |
| Parameter | AMS1117-3.3/5.0 | LM317T | LM2596S-ADJ/-5.0V |
|---|---|---|---|
| Type | Linear LDO | Linear Adjustable | Switching Buck |
| Output Voltage | Fixed 3.3V or 5.0V | Adj 1.25V–37V | Adj 1.23V–37V or Fixed 5V |
| Max Output Current | 1A | 1.5A | 3A |
| Dropout / Headroom | 1.1V | 2.0V | Depends on Vin/Vout ratio |
| Efficiency at 12V→5V | 42% | 42% | 82% |
| Output Noise | <100 µVrms | <100 µVrms | 10-50 mVpp |
| External Components | 2 caps | 2 caps + 2 resistors | Caps + inductor + diode + resistors |
| Package | SOT-223 (tiny) | TO-220 (through-hole) | TO-263 / TO-220 |
| Price (qty 1000+) | $0.08–$0.15 | $0.25–$0.40 | $0.50–$0.85 |
| Total BOM Cost | ~$0.20 | ~$0.45 | ~$1.20–1.80 |
| Vin | Vout | Iout | AMS1117 | LM317T | LM2596 |
|---|---|---|---|---|---|
| 5V | 3.3V | 500mA | 66% | - | - |
| 7V | 5.0V | 500mA | 71% | 71% | 80% |
| 12V | 5.0V | 1A | 42% | 42% | 82% |
| 12V | 3.3V | 1A | 28% | 28% | 78% |
| 24V | 5.0V | 500mA | 21% | 21% | 80% |
Key insight: When Vin − Vout > 4V, linear regulators waste more than half the input power as heat.
| Scenario | AMS1117 Dissipation | LM2596 Dissipation | Winner |
|---|---|---|---|
| 5V→3.3V @ 500mA | 0.85W | - | AMS1117 (simple) |
| 12V→5V @ 1A | 7.0W | ~1.5W | LM2596 (5× less heat) |
| 12V→3.3V @ 1A | 8.7W | ~2.3W | LM2596 (4× less heat) |
| 24V→5V @ 500mA | 9.5W | ~1.9W | LM2596 (5× less heat) |
Buyer rule: If you need >500mA AND Vin − Vout > 4V, go switching (LM2596).
| Component | Cost (qty 1000) |
|---|---|
| AMS1117-3.3 regulator | $0.10 |
| Input cap + output cap | $0.02 |
| Total | ~$0.12 |
Best for: Low-power designs, tight budgets, clean output needed.
| Component | Cost (qty 1000) |
|---|---|
| LM317T regulator | $0.30 |
| Resistors + caps + heatsink | $0.14 |
| Total | ~$0.44 |
Best for: Through-hole designs, adjustable output, general lab use.
| Component | Cost (qty 1000) |
|---|---|
| LM2596S-ADJ regulator | $0.55 |
| Inductor + Schottky + caps + resistors | $0.40 |
| Total | ~$0.95 |
Best for: 1-3A loads, high Vin−Vout differential, battery-powered devices.
| Project | Vin | Vout | Iout | Best Regulator |
|---|---|---|---|---|
| ESP32 breakout board (USB) | 5V | 3.3V | 300mA | AMS1117-3.3 |
| Bench variable power supply | 12V | 1.25-12V | 1A | LM317T |
| 3D printer controller | 24V | 5V | 2A | LM2596-5.0V |
| Audio DAC board | 9V | 5V | 300mA | AMS1117-5.0 or LM317T |
| Multi-rail FPGA board | 12V | 3.3+1.8+1.2V | 3A total | LM2596S-ADJ (×3) |
| USB-C PD sink (20V→5V) | 20V | 5V | 3A | LM2596-5.0V |
Switching (LM2596) wins when Vin−Vout > 3V. At 12V→5V, LM2596 achieves 82% vs 42% for linear.
Only if Iout < 1A AND Vin−Vout < 4V. Otherwise, the heat dissipation is unmanageable.
Yes - but output has 10-50 mVpp ripple. Add LC filter or LDO post-regulator for clean output.
LM2596 for loads >100mA (efficiency). AMS1117 for always-on rail (quiescent current).
AMS1117/LM317T: <100 µVrms. LM2596: 10-50 mVpp. Digital loads don't care. Analog does.
AMS1117 at ~$0.12/rail. LM317T at ~$0.44. LM2596 at ~$0.95.
ICMASS stocks all five parts with traceable batch numbers and volume pricing.
| Use Case | Regulator | Reason |
|---|---|---|
| 3.3V rail from 5V USB, <500mA | AMS1117-3.3 | Cheapest, simplest, cleanest |
| 5V analog/audio rail | AMS1117-5.0 or LM317T | Clean output, low noise |
| Variable output bench supply | LM317T | Classic, proven, every engineer knows it |
| 12V→5V at 1-3A, digital logic | LM2596-5.0V | 82% efficiency, no heatsink |
| High differential (>10V), any current | LM2596 | Linear would burn more power than the load |
TL;DR: <500mA with <4V differential → AMS1117. Adjustable output at low current → LM317T. Anything over 500mA or high differential → LM2596.
Comparison guide by ICMASS - your sourcing partner for power management ICs.





