LDO Voltage Regulator Calculator

Calculate LDO dropout headroom, power dissipation, junction temperature, and feedback resistors for adjustable LDOs. Covers AMS1117, MCP1700, XC6206, NCP5662, and more.

LDO IC

Vdo(max) 1.200 VIout(max) 800 mAIq 5 mAθJA 160 °C/W

Design parameters

Fixed Vout = 3.3 V · Vin(min) = 4.50 V

Result

Dropout headroom (Vin − Vout)

1.700 V

✓ OK — 0.500 V margin over Vdo(max)

Junction temperature Tj

56.2 °C

69 °C margin · θJA ≤ 513 °C/W

Vout3.300 V
Min Vin for regulation4.50 V
Power dissipation195.0 mW
Efficiency62.9 %

Common LDO ICs

ICVoutVdo(max)IoutIqθJANotes
AMS1117-3.33.3 V fixed1.2 V800 mA5 mA160 °C/WMost common, high Iq, SOT-223/TO-252
MCP1700Fixed 1.8–5 V178 mV250 mA1.6 µA335 °C/WUltra-low Iq, good for battery/sleep
XC6206Fixed 1.5–5 V250 mV200 mA1 µA300 °C/WUltra-low Iq, cheap, SOT-23 — popular in IoT
NCP5662ADJ 0.8–5 V250 mV300 mA45 µA260 °C/WAdjustable, low dropout, SOT-23-5
LP2985Fixed 1.8–5 V400 mV150 mA55 µA285 °C/WLow noise, good for ADC/RF supplies
TLV700333.3 V fixed200 mV300 mA95 µA260 °C/WLow dropout, SOT-23-5, TI
NCP4625ADJ 0.9–5.5 V300 mV500 mA80 µA240 °C/W500 mA adjustable, small SOT-23-5
RT9013Fixed/ADJ300 mV500 mA30 µA235 °C/WPopular in ESP32/nRF designs, SOT-25

How it works

An LDO (low-dropout) regulator passes current from input to output through a PMOS or PNP pass element, burning off the difference as heat. The output voltage is regulated by a feedback loop that compares the output (via a resistor divider) to an internal reference.

Pdiss = (Vin − Vout) × Iout + Vin × Iq
Tj = Ta + Pdiss × θJA

Two things kill LDO designs: insufficient dropout headroom and underestimated thermal dissipation.

Dropout voltage

The dropout voltage Vdo is the minimum Vin − Vout at which the LDO still regulates. Below this, the pass element saturates and the output follows the input minus a fixed offset — regulation is lost.

Vdo scales with load current. Most datasheets give it at the rated maximum. At lighter loads it drops significantly. For a 3.3 V design with AMS1117 (Vdo = 1.2 V), your input must be ≥ 4.5 V. That rules out a 3.7 V LiPo cell in most cases.

For battery-powered designs where Vin can drop to 3.0–3.6 V, choose a true-LDO with Vdo < 200 mV — MCP1700, XC6206, or TLV700xx family.

Thermal calculation

The LDO dissipates Pdiss as heat. The package thermal resistance θJA converts that to a junction temperature rise above ambient:

Tj = Ta + Pdiss × θJA

Keep Tj < Tj_max (typically 125 °C). In practice, derate to 100 °C to avoid premature aging.

A SOT-23 package has θJA ≈ 250–335 °C/W, which limits dissipation to around 200–360 mW before Tj becomes problematic at 25 °C ambient. High-dissipation designs need SOT-223 (θJA ≈ 100–160 °C/W) or TO-252, ideally with a copper pour under the tab.

Example: 5 V in, 3.3 V out, 500 mA load, SOT-23, Ta = 25 °C:

Pdiss = (5 − 3.3) × 0.5 = 0.85 W
Tj = 25 + 0.85 × 300 = 280 °C  ← thermal shutdown

That SOT-23 will protect itself but won’t regulate continuously. Use a buck converter instead, or a SOT-223 with copper pour.

Feedback resistors for adjustable LDOs

Adjustable LDOs (AMS1117-ADJ, NCP5662, TLV1117-ADJ) set their output with an external resistor divider from output to feedback pin to ground:

Vout = Vref × (1 + R1 / R2)
R1 = R2 × (Vout / Vref − 1)

Vref is the internal reference (1.25 V for AMS1117, 0.8 V for NCP5662). A typical design uses R2 = 10 kΩ–100 kΩ; higher values reduce quiescent current drain but increase susceptibility to noise. With R2 = 10 kΩ and Vref = 1.25 V, the divider draws only 125 µA — negligible for most designs.

After calculating R1, round to the nearest E24 standard value. The calculator shows the resulting Vout error so you can decide whether to trim or accept it. For ±1% accuracy, use 1% resistors; E96 values aren’t usually necessary.

Common mistakes

Forgetting the minimum Vin over the full battery discharge curve. A fresh 2S LiPo delivers 8.4 V; a discharged one gives 6.0 V. If your LDO plus load needs 6.2 V minimum, the circuit will drop out before the battery is dead. Design for the end-of-discharge voltage, not the nominal.

