The fundamental voltage amplifier formula defines gain as the ratio of output to input: Av = Vout / Vin. However, on the bench, you are almost always building this using an operational amplifier (op-amp). For the most common and stable configuration—the non-inverting op-amp circuit—the practical voltage amplifier formula is Av = 1 + (Rf / Ri). This guide breaks down the math, tracks units through real-world solved problems, and provides a decision matrix to select the exact silicon for your next build.
The Core Voltage Amplifier Formula and Symbol Definitions
When designing a non-inverting voltage amplifier, the op-amp's high open-loop gain is tamed by a negative feedback network consisting of two resistors. The closed-loop voltage gain (Av) is determined entirely by the ratio of these resistors, assuming an ideal op-amp.
Primary Formula:
Av = 1 + (Rf / Ri)
Fundamental Definition:
Av = Vout / Vin
| Symbol | Parameter | Standard Unit | Practical Bench Notes |
|---|---|---|---|
| Av | Voltage Gain | Dimensionless (V/V) | Often converted to decibels (dB) using 20 * log10(Av). A gain of 10 is 20dB. |
| Vout | Output Voltage | Volts (V) | Must remain within the op-amp's supply rails minus the output swing headroom. |
| Vin | Input Voltage | Volts (V) | The signal applied to the non-inverting (+) terminal. |
| Rf | Feedback Resistor | Ohms (Ω) | Connects from the output pin to the inverting (-) pin. Keep between 1kΩ and 100kΩ to avoid loading or noise issues. |
| Ri | Input/Ground Resistor | Ohms (Ω) | Connects from the inverting (-) pin to ground. Sets the input impedance alongside Rf. |
Rearranged Forms and Unit Pitfalls
You will rarely solve for Av directly; usually, you know your sensor's Vin and your ADC's required Vout, and you need to calculate resistor values. Here are the algebraically rearranged forms:
- Solve for Vout: Vout = Vin * [1 + (Rf / Ri)]
- Solve for Vin: Vin = Vout / [1 + (Rf / Ri)]
- Solve for Rf: Rf = Ri * (Av - 1)
- Solve for Ri: Ri = Rf / (Av - 1)
- Mixing kΩ and Ω: The formula relies on a ratio (Rf / Ri). If Rf is 100kΩ and Ri is 10Ω, the ratio is 10,000, not 10. Always convert both to base Ohms before dividing, or ensure both are explicitly in kΩ.
- RMS vs. Peak Voltage: If your Vin is specified in RMS (common in audio) but your op-amp supply rails are rated in Peak/DC, you will calculate a gain that causes severe clipping. Always convert Vin(rms) to Vin(peak) (multiply by √2) before checking against supply rails.
- Treating Av as Ohms: Av is a dimensionless multiplier (V/V). Never add Av directly to a resistance value.
Worked Examples: From Millivolts to Real-World Magnitudes
Problem 1: Thermocouple Sensor to 3.3V Microcontroller ADC
Scenario: You have a sensor outputting a maximum of 50mV (0.05V). You need to amplify this to exactly 3.0V to safely feed a 3.3V ADC without risking saturation. You have a 10kΩ resistor for Ri. What value do you need for Rf?
- Calculate Required Gain (Av):
Av = Vout / Vin
Av = 3.0V / 0.05V = 60 V/V - Rearrange Formula for Rf:
Rf = Ri * (Av - 1) - Substitute Values and Track Units:
Rf = 10,000Ω * (60 - 1)
Rf = 10,000Ω * 59
Rf = 590,000Ω (590kΩ) - Select Nearest E24 Standard Resistor:
The closest standard 5% resistor is 620kΩ.
Verify: Av = 1 + (620k / 10k) = 63. Vout = 0.05V * 63 = 3.15V. This is safely under the 3.3V ADC limit, providing a 150mV safety margin.
Problem 2: Audio Preamp Headroom and Clipping Check
Scenario: You are amplifying a 2VRMS audio signal using a non-inverting amplifier with Rf = 40kΩ and Ri = 10kΩ. The op-amp is powered by a single 9V battery. Will the signal clip?
- Calculate Circuit Gain:
Av = 1 + (40,000Ω / 10,000Ω) = 1 + 4 = 5 V/V - Calculate Output RMS Voltage:
Vout(rms) = Vin(rms) * Av
Vout(rms) = 2V * 5 = 10VRMS - Convert to Peak Voltage to Check Rails:
Vout(peak) = Vout(rms) * √2
Vout(peak) = 10V * 1.414 = 14.14Vpeak - Evaluate Against Realistic Magnitudes:
A standard 9V single-supply op-amp (like the LM358) cannot swing to 9V; it typically maxes out around Vcc - 1.5V (7.5V peak). Because 14.14Vpeak vastly exceeds the 7.5V physical limit of the chip, the signal will severely clip. You must either reduce the gain (e.g., Av = 2) or increase the supply voltage to a dual ±15V rail.
Assumptions, Limits, and When the Formula Breaks
The formula Av = 1 + (Rf / Ri) assumes an ideal op-amp. In reality, silicon has physical limits. According to the Electronics Tutorials non-inverting amplifier guide, the ideal model assumes infinite open-loop gain and infinite bandwidth. Here is when your calculated gain will fail on the bench:
- Output Saturation (Swing Limits): The formula will happily tell you that a 1V input with a gain of 10 yields 10V out. But if your op-amp is powered by 5V, the output will hard-clip at roughly 3.5V to 4.8V (depending on whether it is a standard or rail-to-rail output stage). Always check the 'Output Voltage Swing' parameter in the TI LM358 datasheet or equivalent.
- Gain-Bandwidth Product (GBWP): Op-amps have a fixed GBWP. If your chip has a 1MHz GBWP and you set your resistor ratio for a gain of 100 (40dB), your maximum usable bandwidth drops to 10kHz (1,000,000 / 100). If you try to amplify a 50kHz signal at this gain, the actual Av will be drastically lower than your formula predicts.
- Slew Rate Limiting: If you are amplifying high-frequency, high-amplitude signals, the op-amp's internal capacitance limits how fast the output voltage can change (measured in V/μs). If the required dV/dt exceeds the slew rate, your sine wave turns into a triangle wave, regardless of your resistor ratio.
Decision Path: Picking the Right Op-Amp for Your Gain Target
Calculating Rf and Ri is only half the battle; you must select an op-amp that can actually deliver that gain at your required frequency and supply voltage. Use this decision tree to terminate your part selection process.
| If Your Application Requires... | And Your Supply Is... | Then Choose This Part Number | Why It Wins |
|---|---|---|---|
| DC / Low-freq sensor (Thermocouple, Strain Gauge) | Single 3.3V or 5V | MCP6002 | Rail-to-rail I/O, low cost (~$0.40), 1MHz GBWP is perfect for slow signals. |
| Audio Pre-amplification (20Hz - 20kHz) | Dual ±9V to ±15V | TL072 or NE5532 | Low noise density, high slew rate (13V/μs for TL072), handles audio headroom easily. |
| High-speed ADC buffering (>1MHz signals) | Single 5V or Dual ±5V | OPA350 | 38MHz GBWP, high slew rate (22V/μs), precision rail-to-rail output. |
| General purpose / Legacy replacement | Single 9V to 32V | LM358 | The undisputed bench standard. Dirt cheap, robust, but lacks rail-to-rail output. |
If you are building a general-purpose DC or low-frequency sensor amplifier on a modern 3.3V or 5V single-supply microcontroller bench, stop debating and buy the MCP6002. It is rail-to-rail, costs under $0.50 in singles, and its 1MHz GBWP is perfectly matched to the sub-10kHz sensor signals most hobbyists and embedded engineers amplify. Keep a strip of them in your parts drawer alongside your 10kΩ and 100kΩ resistor assortments, and you will never have to compromise your Vout headroom again.






