Works on this device
Oscillator Frequency Calculator
An oscillator is a circuit that makes a repeating wave by itself. Its frequency is set by a few parts: a coil and a capacitor, or resistors and capacitors. Choose the kind of oscillator and enter those parts to get the frequency.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose the kind of oscillator, for example LC oscillator or 555 timer oscillator.
- Enter the values of the parts that set the frequency, and pick the unit of each.
- Choose Calculate. The result shows the frequency, the time of one cycle and the working.
- The LC option can also find the capacitor or the coil for a frequency you want.
- A few fields start empty, because the value comes from a data sheet: the delay of a gate and the constant of an oscillator IC. Try an example fills in sample values.
The oscillator formulas
- LC oscillator: f = 1 ÷ (2π × √(L × C)).
- Colpitts: the same, with C = C1 × C2 ÷ (C1 + C2).
- Clapp: the same, with 1 ÷ C = 1 ÷ C1 + 1 ÷ C2 + 1 ÷ C3.
- Hartley: the same, with L = L1 + L2 + 2 × M.
- 555 timer, astable: f = 1.44 ÷ ((R1 + 2 × R2) × C). The exact number is 1 ÷ ln(2).
- RC phase-shift, three equal sections: f = 1 ÷ (2π × R × C × √6). The amplifier needs a gain of 29.
- Wien bridge, equal parts: f = 1 ÷ (2π × R × C). The amplifier needs a gain of 3.
- Relaxation oscillator: T = 2 × R × C × ln((1 + β) ÷ (1 − β)), with β = R2 ÷ (R1 + R2).
- Ring oscillator: f = 1 ÷ (2 × N × t), with N stages of delay t.
- Local oscillator: RF + IF (high-side) or RF − IF (low-side).
- f is in hertz, L in henries, C in farads, R in ohms and times in seconds.
Worked examples
LC. A coil of 100 µH with a capacitor of 100 pF: L × C = 10⁻¹⁴, its square root is 10⁻⁷ s, and f = 1 ÷ (2π × 10⁻⁷) = 1.5915 MHz.
Colpitts. The same coil with two 220 pF capacitors: in series they are 110 pF, and f = 1.5175 MHz.
555 timer. R1 = 1 kΩ, R2 = 10 kΩ and C = 100 nF: the output is high for 0.693 × 11,000 × 0.0000001 = 762.5 µs and low for 693.1 µs. One cycle takes 1.456 ms, so f = 687 Hz with a duty cycle of 52.4%.
RC phase-shift. R = 10 kΩ and C = 10 nF: f = 1 ÷ (2π × 0.0001 × 2.449) = 649.7 Hz.
Wien bridge. R = 10 kΩ and C = 10 nF: f = 1 ÷ (2π × 0.0001) = 1,591.5 Hz.
Ring. Five inverters with a delay of 10 ns each: one cycle takes 2 × 5 × 10 = 100 ns, so f = 10 MHz.
Limits you should know
- The parts are ideal. Real capacitors and coils have tolerances, so the real frequency differs by a few per cent. Stray capacitance lowers the frequency of LC oscillators.
- The tool gives the frequency. It does not check that the circuit starts, and it does not work out the size or the shape of the wave.
- The RC phase-shift formula is for three equal sections that the amplifier does not load. With a single transistor the real frequency is different.
- No IC or gate data is built in. For a crystal oscillator the crystal sets the frequency; its load capacitors are worked out by the Crystal Load Capacitor Calculator.
- This is arithmetic for learning and for low-voltage electronics. It is not professional advice; measure the finished circuit.