PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Electricity & Magnetism.

View category →
NewSchool

RC Filter (LP / HP)

Launch Simulator

Bode gain vs frequency, f_c at −3 dB; live sine V_in and V_out.

FeaturedSchool

Circuit Builder

Launch Simulator

Drag and drop components: battery, resistor, bulb, switch. See current flow.

NewSchool

DC–DC Buck / Boost

Launch Simulator

Ideal CCM averages: buck V_out ≈ D·V_in, boost V_out ≈ V_in/(1−D); schematic + ripple cartoon.

NewSchool

Hall Effect

Launch Simulator

U_H = R_H I B / t; R_H sign for e⁻ vs holes; B, I, n, t.

NewSchool

Kirchhoff's Laws (KCL & KVL)

Launch Simulator

3-node DC: junction divider + optional R∥V; hints, KCL/KVL, solved currents.

NewSchool

RL Circuit

Launch Simulator

Series RL: τ = L/R, i(t) rise & decay, v_L; DC steady i = V/R.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Ideal Op-Amp (feedback)

Ideal Op-Amp (feedback)

Inverting, non-inverting, buffer; sine or DC; optional rail clipping.

Ideal op-amp

1 V
0.8 Hz
100000 Ω
10000 Ω

Open-loop gain is modeled as infinite: the op-amp drives V_out so the feedback rule holds. Rails are optional saturation, not a full power-supply model.

Shortcuts

  • •Switch topology to compare gains
  • •Enable rail clipping to see saturation

Measured values

V_in0.0000 V
V_out0.0000 V
Gain (set)G = −R_f/R_in = -10.0000

About this model

An ideal operational amplifier is treated as having infinite open-loop gain and zero input current; closed-loop behavior uses the standard resistor formulas for inverting gain −R_f/R_in, non-inverting gain 1+R_f/R_g, and unity-gain buffering. The page plots input and output versus time for a sine or DC drive and can clip outputs to ±V_sat as a crude saturation model.

Who it's for: Introductory analog electronics after Ohm’s law; pairs with the RC filter and Bode pages.

Key terms

  • operational amplifier
  • virtual ground
  • negative feedback
  • voltage follower
  • gain

How it works

Ideal op-amp: infinite open-loop gain, zero input current, and (when feedback closes the loop) the output follows the classical resistor ratios. Switch among inverting, non-inverting, and unity-gain buffer; drive the input with a sine or a DC level and optionally clip the output to ±V_sat.

Key equations

Inverting: V_out = −(R_f/R_in) V_in
Non-inverting: V_out = (1 + R_f/R_g) V_in
Follower: V_out = V_in

Frequently asked questions

Where are bandwidth, offset, and input bias current?
They are omitted on purpose: this is the textbook ideal op-amp used to teach closed-loop gain from passive feedback networks before non-ideal limitations.
Why can clipping happen if the amp is ideal?
Infinite gain only applies inside the linear feedback model; the optional rail clip is a stand-in for finite supply voltage and output swing limits.