/    Calculators » Operational amplifier calculator
Support the project on Patreon


Calculator KB-41

Operational amplifier calculator

Only two resistors set the gain, and the chip itself has almost no effect on it.

KB-41Operational amplifier calculatorCalculates in real time

Result

Gain11 ×
In decibels20.8 dB
Output2.2 V
Bandwidth90.91 kHz
Input impedancevery large
Share calculation

In brief: Calculate an operational amplifier in inverting and non-inverting configurations: gain, output voltage, GBW bandwidth, and saturation check. Example: Gain: 11 ×.

Calculation example

Input data
CircuitNon-inverting
Rf100000 Ω
Rg10000 Ω
Input signal0.2 V
Output limit12 ±В
Gain-bandwidth product (GBW)1 MHz
Result
Gain11 ×
In decibels20.8 dB
Output2.2 V
Bandwidth90.91 kHz
Input impedancevery large

How it is calculated

Non-inverting: K = 1 + Rf / Rg
Inverting: K = −Rf / Rg
BW = GBW / (1 + Rf / Rg)

An op-amp keeps its inputs at nearly the same voltage, while feedback determines how it does so. The higher the gain, the narrower the bandwidth: their product is constant.

What to look for

  • Most op-amps cannot swing all the way to the supply rails. Not all are rail-to-rail: check the datasheet.
  • For small signals and high gain, input offset voltage and noise matter: the LM358 isn't suitable for every application.

Frequently asked questions

How do you calculate an op-amp's gain?

Non-inverting configuration: K = 1 + Rf / Rg; inverting configuration: K = −Rf / Rg. With 100 kΩ and 10 kΩ, the gains are 11 and −10.

What will the amplifier's bandwidth be?

BW = GBW / (1 + Rf / Rg). An LM358 with a GBW of 1 MHz and a gain of 11 will have a bandwidth of about 91 kHz.

Why can't an LM358 output the full supply voltage?

Its output falls about 1.5 V short of the positive supply rail. For full output swing, use rail-to-rail op-amps.

Updated · kirich.blog · The calculation runs in your browser; no data is sent anywhere.

See also