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

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewSchool

Van de Graaff Generator

Belt charges a dome; V = Q/C; stylized spark to ground when V_break is exceeded.

Launch Simulator
NewSchool

Kirchhoff's Laws (KCL & KVL)

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

Launch Simulator
NewSchool

Plane EM Wave (vacuum)

E ⊥ B ⊥ k: sin(kz−ωt) fields, Poynting along z; ω = ck (c = 1).

Launch Simulator
NewSchool

DC Motor & Generator

Coil in B: motor V = IR + kω, generator E = kω into a load — same k, two modes.

Launch Simulator
NewUniversity / research

Gradient-B Drift

B_z(x,y) with weak gradient; orbit from q(E+v×B) at local B — gyration + drift.

Launch Simulator
NewUniversity / research

Magnetic Mirror (Bottle)

Axial B(z) pinch; μ adiabatic invariant, v∥ from −μ ∂B/∂z — Van Allen / mirror sketch.

Launch Simulator
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)

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

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

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.