The Core Formula: Inverting Amplifier Gain
When analyzing analog circuits, the inverting operational amplifier is the most common topology where sign errors destroy your math. The core governing equation for the closed-loop voltage gain of an ideal inverting amplifier is:
Vout = -(Rf / Rin) × Vin
Before solving, you must understand how to do negative numbers on a calculator correctly. On scientific calculators like the Casio fx-115ES Plus or TI-84 Plus CE, the subtraction key [-] is an operator requiring a left-hand operand. If you press [-] at the start of an equation or immediately after a multiplication sign, the calculator throws an ERR: SYNTAX. To input a negative value, you must use the dedicated negation key, typically labeled (-) or +/-.
| Symbol | Definition | Standard Unit |
|---|---|---|
| Vout | Output voltage at the op-amp pin | Volts (V) |
| Vin | Input voltage applied to Rin | Volts (V) |
| Rf | Feedback resistor connecting output to inverting input | Ohms (Ω) |
| Rin | Input resistor connecting source to inverting input | Ohms (Ω) |
| - | Phase inversion constant (dimensionless) | None |
The leading negative sign indicates a 180-degree phase shift: a positive input yields a negative output, and vice versa. According to All About Circuits, this inversion is a direct result of the virtual ground at the inverting input node, forcing current to flow through Rf in a direction that pulls the output below ground potential.
Standard Resistor Pairs and Expected Negative Gains
In practical bench work, you rarely calculate arbitrary resistor values; you select from the standard E24 series (5% tolerance). The table below provides real-world E24 resistor pairings, their exact gain ratios, and the resulting output voltages for both positive and negative input signals. Use this as a sanity check for your calculator outputs.
| Rin (E24) | Rf (E24) | Ratio (Rf/Rin) | Vout if Vin = +1.5V | Vout if Vin = -2.0V |
|---|---|---|---|---|
| 1.0 kΩ | 10 kΩ | 10 | -15.0 V | +20.0 V |
| 2.2 kΩ | 4.7 kΩ | 2.136 | -3.20 V | +4.27 V |
| 3.3 kΩ | 33 kΩ | 10 | -15.0 V | +20.0 V |
| 4.7 kΩ | 1.2 kΩ | 0.255 | -0.38 V | +0.51 V |
| 10 kΩ | 47 kΩ | 4.7 | -7.05 V | +9.40 V |
Notice how the unit prefix (kilo) cancels out perfectly in the ratio column. A 10 kΩ and 1 kΩ resistor yield the exact same mathematical ratio as 10 Ω and 1 Ω, though the latter would draw destructive current levels from a standard op-amp.
Application Bounds, Assumptions, and Unit Traps
The formula Vout = -(Rf / Rin) × Vin applies strictly under the ideal op-amp assumptions: infinite open-loop gain, infinite input impedance, zero output impedance, and operation within the linear region. As detailed in the Texas Instruments Precision Labs Op-Amp series, real-world components deviate from these ideals, introducing offset voltages and bandwidth limits that the basic formula ignores.
Unit Mistakes That Break the Math
- Mismatched Prefixes: If Rf is 47 kΩ and Rin is 2.2 Ω, typing
47 / 2.2into your calculator yields a ratio of 21.36. The actual ratio is 21,363. You must convert both to the same base unit (Ohms) or matching prefixes (kΩ) before dividing. - Mixing mV and V: If Vin is 50 mV and you type
50into the formula, your calculated Vout will be 1,000 times larger than reality. Always convert millivolts to volts (e.g., 0.050 V) before multiplying.
Realistic Answer Magnitudes (The Saturation Trap)
A common calculator error is trusting a mathematically correct answer that is physically impossible. If your calculator outputs -45.0 V, but your op-amp is powered by ±15V rails, the circuit will saturate. A standard LM741 op-amp on ±15V rails will clip at approximately ±13.5V. A modern rail-to-rail op-amp like the TLC2272 might reach within 50mV of the rails. If your calculated magnitude exceeds your supply voltage minus the headroom, the formula no longer applies; the output is simply clipped at the rail voltage.
Worked Problems with Unit Tracking
Here is exactly how to execute these calculations on a standard scientific calculator, tracking units through every step.
Problem 1: Standard Inverting Gain
Given: Rin = 2.2 kΩ, Rf = 15 kΩ, Vin = +0.4 V. Find Vout.
- Setup: Vout = -(15 kΩ / 2.2 kΩ) × 0.4 V
- Calculator Keystrokes: Press the negation key
(-), then open parenthesis(, type15 / 2.2, close parenthesis), multiply×, type0.4, press=. - Intermediate Step (Ratio): 15 kΩ / 2.2 kΩ = 6.818 (unitless, as kΩ cancels kΩ).
- Intermediate Step (Multiplication): -6.818 × 0.4 V = -2.727 V.
- Final Answer: Vout = -2.73 V. (Magnitude is well within standard ±15V rails).
Problem 2: Double Negative (Inverting a Negative Input)
Given: Rin = 4.7 kΩ, Rf = 22 kΩ, Vin = -1.2 V. Find Vout.
- Setup: Vout = -(22 kΩ / 4.7 kΩ) × (-1.2 V)
- Calculator Keystrokes: This is where students fail. Press
(-), open parenthesis(, type22 / 4.7, close parenthesis), multiply×, press the negation key(-)again, type1.2, press=. Do not use the subtraction key for the -1.2V input. - Intermediate Step (Ratio): 22 kΩ / 4.7 kΩ = 4.681 (unitless).
- Intermediate Step (Sign Resolution): A negative constant multiplied by a negative voltage yields a positive product. -4.681 × -1.2 V = +5.617 V.
- Final Answer: Vout = +5.62 V.
Rearranged Forms for Component Selection
On the bench, you usually know the desired gain and the input signal, and you need to find the missing resistor. Here are the algebraically rearranged forms of the core equation, solving for each variable. The negative sign remains critical in these rearrangements to preserve the phase relationship.
- Solve for Feedback Resistor (Rf):
Rf = -(Vout × Rin) / Vin
Use case: You have a fixed input resistor and need to select a feedback resistor to achieve a specific output voltage. - Solve for Input Resistor (Rin):
Rin = -(Rf × Vin) / Vout
Use case: You are constrained by a specific feedback resistor value (e.g., to limit noise or bias current) and need to scale the input. - Solve for Input Voltage (Vin):
Vin = -(Vout × Rin) / Rf
Use case: Reverse-engineering an unknown sensor signal based on the measured output of a known amplifier stage.
When using these rearranged forms on your calculator, remember that if Vout and Vin have opposite signs (which they must in an inverting configuration), their division yields a negative number. That negative number perfectly cancels the leading negative sign in the rearranged formula, resulting in a positive, physically realizable resistance value. If your calculator outputs a negative resistance, you have made a sign-entry error.






