Op-Amp Calculator
Find the gain and output voltage of an ideal inverting or non-inverting op-amp stage from its two resistors.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
inverting gain = -Rf / Rin; non-inverting gain = 1 + Rf / Rin
Frequently asked questions
What is an ideal op-amp?
One with infinite gain and input resistance. It is a good model when the gain is far below the op-amp's own limit.
Can the output exceed the supply?
No. The output clips near the supply rails.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Filter Frequency Calculator
Find the cutoff frequency of a first order RC low pass or high pass filter, and how much it attenuates at a chosen frequency.
Transistor Bias Calculator
Find the base current, collector current and collector emitter voltage of a voltage divider biased NPN transistor stage.
Decibel Calculator
Convert between a ratio and decibels for power or for voltage and current.