Wien Bridge Oscillator Calculator
Design a Wien bridge RC sine-wave oscillator. Classic low-distortion audio test oscillator: f = 1/(2πRC), with amp gain = 3 for sustained oscillation.
How to Use
- Enter the frequency you want, in Hz or kHz.
- Enter the resistor value R used in both arms of the RC network.
- Enter the amplifier’s ground-leg resistor R_g; the feedback resistor will be twice this.
- Read the capacitor value C for both arms and the feedback resistor R_f; Show Work explains the gain and amplitude control.
Worked Example
A 1 kHz oscillator with 15.9 kΩ resistors. C = 1 ÷ (2π × 15.9 kΩ × 1 kHz) = 10.01 nF for both capacitors; standard 10 nF parts give 1001 Hz. With R_g = 10 kΩ the feedback resistor is R_f = 2 × 10 kΩ = 20 kΩ, for a gain of 1 + 20/10 = 3.
A 400 Hz tone instead: with 10 kΩ resistors C = 39.79 nF. The nearest standard value, 39 nF, gives 408 Hz, close enough for most uses; trim one resistor if the exact frequency matters.
The common mistake: setting the gain to exactly 3 with fixed resistors. Resistor tolerance makes it either slightly below 3, so the oscillation dies away, or slightly above, so it grows until the op-amp clips. Start a little above 3 and let a lamp, thermistor, JFET or diode limiter hold the amplitude.
Show Work
Formulas
History
Max Wien developed his bridge in 1891 for measuring impedances. Its resistor-capacitor arms have a useful property: at one frequency the network passes one third of its input with no phase shift, which makes it an ideal feedback path for an oscillator.
William Hewlett’s oscillator, patented in the United States (filed 1939, granted 1942 as US 2,268,872), used a small incandescent lamp to control the gain. The filament’s resistance rises as it warms, so the gain falls as the output grows, and the circuit settles at a clean sine wave. It became Hewlett-Packard’s first product, the 200A audio oscillator, and Walt Disney Studios bought eight of the 200B version for the sound work on Fantasia.
Later designs replaced the lamp with thermistors, JFETs or light-dependent resistors driven by a rectified sample of the output, which allow lower distortion and faster settling. The network and its tuning equation f₀ = 1/(2πRC) are unchanged.
About This Calculator
Enter the frequency and the resistor R used in both arms of the network. The tool computes the capacitor C = 1/(2πRf) for both arms and, from the ground-leg resistor R_g you enter, the feedback resistor R_f = 2·R_g that gives the non-inverting amplifier its gain of 3.
For reliable oscillation, set the gain slightly above 3 and add amplitude control: a small lamp in place of R_g, a thermistor in place of R_f, a JFET or a diode limiter. Without it the output grows until the op-amp clips. To tune, vary both resistors together with a dual-gang potentiometer. Everything runs in your browser.
Frequently Asked Questions
How does a Wien bridge oscillator work?
A series RC and a parallel RC form a frequency-selective divider from the amplifier’s output back to its non-inverting input. At f₀ = 1/(2πRC) it passes exactly one third of the output with zero phase shift, so an amplifier with a gain of 3 makes the loop gain 1 and the circuit oscillates at f₀.
Why must the gain be exactly 3?
With a loop gain above 1 the oscillation grows until the op-amp clips; below 1 it dies away. Real circuits start slightly above 3 so the oscillation builds up, and an amplitude-control element then holds the gain at 3.
How is the amplitude controlled?
With a component whose resistance changes with signal level. A small lamp in place of R_g gains resistance as it warms, so the gain falls; a thermistor in place of R_f does the same as its resistance drops. JFETs used as voltage-controlled resistors and simple diode limiters are also common; diodes are simplest but give more distortion.
How do I tune it?
f₀ is inversely proportional to R, so changing both resistors together with a dual-gang potentiometer sweeps the frequency without changing the gain needed. Switching both capacitors together changes the range.
What values should I choose?
Pick a C0G or film capacitor first, then R. Values from about 1 kΩ to 100 kΩ keep R well above the op-amp’s output impedance and well below its input impedance, and the op-amp’s gain-bandwidth should be well above 3·f₀.
How do I use the Wien Bridge Oscillator Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Do I need to install or sign up for anything?
Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.
Is my information private?
Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.
Common Use Cases
Audio Test Oscillators
A 1 kHz test tone with 15.9 kΩ resistors needs 10.01 nF; a standard 10 nF capacitor gives 1001 Hz.
Tone Generators
A 400 Hz tone with 10 kΩ resistors needs 39.79 nF; with 39 nF capacitors the tone is 408 Hz.
Sweepable Sine Sources
A dual-gang potentiometer in place of both resistors tunes the oscillator over a wide range while the gain of 3 stays the same.
Teaching Oscillator Theory
The circuit shows the Barkhausen condition clearly: loop gain of exactly 1 and zero phase shift around the loop at one frequency.
Last updated: