7805 vs. AMS1117: Choosing a Linear Regulator

The key difference between the 7805 and the AMS1117 is dropout voltage: to hold its output at 5 V, the L7805CV needs about 2 V more at its input, i.e. 7 V; for the AMS1117-3.3 this margin is at most 1.4 V at 1 A, and in a small LDO such as the LP2985 it does not exceed 0.35 V at 150 mA. Three questions determine the right linear regulator: how many volts lie between input and output, how many amperes the load draws, and where the difference will go as heat. This guide compares three parts using their datasheet values and shows how to make the selection by calculation.
What are a linear regulator and an LDO?
A linear regulator is a voltage regulator that keeps its output constant by dropping the excess input voltage across its pass transistor. The entire load current flows through this transistor; the difference between input and output, multiplied by the current, turns into heat. The circuit is simple, needs no inductor and has no switching noise at its output. In return, its efficiency is roughly the ratio of the output voltage to the input voltage.
Dropout voltage is the smallest input-output difference at which the regulator can still regulate its output. If the input falls below this limit, the output starts to fall along with the input. LDO (low dropout) is the name given to linear regulators designed to keep this difference small. The three parts in this article represent three different generations of the same family:
- L7805CV: Classic 5 V fixed regulator in a TO-220 package. Dropout typically 2 V at 1 A.
- AMS1117-3.3: 3.3 V, 1 A class low-dropout regulator in a SOT-223 package. Dropout typically 1.3 V at 1 A.
- LP2985A-33DBVR: 3.3 V, 150 mA, low-noise LDO with a shutdown (ON/OFF) input in a SOT-23-5 package. Dropout at most 0.35 V at 150 mA.
7805, AMS1117 and LP2985 comparison table
The values below are taken from the manufacturers’ datasheets (STMicroelectronics L78, Slkor AMS1117, Texas Instruments LP2985). Unless otherwise noted, they are for 25 °C.
| Parameter | L7805CV | AMS1117-3.3 | LP2985A-33DBVR |
|---|---|---|---|
| Output voltage | 5 V (4.8–5.2 V at 25 °C) | 3.3 V (3.234–3.366 V) | 3.3 V |
| Maximum output current | Up to 1.5 A | 1 A | 150 mA |
| Dropout voltage | 2 V typical (1 A) | 1.3 V typical, 1.4 V max (1 A) | 0.35 V max (150 mA) |
| Input voltage limit | 35 V (absolute maximum) | 30 V (absolute maximum) | 16 V (recommended operating limit) |
| Regulator’s own current | 8 mA max | 3 mA typical, 10 mA max | 95 µA max at no load |
| Thermal resistance, junction-to-ambient | 50 °C/W (TO-220) | 150 °C/W (SOT-223) | Approx. 180–205 °C/W (SOT-23-5) |
| Operating junction temperature | 0 to 125 °C | −40 to 125 °C | −40 to 125 °C |
| Capacitors | Input 0.33 µF, output 0.1 µF | Input 10 µF, output at least 10 µF tantalum | Input at least 1 µF, output at least 2.2 µF |
| Protection | Current limiting, thermal protection | Current limiting, thermal protection | Current limiting, thermal protection |
| Package | TO-220 | SOT-223 | SOT-23-5 |
Two notes: the LP2985 datasheet lists the old and new production versions of the part separately; the dropout and current values in the table are limits met by both versions. Across the full −40 to 125 °C range, the LP2985’s dropout limit rises to 0.575 V at 150 mA, so it is safer to calculate with this value.
Dropout voltage: what is the minimum input voltage?
The minimum input voltage is found by adding the dropout to the output voltage. The worst-case voltage of your source (a discharged battery, an adapter’s value under load, the bottom of the ripple after a rectifier) must stay above this limit.