Using AMS1117 on battery. The AMS1117’s 5 mA quiescent current drains a 250 mAh coin cell in 50 hours with zero load. Use XC6206 (1 µA Iq) or MCP1700 (1.6 µA Iq) for anything running from a battery.

No output capacitor, or wrong type. Many LDOs require a minimum output capacitance for stability — typically 1–10 µF. Some older designs (AMS1117) specifically need capacitors with an ESR in the 0.1–1 Ω range; an MLCC alone can cause oscillation. Check the datasheet’s stability section. Newer LDOs (MCP1700, TLV700xx) work fine with ceramic caps.

Ignoring the Iq path. Quiescent current flows from Vin to ground (or output) through the LDO’s bias circuitry, regardless of load. For high-Iq parts like AMS1117 (5 mA), this dominates the power budget at light loads. The calculator includes Iq in the dissipation calculation; verify the total Vin × Iq loss is acceptable.

Thermal runaway in high-temperature environments. Ta = 85 °C is common in automotive and outdoor designs. A dissipation that’s safe at 25 °C may exceed Tj_max at 85 °C. Always recalculate for the worst-case ambient.

Thermal resistance converter

The calculator’s second tab converts between thermal conductivity and thermal resistance, and computes series/parallel thermal networks.

Conductivity to resistance

Thermal resistance quantifies how much temperature rise a material produces per watt of heat flowing through it. For a flat slab:

Rth = L / (k × A)

Where L is thickness (m), k is thermal conductivity (W/m·K), and A is cross-section area (m²). Result is in °C/W — identical to K/W, since the degree size is the same for both scales.

Common values matter for PCB stackups: FR4 sits at 0.3 W/m·K, making it a poor thermal conductor. A 1.6 mm FR4 board under a 10×10 mm pad gives Rth = 1.6 × 1000 / (0.3 × 100) = 53 °C/W. A 2×2 mm copper pour (401 W/m·K, same thickness) over the same area drops that path to under 1.1 °C/W — copper is roughly 1300x better than FR4 for the same geometry. Thermal paste between a package tab and a heatsink typically has k = 3–8 W/m·K; a 0.1 mm layer over 25 mm² gives Rth ≈ 0.5–0.8 °C/W depending on grade.

The thermal conductivity to thermal resistance converter accepts thickness in mm and area in mm² directly — no manual unit conversion needed.

Series and parallel networks

The full thermal path from die junction to ambient is a series chain:

Rth_total = Rθ_JC + Rθ_CS + Rθ_SA
            junction-to-case + case-to-board + board-to-ambient

A TO-252 LDO on a small heatsink might be: 10 °C/W (θJC, junction-to-case) + 0.8 °C/W (TIM interface, 0.1 mm over 25 mm²) + 8 °C/W (heatsink, natural convection) = 18.8 °C/W total. At 1 W dissipation that’s only an 18.8 °C rise. Compare to a SOT-223 on minimal copper (θJA ≈ 160 °C/W): at 1 W the junction rises 160 °C — already over the limit at 25 °C ambient.

Parallel paths combine as 1/Rth_total = 1/R1 + 1/R2. Heat spreading through a copper pour alongside the package body runs in parallel with the package’s own Rth_CS — reducing total resistance and improving cooling without adding a heatsink.

The thermal resistance unit converter tab handles both calculations — enter the individual Rth values in °C/W, choose Series or Parallel, and read the combined result along with ΔT projections at common dissipation levels.

Frequently asked questions

Why does my AMS1117 LDO overheat and enter thermal shutdown? +

The AMS1117 in SOT-223 has a thermal resistance of approximately 160 °C/W. At 5 V input, 3.3 V output, and 500 mA load: Pdiss = (5 − 3.3) × 0.5 = 0.85 W, giving Tj = 25 + 0.85 × 160 = 161 °C — above the 125 °C maximum. The device protects itself via thermal shutdown but cannot regulate continuously at this dissipation. Use a buck converter for this power level, or add a copper pour heatsink pad under the SOT-223 tab.

Can I use an AMS1117 in a battery-powered design? +

The AMS1117 has a quiescent current of 5 mA regardless of load. This drains a 250 mAh CR2032 coin cell in about 50 hours with zero load. For any battery-powered design use a low-Iq LDO instead: the XC6206 draws 1 µA quiescent, the MCP1700 draws 1.6 µA with a dropout voltage below 178 mV, and the TLV700xx family supports down to 1.4 V input. The AMS1117 is only appropriate for mains-powered or USB-powered designs.

Why is my LDO output oscillating? +

Many LDOs — particularly older bipolar designs like the AMS1117 — require a minimum output capacitor ESR in the range of 0.1–1 Ω for stability. Using a low-ESR MLCC ceramic capacitor alone causes the feedback loop to oscillate. Add a small series resistor (0.1–0.5 Ω) in series with the output cap, or switch to a ceramic-stable LDO like the MCP1700 or TLV700xx which are designed for MLCC output capacitors.

Newsletter

The embedded engineer's weekly cheat sheet

Register tricks, timing gotchas, and tool updates. One email per week. No fluff.

No spam. Unsubscribe anytime.