To use the calculator enter two values. The blank field will be automatically calculated. If you fill in all three fields, the last calculated value will be recalculated. You can modify the units using the selectors.
A voltage regulator is a circuit (sometimes sold as a single component) that provides a fixed voltage at the output, regardless of the input voltage or the loading current. It is therefore very useful for generating voltage rails for a circuit. Voltage regulators can supply much more current than OP AMPs, but they are not very efficient. Keep this in mind if you are going to need a lot of current, as they will get quite hot and you may need a heatsink or fan. Power dissipation in this kind of voltage regulator is approximately P = (Vin - Vout) x Iload. Check dropout voltage and thermal limits before choosing the package. There are fixed output voltage regulators such as 5[V], or 3.3[V]. There are also adjustable ones. The latter allow the output voltage to be adjusted by using a pair of resistors. Adjustable regulators have, in addition to an input and an output, a pin that is usually called 'ADJ', for adjustment or 'Vref' for reference voltage. The adjustment pin has high-precision voltage, which can be of any value, but is usually 1.25[V] with respect to GND, or below the output (depending on regulator model). This is the case for the LM317 or LM1117, which are widely used regulators. The adjustment resistors go between the output and the adjustment pin, and between the adjustment pin and ground. The equation to adjust the output voltage is:
The adjustment network of an LM317-style regulator is basically a resistor ratio, so the voltage divider calculator is a handy companion. If that rail is feeding indicators or other small loads, the LED calculator is often useful right after.
$$V_{out} = V_{adj}\cdot\left(1+\dfrac{R_{bot}}{R_{top}}\right)+I_{adj}\cdot R_{bot} $$
Vadj is usually 1.25[V], but remember to confirm this on the datasheet. You should also know that, if you are not using the LM317 or LM1117, you may have to swap Rbot for Rtop and the other way around. This is due to how the internal construction of the regulator is. Iadj is usually an almost negligible value and, in most cases, can be approximated as 0 if your Rbot is low, in the range of hundreds of Ohms.
Suppose you have a microcontroller that is powered at 3.3[V] that you plan to use in a wireless device. This equipment is powered by a battery. Batteries vary their voltage a bit depending on their charge, so you decide to use a regulator to keep the microcontroller's power supply constant. How do you do this?
LM317 / LM1117 / AMS1117 Voltage Regulator LTSpice Simulation
Download this ready-to-use LTSpice simulation to evaluate the transient response, output stability, load regulation, and line regulation of your adjustable voltage regulator. This file is ideal for validating LM317, LM1117, and AMS1117 designs before building the circuit on hardware. You can visualize how the output voltage reacts to load changes, check startup behavior, and analyze compensation or capacitor choices to ensure a stable regulator.