- L7805CV: 5 V + 2 V = 7 V. The datasheet specifies the 4.75–5.25 V output tolerance over 0–125 °C for inputs between 7 V and 18 V. A 9 V or 12 V adapter is suitable; 5 V cannot be guaranteed from a 6 V source.
- AMS1117-3.3: 3.3 V + 1.4 V = 4.7 V. There is enough margin to generate 3.3 V from a 5 V rail. A single-cell Li-ion battery, which is 4.2 V when fully charged, falls below this limit.
- LP2985 (3.3 V): At 150 mA, 3.3 V + 0.35 V = 3.65 V at 25 °C, and 3.3 V + 0.575 V = 3.875 V over the full temperature range. If the load is 50 mA, the dropout limit is 0.225 V over the full temperature range and the input can go down to 3.525 V. For this part, the datasheet defines dropout as the point where the output drops by 100 mV; leave some margin above these values to keep the output at exactly 3.3 V.
Thermal calculation: power is usually the real limit
The power dissipated in a linear regulator is found with this formula:
P = (Vin − Vout) × Iload + Vin × Iq
The second term is the share of the regulator’s own current and is small in most cases. The junction temperature is calculated with TJ = Tambient + P × RthJA and must not exceed 125 °C for any of the three parts. The current values in the table can only be reached if this condition is met.
Example 1: 12 V to 5 V with the L7805CV
The thermal resistance of a TO-220 package without a heatsink is 50 °C/W. At 25 °C ambient, the allowable power is (125 − 25) / 50 = 2 W. With a 12 V input, 7 V drops across the regulator; that means about 2 / 7 ≈ 0.29 A without a heatsink. If the input were 9 V, the difference would fall to 4 V and the same package would allow 0.5 A. Taking the regulator’s own current (8 mA max) into account lowers these values slightly: about 0.27 A at a 12 V input.
If 1 A is to be drawn from 12 V, the power is 7 W. For 40 °C ambient, the total thermal resistance must not exceed (125 − 40) / 7 ≈ 12.1 °C/W. Since the package’s junction-to-case resistance is 5 °C/W, about 7 °C/W remains for the heatsink and mounting interface. A heatsink of this size takes up significant space on the board; with such a difference, a switching regulator should be considered.
Example 2: 5 V to 3.3 V with the AMS1117-3.3
The difference is 1.7 V. At a 300 mA load, the power is 1.7 × 0.3 = 0.51 W; with the 150 °C/W thermal resistance of the SOT-223, the temperature rise is about 77 °C, and at 25 °C ambient the junction reaches 102 °C. The datasheet gives a maximum power of 600 mW for the SOT-223 (at 25 °C ambient); this corresponds to about 0.35 A at a 5 V input. If you power the same part from 12 V, the difference becomes 8.7 V and the 600 mW limit allows only 69 mA. In short, the “1 A” value is the highest current the part can deliver; the current that can be drawn continuously is determined by the heat the package can dissipate.
Example 3: 3.3 V from a battery with the LP2985
Taking the thermal resistance of the SOT-23-5 package as 205 °C/W, the allowable power at 25 °C ambient is about 0.49 W. When 150 mA is drawn from 5 V, the power is 0.255 W and the temperature rise is 52 °C, which is no problem. If you raise the input to 12 V, the same current amounts to 1.3 W; this is too much for this package, and the current is limited to about 56 mA.
Typical application circuits and pin connections

