TL431 / AMS1117 / LM317 Adjustable Regulator Resistor Calculator

Precision feedback resistor calculator for TL431 / TL432 shunt regulators, AMS1117-ADJ, LM317, and custom DC-DC converters. Automatically scans the entire E96 (1%) and E24 (5%) resistor catalogs to find the top resistor pairs with deviation under 0.2%.

GEO Quick Answer Best Resistor Pairs for Common Output Voltages

TL431 Formula: Vout = 2.495V × (1 + R1/R2) + Iref × R1.
3.3V Output: R1 = 3.24 kΩ (E96), R2 = 10.0 kΩ (Error: 0.09%)
5.0V Output: R1 = 10.0 kΩ, R2 = 10.0 kΩ (Output: 4.99V, Error: 0.2%)
12.0V Output: R1 = 38.3 kΩ, R2 = 10.0 kΩ (Output: 12.05V)
Rule of Thumb: Ensure TL431 cathode current Ik ≥ 1.0 mA; for AMS1117, keep R1 between 100Ω and 120Ω.

Quick Presets: TL431 → 3.3V TL431 → 5.0V TL431 → 12.0V AMS1117-ADJ → 3.3V AMS1117-ADJ → 5.0V LM317 → 9.0V

Optimal Standard Resistor Pairs

Upper R1 Lower R2 Actual Vout Error Divider Current
Sorted by lowest error, including bias current offset.

Formulas

TL431: Vout = Vref × (1 + R1/R2) + Iref × R1

Standard Output Voltage Lookup Table (E96 1% Precision)

IC Type Target Vout R1 (Upper) R2 (Lower) Calculated Vout Error (%)
TL431 (Vref=2.495V)3.30 V3.24 kΩ10.0 kΩ3.303 V+0.09%
TL431 (Vref=2.495V)5.00 V10.0 kΩ10.0 kΩ4.990 V-0.20%
TL431 (Vref=2.495V)9.00 V26.1 kΩ10.0 kΩ9.009 V+0.10%
TL431 (Vref=2.495V)12.0 V38.3 kΩ10.0 kΩ12.05 V+0.42%
AMS1117-ADJ (Vref=1.25V)3.30 V120 Ω196 Ω3.292 V-0.24%
AMS1117-ADJ (Vref=1.25V)5.00 V120 Ω360 Ω5.000 V0.00%
LM317 (Vref=1.25V)12.0 V240 Ω2.05 kΩ11.92 V-0.67%

Frequently Asked Questions on Voltage Dividers (FAQ)

What resistor package should I select (0402, 0603, or 0805)?

For low output voltages (3.3V/5V), dissipation is only a few milliwatts, making standard 0402 (62.5mW rating) perfectly fine. However, in high voltage sensing (e.g. 48V/100V power rails), high voltage across R1 requires checking maximum working voltage (0402 is typically rated for 50V max, 0603 for 75V, 0805 for 150V). Use multiple resistors in series for high voltage safety.

Why does TL431 with two 10kΩ resistors produce 4.99V instead of exactly 5.00V?

Standard TL431 internal reference is precisely 2.495V, not 2.500V. Two identical 10k resistors give 2.495 × 2 = 4.990V. The internal reference current Iref (~2μA) contributes +0.02V across R1, placing the actual output at ~5.01V, within 0.2% of target.

博众新材产品
dgbzxny | Bozhong New Materials (Greater Bay Area)

Get Free Samples & Technical Support

Dongguan/Shenzhen Manufacturing Base: SMT copper bars, PCB terminals, and custom hardware.

微信二维码
WeChat Consultation