Calculate the gain of an inverting or non-inverting op-amp amplifier from its resistors, and check whether the output will clip at your supply voltage.
Formulas
- Non-inverting: G = 1 + Rf / Rg (input impedance very high).
- Inverting: G = −Rf / Rin (input impedance ≈ Rin, output is phase-inverted).
- Gain in dB = 20 × log10(|G|).
Op-amps such as the LM358 and LM324 cannot swing fully to the supply rails; leave about 1.5 V of headroom. See our shunt resistor and op-amp current measurement project for a practical example.
More calculators
- PCB Trace Width Calculator (IPC-2221)
- Voltage Divider and ADC Scaling Calculator
- LED Series Resistor Calculator
- Battery Backup Time Calculator for Inverters and UPS
- CT Burden Resistor Calculator for Microcontroller ADC
- Ohm’s Law and Power Calculator
- Resistor Colour Code Calculator (4 and 5 Band)
- 555 Timer Astable Calculator
- RC Time Constant and Cut-off Frequency Calculator
- IPS / Inverter Size and Battery Calculator for Home
- Electricity Unit (kWh) and Bill Calculator
- Solar Home System Size Calculator (Panels, Battery, Controller)
- SMD Resistor Code Calculator (3-Digit, 4-Digit and EIA-96)
- Capacitor Code Calculator (104, 103, 222 to nF and µF)
- Series and Parallel Resistor and Capacitor Calculator
- Wire Size and Voltage Drop Calculator (mm² Cable)
- LM317 Voltage Regulator Calculator (R1, R2 and Output Voltage)
- Buck Converter Calculator (Duty Cycle, Inductor and Capacitor)
- Battery Charging Time Calculator (Lead-Acid, Li-ion, LiFePO4)
- Li-ion / LiFePO4 Battery Pack Calculator (Series and Parallel Cells)
- kVA, kW and Amps Calculator (Single-Phase and Three-Phase)
Need this designed for your product? We design power electronics, embedded firmware and industrial IoT hardware. Message us on WhatsApp or use the contact form.