Why is a clock crystal 32.768kHz? The reason it isn't built to output 1Hz directly

32768 is an odd-looking number because it's 2 multiplied by itself 15 times. Pass that frequency through a circuit that does nothing but "halve it," fifteen times over, and out comes a pulse exactly once a second. So why not just build a crystal that vibrates once a second to begin with? The reason that can't be done is exactly the reason this frequency was chosen.

Last updated: 2026-09-15 RTCCrystal oscillator32.768kHzFrequency division

32768 = 2 to the 15th power

Divide 32768 by 2 and you get 16384; divide again and you get 8192; keep going and you land on 1 at exactly the 15th division. That's because 32768 = 215. Given a crystal that vibrates 32768 times a second, repeating a "count only every other one" operation 15 times over yields a pulse once per second.

A "count only every other one" circuit is about as simple as electronics gets. A single toggle switch that flips its output on every input edge turns two input cycles into one output cycle — the frequency is halved. Chain fifteen of these in series and that's the divider: a few hundred transistors, tucked into a small corner of a clock IC.

Use a decimal-friendly crystal like 10000Hz or 100000Hz instead, and you need a circuit that counts "one in ten." That's more complex than "one in two," and it takes more stages. Stick to a power of two and all you need is the simplest circuit, repeated. That's the first reason behind the odd number "32768."

Making 1Hz from 32768Hz by repeated halvingOn the left, the input square wave and three stages of halving it by counting only every other cycle. On the right, the 15-rung ladder from 32768Hz down to 1Hz, highlighting 1024Hz and 256Hz along the way and 1Hz at the end. "Every other one," repeated 15 times, turns 32768 into 1 Flipping the output on every input edge halves the frequency Input Half ÷2 1/4 ÷2 1/8 ÷2 Output completes one cycle per two input cycles. The circuit is one switch. Chain fifteen of these in series and you get the "32768 halving chain." Halving count vs. frequency Crystal 32,768 Hz 1 x 16,384 Hz 2 x 8,192 Hz 3 x 4,096 Hz 4 x 2,048 Hz 5 x 1,024 Hz 6 x 512 Hz 7 x 256 Hz 8 x 128 Hz 9 x 64 Hz 10 x 32 Hz 11 x 16 Hz 12 x 8 Hz 13 x 4 Hz 14 x 2 Hz 15 x 1 Hz ← OS tick ← Stopwatch ← Seconds hand
Figure 1: flipping the output on every input edge halves the frequency. Repeat that 15 times and 32768Hz becomes 1Hz.

So why not just make a 1Hz crystal?

Rather than stacking fifteen halving stages, it seems like it would be simpler to build a crystal that vibrates once a second to begin with. There are reasons it can't be built, and reasons it isn't.

It's too large to build. A crystal's frequency is set by the dimensions of the crystal blank. A clock crystal is shaped like a tuning fork, and a tuning fork vibrates more slowly as its arms get longer. Frequency is inversely proportional to the square of the arm length, so dropping the frequency to 1/32768 needs arms √32768 ≈ 181 times longer. A 32.768kHz fork has arms around 3mm, so a 1Hz fork would need arms over 50cm — it won't fit in a wristwatch. Long arms also sag under gravity or vibration, which destabilizes the frequency. Crystals are only practical to build above roughly 10kHz.

It couldn't be trimmed. Crystals vary by around ±20ppm from part to part, which works out to ±1.7 seconds a day. Correcting for that means occasionally counting one extra pulse, or skipping one. At 32768Hz, skipping one out of the 32768 counted each second gives a 1/32768 = 30.5ppm correction, and skipping one every few tens of seconds fine-tunes below 1ppm. With a 1Hz crystal, the smallest adjustable unit is "one second" — a 100% correction. Counting a fast vibration is exactly what makes fine adjustment possible.

Timing finer than one second is needed. Sounding an alarm tone, measuring 1/100 second on a stopwatch, waking a microcontroller every 1/256 second — a clock has plenty of tasks that need less than a second. The 256Hz and 1024Hz points partway through halving down from 32768Hz are directly usable. A 1Hz crystal can't produce anything shorter than a second.

