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%.
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Ω.
Optimal Standard Resistor Pairs
| Upper R1 | Lower R2 | Actual Vout | Error | Divider Current |
|---|
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 V | 3.24 kΩ | 10.0 kΩ | 3.303 V | +0.09% |
| TL431 (Vref=2.495V) | 5.00 V | 10.0 kΩ | 10.0 kΩ | 4.990 V | -0.20% |
| TL431 (Vref=2.495V) | 9.00 V | 26.1 kΩ | 10.0 kΩ | 9.009 V | +0.10% |
| TL431 (Vref=2.495V) | 12.0 V | 38.3 kΩ | 10.0 kΩ | 12.05 V | +0.42% |
| AMS1117-ADJ (Vref=1.25V) | 3.30 V | 120 Ω | 196 Ω | 3.292 V | -0.24% |
| AMS1117-ADJ (Vref=1.25V) | 5.00 V | 120 Ω | 360 Ω | 5.000 V | 0.00% |
| LM317 (Vref=1.25V) | 12.0 V | 240 Ω | 2.05 kΩ | 11.92 V | -0.67% |
Frequently Asked Questions on Voltage Dividers (FAQ)
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.
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.
Get Free Samples & Technical Support
Dongguan/Shenzhen Manufacturing Base: SMT copper bars, PCB terminals, and custom hardware.