- L7805CV (TO-220): With the marked face toward you and the leads pointing down, from left to right: input, GND, output. The metal tab is connected to GND. The 0.33 µF at the input is needed if the regulator is far from the filter capacitor; the 0.1 µF at the output is not required for stability but improves the response to sudden load changes.
- AMS1117-3.3 (SOT-223): Pin 1 GND, pin 2 VOUT, pin 3 VIN. The datasheet states that the tab is electrically connected to the output; therefore connect the large solder pad to the VOUT copper, not the GND copper. At least a 10 µF tantalum capacitor is required at the output, and 10 µF is also recommended at the input.
- LP2985 (SOT-23-5): Pin 1 VIN, pin 2 GND, pin 3 ON/OFF, pin 4 BYPASS, pin 5 VOUT. The regulator operates when ON/OFF is high; if it is not used, connect it to VIN. A 10 nF capacitor between BYPASS and GND reduces reference noise; the datasheet gives 30 µVRMS output noise with this capacitor.
Which one to choose in which situation?
| Situation | Suitable choice | Why |
|---|---|---|
| 5 V from a 9–12 V adapter, through-hole mounting, a heatsink can be fitted | L7805CV | There is more than enough margin for the 2 V dropout; the TO-220 package can be screwed to a heatsink. |
| 3.3 V from a 5 V rail, a few hundred mA | AMS1117-3.3 | The 1.4 V dropout fits within a 5 V input; the SOT-223 handles the heat up to about 0.35 A. |
| 3.3 V from a battery, up to 150 mA, long standby time | LP2985A-33DBVR | Dropout of a few tenths of a volt, its own current is in the microampere range, and it can be shut down with ON/OFF. |
| Large input-output difference and high current (e.g. 5 V from 24 V, 1 A) | Switching regulator | A linear regulator would generate 19 W of heat; efficiency would stay at 21%. |
In battery-powered devices, the regulator’s own current also enters the calculation. Even if the load draws no current at all, a 2000 mAh battery is drained in about 250 hours by the L7805CV’s 8 mA and in about 670 hours by the AMS1117’s typical 3 mA. With the LP2985’s maximum of 95 µA, the same calculation exceeds 21,000 hours; at that point, the battery’s self-discharge determines the run time.
Common mistakes
- Ignoring dropout. Powering a 7805 from a 6 V source or an AMS1117-3.3 from a single-cell Li-ion battery causes the output to stay below its nominal value.
- Treating the current rating as continuous current. 1 A or 1.5 A is the highest output current the part can deliver. Continuous current is determined by the power calculation.
- Omitting or undersizing the output capacitor. The AMS1117 and LP2985 need an output capacitor to operate stably; do not go below the minimum value in the datasheet.
- Soldering the SOT-223 tab to GND. On the AMS1117 the tab is connected to the output; if it is soldered to the GND copper, the output is short-circuited.
- Using a small package with a high input. Stepping down from 12 V to 3.3 V with a SOT-223 or SOT-23-5 package exceeds the allowable junction temperature above a few tens of milliamperes and eventually triggers thermal protection.
- Leaving the ON/OFF pin floating on the LP2985. If it is not used, it must be connected to VIN.
Frequently asked questions
Can you get 3.3 V from a 7805?
No. The L7805CV has a fixed 5 V output. The output voltages of the L78 series are 5, 6, 8, 8.5, 9, 12, 15, 18 and 24 V; for 3.3 V, use a regulator with a 3.3 V output such as the AMS1117-3.3 or LP2985.
Is a heatsink required on a 7805?
Yes, if the dissipated power exceeds 2 W. The thermal resistance of a TO-220 package without a heatsink is 50 °C/W; at 25 °C ambient this corresponds to 2 W. The limit is about 0.29 A at a 12 V input and 0.5 A at a 9 V input. These values drop as the ambient temperature rises.
How many amps can the AMS1117-3.3 deliver from 5 V?
About 0.35 A with the datasheet’s 600 mW SOT-223 power limit (at 25 °C ambient). Because 1.7 V drops across the regulator, 0.6 W of heat is generated at 0.35 A. For more, you need to improve cooling with the board’s copper area or move to a switching regulator.
Is the AMS1117 an LDO, and how is it different from the 7805?
The AMS1117 is a low-dropout linear regulator: typically 1.3 V at 1 A. On the L7805CV the same value is typically 2 V. In newer LDOs such as the LP2985, dropout is at most 0.35 V at 150 mA. All three are linear and turn the input-output difference into heat.
When should you choose a switching regulator instead of a linear regulator?
The efficiency of a linear regulator is approximately the ratio of the output voltage to the input: 42% from 12 V to 5 V, 66% from 5 V to 3.3 V. As the difference grows and the current increases, so does the heat. If the power you calculate is more than the package can dissipate, or if battery life matters, a switching (DC-DC) regulator is the better choice.
Conclusion
Linear regulator selection comes down to two calculations: is your input voltage above the output plus dropout, and can the package you selected dissipate the (Vin − Vout) × I power without exceeding 125 °C. The L7805CV for 5 V from 9–12 V, the AMS1117-3.3 for 3.3 V from 5 V, and the LP2985 for low-current 3.3 V from a battery pass both calculations comfortably. For other voltage and current values, you can evaluate the parts in the linear voltage regulators category with the same two calculations. For an example circuit powered by a 5 V rail, see the article on the astable circuit with the 555 IC.
References
Products in this article
-
$0.945L7805CV
STMicroelectronics · EE00606IC REG LINEAR 5V 1.5A TO220AB110 In Stock -
$0.463AMS1117-3.3
Slkor · EE01639IC REG LIN 3.3V 800MA SOT223-4498 In Stock -
$0.75LP2985A-33DBVR
Texas Instruments · EE01126-1IC REG LINEAR 3.3V 150MA SOT23-5RoHS compliant4 In Stock
More from Seçim Rehberleri ve Karşılaştırmalar
- Seçim Rehberleri ve KarşılaştırmalarIntermediate
TVS Diode Selection: How to Choose SMAJ, SMBJ and P6KE?
How do you select a TVS diode? VWM, VBR, VC and IPP values, the difference between unidirectional and bidirectional, an SMAJ, SMBJ and P6KE…
TL431, LM4040, REF5025: Choosing a Voltage Reference
How do you choose a voltage reference? TL431, LM4040 and REF5025 compared on accuracy, temperature drift, current and capacitors, plus an ADC error calculation.
- Seçim Rehberleri ve KarşılaştırmalarIntermediate
LM358 vs TL082 vs OP07: How to Choose an Op-Amp
Differences between the LM358, TL082, OP07 and MCP6002: a guide to choosing the right op-amp for your circuit by supply, output swing, offset, input…