Start-up takes time. A crystal needs tens of thousands of cycles from the moment it starts oscillating until its amplitude settles (a consequence of its high Q). Even at 32.768kHz that's 0.5–2 seconds, a known drawback of clock crystals. A 1Hz crystal would need the same number of cycles, which comes to several hours. A clock that takes half a day to start after you insert the battery isn't usable.

Jitter averages out. Each individual cycle carries a small amount of timing jitter. Because the one-second pulse is the result of counting 32768 cycles, the individual jitters add up and cancel, leaving the one-second pulse's jitter at 1/√32768 ≈ 1/181 of a single cycle's jitter. The faster the vibration being counted, the more accurate the one-second pulse.

There are ways to generate 1Hz without a crystal (an RC oscillator, charging and discharging a resistor-capacitor pair), but their accuracy is only 1% to a few percent. 1% works out to a 15-minute drift per day — useless for a clock. A crystal's ±20ppm is more than 500 times more accurate than that.

Why a 1Hz crystal isn't madeThree panels: fork size compared (3mm vs. 54cm), trim step within one second compared (1/32768 vs. 1), and start-up time compared (1 second vs. hours). Three reasons a 1Hz crystal isn't made In each case, counting a fast vibration wins ① Too large 32.768kHz: 3mm arm 1Hz: arm 54cm+ Fork frequency ∝ 1/(arm length)². 1/32768 needs an arm 181× longer (√32768). ② Trimming too coarse Skip 1 of 32768 = 30.5ppm Skip 1 more every tens of seconds: <1ppm At 1Hz, smallest step = 1 second = 100% Can't correct ±20ppm part variation Fast vibration is what allows fine trimming. ③ Start-up too slow 32.768kHz 0.5–2s 1Hz (same cycle count needed) Hours A crystal needs tens of thousands of cycles to settle; at 1 cycle/s that is half a day.
Figure 2: why a 1Hz crystal isn't built. The fork exceeds 50cm, the smallest trim step becomes one second, and start-up takes hours.

So why not go with a higher frequency instead?

If 1Hz is off the table, a fast crystal like 4MHz or 10MHz seems just as viable — that's exactly what's used for microcontroller clocks. The reason it isn't used for a clock comes down mainly to the battery.

Current draw is proportional to frequency. A CMOS circuit draws current every time a signal switches. A 32.768kHz oscillator plus divider runs on 0.3–1µA combined. A CR2032 coin cell (225mAh) could theoretically run it for 25+ years, and in practice lasts 5–10 years. Run the same circuit at 4MHz and the current jumps by more than 100x, leaving the battery only a few weeks. That's decisive for a wristwatch, or for the backup battery of an RTC that keeps time with the power off.

The tuning-fork type is small and cheap. The 32.768kHz tuning-fork crystal, in production for wristwatches since 1969, is the highest-volume crystal made anywhere. Today it comes in a 2.0mm × 1.2mm package for a few cents. MHz-range crystals are a different part entirely — flat plates (AT-cut) with a different shape and different temperature behavior.

It sits above the audible range. Human hearing tops out around 20kHz. A 32.768kHz fork is physically vibrating but inaudible. Early wristwatch crystals used 8192Hz and 16384Hz too, but a lower frequency means both a bigger crystal and a frequency that falls inside the audible range. Just above 20kHz, a power of two, with low enough current draw — that intersection is 32768Hz.

Map of constraints by frequencyA log scale from 1Hz to 10MHz, with bands showing where crystals can't be built, the audible range, and where the battery can't keep up; the 20–120kHz gap between them is shaded green as the practical range, with power-of-two tick marks and the position of 32768Hz. Left: can't build it. Right: battery can't keep up. Pick a power of 2 in between X-axis: frequency (log). Bands are constraints; green is the practical range 1Hz 10 100 1kHz 10k 100k 1MHz 10M Powers of 2: 8192, 16384, 32768, 65536 32768Hz Can't build crystal / slow start-up Fork gets too long. Trim steps too coarse too. Audible range (to 20kHz): can be heard Battery can't keep up Current ∝ frequency. 100x+ current at 4MHz vs. 32kHz. Buildable, and the battery lasts The value meeting every constraint: a power of two just above 20kHz, 32768Hz. Standardized for wristwatches in 1969; crystals and ICs are built around this frequency ever since.
Figure 3: constraints plotted against frequency. To the left, crystals can't be built and start-up is too slow; to the right, current draw climbs. What's left — above the audible range, a power of two, and battery-friendly — is 32768Hz.

