Op-Amp Calculator

Enter your Op-Amp Calculator parameters to analyze inverting and non-inverting amplifier configurations. Provide the Input Resistor (Rin), Feedback Resistor (Rf), and Input Voltage for both circuit types — the calculator returns the voltage gain and output amplitude for each configuration using standard op-amp gain formulas.

Select the op-amp circuit configuration to analyze.

The resistor connected to the input terminal.

The resistor in the feedback path of the op-amp.

The amplitude of the input signal applied to the op-amp.

Results

Voltage Gain (A)

--

Output Voltage (Vout)

--

Gain (dB)

--

Configuration

--

Input vs Output Voltage

Frequently Asked Questions

What is the gain formula for an inverting op-amp?

For an inverting op-amp, the voltage gain is calculated as A = −Rf / Rin. The negative sign indicates that the output signal is 180° out of phase with the input signal. For example, if Rf = 100 kΩ and Rin = 10 kΩ, the gain is −10.

What is the gain formula for a non-inverting op-amp?

For a non-inverting op-amp, the voltage gain is A = 1 + Rf / Rin. The output is in phase with the input, and the gain is always greater than or equal to 1. With Rf = 100 kΩ and Rin = 10 kΩ, the gain is 11.

How is the output voltage of an op-amp calculated?

The output voltage is found using Vout = A × Vin, where A is the voltage gain and Vin is the input signal amplitude. For an inverting configuration the result will be negative (phase-inverted), while for non-inverting it will be positive.

What does a negative gain in an inverting op-amp mean?

A negative gain means the op-amp inverts the polarity of the input signal. If the input is +1 V and the gain is −10, the output will be −10 V. The magnitude of the gain still represents the amplification factor.

What is the minimum gain of a non-inverting op-amp?

A non-inverting op-amp has a minimum gain of 1 (unity gain), which occurs when Rf = 0 or Rin is infinitely large. This unity-gain configuration is commonly used as a voltage buffer to isolate stages in a circuit.

What units should I use for the resistors?

You can enter resistor values in Ohms (Ω), kilohms (kΩ), or megohms (MΩ) using the unit selector next to each resistor field. The calculator automatically converts the values before computing the gain, so the ratio Rf/Rin remains consistent.

How is gain expressed in decibels (dB)?

Gain in decibels is calculated as dB = 20 × log₁₀(|A|), where A is the linear voltage gain. A gain of 10 corresponds to 20 dB, a gain of 100 corresponds to 40 dB, and unity gain (1) equals 0 dB.

Can I use this calculator for both AC and DC signals?

Yes. The gain and output voltage calculations apply to both DC and AC signals in the passband of the op-amp. For AC circuits you may also need to consider the op-amp's gain-bandwidth product, which limits the usable gain at higher frequencies.

More Physics Tools