Counter Frequency Division Calculator

fout = fin / 2ⁿ

Quick answer: This calculator solves fout = fin / 2ⁿ for Output Frequency. With Input Frequency 10 MHz, Counter Stages 0.5, the result is 7.071 MHz. It solves in 2 directions, so you can enter the values you have and get the one you need.

Calculator

Loading calculator…

Formula

fout = fin / 2ⁿ

Description

A binary ripple counter divides an input clock frequency by two at each stage, so an n-stage counter divides by 2 to the n. This is the standard way to derive slow clocks from a fast oscillator—generating real-time-clock ticks, baud-rate references, or PWM timebases. The final output is a square wave at the divided frequency.

Variables

SymbolMeaning
foutDivided output frequency (Hz)
finInput clock frequency (Hz)
nNumber of flip-flop (divide-by-2) stages

Practical Notes

For a non-power-of-two divisor use a modulo-N (programmable) counter. Each stage also halves duty-cycle jitter accumulation but adds ripple-propagation delay in asynchronous counters.

Symbols and units

SymbolDefault unitAccepted units
Output FrequencykHzHz, kHz, MHz, GHz
Input FrequencyMHzHz, kHz, MHz, GHz
Counter Stages

Worked examples

GivenResult
Minimum rangeInput Frequency 100 kHz, Counter Stages 0.025Output Frequency = 98.28 kHz
Low rangeInput Frequency 1 MHz, Counter Stages 0.25Output Frequency = 0.8409 MHz
TypicalInput Frequency 10 MHz, Counter Stages 0.5Output Frequency = 7.071 MHz
High rangeInput Frequency 100 MHz, Counter Stages 0.8Output Frequency = 57.43 MHz
Maximum rangeInput Frequency 1 GHz, Counter Stages 8Output Frequency = 3.906 MHz

Solving for each variable

Solve for GivenResult
Output FrequencyInput Frequency 100 kHz, Counter Stages 0.02598.28 kHz
Input FrequencyOutput Frequency 100 Hz, Counter Stages 0.025101.7 Hz

How Output Frequency changes with Input Frequency

Input Frequency (input)Output Frequency (result)
1 MHz0.7071 MHz
2.5 MHz1.768 MHz
5 MHz3.536 MHz
7.5 MHz5.303 MHz
10 MHz7.071 MHz
15 MHz10.61 MHz
20 MHz14.14 MHz
40 MHz28.28 MHz
70 MHz49.5 MHz
100 MHz70.71 MHz

The same result in other units

UnitValue
Hz7071000
kHz7071
MHz7.071
GHz0.007071

Embed this calculator

Paste this into any page. It keeps working when this page updates, and credits the source.

Frequently asked questions

How do you calculate Counter Frequency Division?

Use fout = fin / 2ⁿ. With Input Frequency 10 MHz, Counter Stages 0.5, Output Frequency works out to 7.071 MHz.

What is the formula for Counter Frequency Division?

The formula is fout = fin / 2ⁿ. A binary ripple counter divides an input clock frequency by two at each stage, so an n-stage counter divides by 2 to the n.

How do you find Input Frequency when you know the other values?

Rearrange for Input Frequency: with Output Frequency 100 Hz, Counter Stages 0.025, Input Frequency is 101.7 Hz.

What units does Counter Frequency Division use?

Output Frequency is shown in Hz, kHz, MHz, GHz. Values are held in SI base units internally, so you can mix prefixes without converting by hand.

What does fout mean in the Counter Frequency Division formula?

fout is Divided output frequency (Hz).

What should I watch out for when using Counter Frequency Division?

For a non-power-of-two divisor use a modulo-N (programmable) counter. Each stage also halves duty-cycle jitter accumulation but adds ripple-propagation delay in asynchronous counters.