Quirks of the 32.768kHz crystal

That covers why it was chosen, but there are quirks worth knowing on the design side too.

Temperature only ever pulls it slow. A tuning-fork crystal's frequency peaks near 25°C and falls off in proportion to the square of the temperature difference from there (around −0.035ppm/°C²). At 0°C or 50°C, 25°C away in either direction, that's −22ppm, or −1.9 seconds a day. Whether it's hot or cold, the clock runs slow. High-precision RTC ICs (the DS3231, for example) correct for this with a temperature sensor and hold ±2ppm.

Load capacitance shifts the frequency. If the capacitors across the crystal (the load capacitance, 6pF or 12.5pF) drift from spec, the frequency shifts with them. A 1pF error moves it by around 10ppm, so it has to be matched including the board's stray capacitance. A microcontroller's RTC typically has a calibration register that numerically corrects for such a 1pF-equivalent shift, adding or removing a few pulses over 32 seconds for ±0.5ppm steps — another adjustment made possible only by counting a fast vibration.

The oscillation is weak, and vulnerable to noise and leakage. To keep current draw down, the oscillator is driven very gently. The traces around the crystal are high-impedance, so coupling from an adjacent signal line or leakage current from flux residue on the board surface can stop the oscillation or shift its frequency. Standard practice is to place the crystal right next to the IC, keep the traces as short as possible, surround it with GND, and route no other signal underneath it.

Start-up is slow. As noted, 0.5–2 seconds. RTC initialization needs a step that waits for the oscillation to settle (an LSERDY flag or similar on a microcontroller's RTC), and the clock doesn't advance for the first few seconds after a battery change.

In summary: the advantage of counting

To produce one second, the design counts 32768 fast cycles rather than using a one-second oscillator. This "counting" approach comes with the benefits of fine trimming, finer time intervals for free, and averaged-out jitter — and the circuit is nothing more than "count every other one," repeated 15 times.

And the counting speed settled on 32768Hz — a power of two, inaudible, sitting between the lower bound of what a crystal can be built at (the tens of kHz) and the upper bound the battery can sustain (below 100kHz). It looks like an odd number, but it's close to the only value that satisfies every constraint at once.

For estimating current draw and battery life, use the mAh→Wh calculator and the power consumption calculator; for converting between frequency and period, use the frequency ⇔ wavelength calculator.

Frequently asked questions

Would another power of two, like 16384Hz or 65536Hz, not work just as well?
Technically, either would work, and early wristwatches did use 8192Hz and 16384Hz. A lower frequency means less current draw, but a bigger crystal, and below 20kHz it moves into the audible range. A higher frequency shrinks the crystal but raises current draw. 32768Hz is the balance point, and once it became the standard, both crystals and ICs got built around it — there's no reason to change now.
What is a frequency divider?
A circuit that divides the input frequency by a whole number. What this article calls "counting only every other one" is divide-by-2, and chaining fifteen of those stages gives divide-by-32768 (division by 2 to the 15th power). Internally it's a chain of flip-flops (T flip-flops) that toggle their output on every input edge — also known as a ripple counter.
How accurate is ±20ppm for a clock, in practical terms?
86400 seconds a day × 20ppm = 1.7 seconds, about 52 seconds a month, and 10 minutes a year. That's typical for an ordinary wristwatch; a temperature-compensated RTC (±2ppm) drifts about a minute a year, and radio-controlled clocks or NTP-synced devices correct the drift externally.
Can a microcontroller's built-in RC oscillator drive the RTC?
A built-in low-speed RC oscillator (around 32kHz) is only accurate to ±5–10%, drifting 1–2 hours a day — useless for keeping time. Its low current draw and fast start-up make it well suited to "approximate timing" like timeouts or a watchdog, though. Real timekeeping needs an external 32.768kHz crystal.

Standards and references

  • Technical documentation from crystal oscillator manufacturers (Epson, Micro Crystal, Murata, and others) — Tuning-fork crystal construction, temperature characteristics, load capacitance vs. frequency, and start-up time
  • Reference manuals from microcontroller manufacturers (RTC calibration registers) — ppm-level calibration by adding or removing pulses
  • Maxim/Analog Devices DS3231 datasheet — Accuracy and correction method of a temperature-compensated RTC

← All columns