By the Numbers
Each guide starts from a handful of numbers, explains the mechanism behind them, and hands you a small model to test it. Every model prints its assumptions.
Music
Pitch, time, harmony, sound and the wire that connects them. Read in this order.
Chords by the Numbers
A piano field guide. Work chords out from a few rules, see the frequencies behind them, and hear what effects do to a sound.
- 12
- notes in the octave
- 440 Hz
- concert A
- 2:1
- the octave ratio
Rhythm by the Numbers
Rhythm is arithmetic on time. Work out swing, polyrhythm and Euclidean patterns, and find the smallest timing error you can hear.
- 500 ms
- one beat at 120 BPM
- 48 ticks/s
- MIDI clock at 120 BPM
- ≈ 6 ms
- smallest shift people notice
Blues by the Numbers
The blues breaks three rules of Western harmony, and you can measure every break: the dominant home chord, the blue third and the swing ratio.
- 969¢
- the harmonic 7th
- 319¢
- average blue third
- 1.5–1.75 : 1
- how drummers shuffle
Jazz Harmony by the Numbers
Chord arithmetic pushed further: stacked thirds, tritone substitution and voice leading by the shortest move.
- 21
- semitones, root to 13th
- 2 keys
- all a ii–V–I's 3rds and 7ths use
- 6
- tritones around 12 dominants
Synthesis by the Numbers
A synth note is a recipe of sine waves. Work out what the filter, FM, unison and bit depth do to that recipe.
- 8.95%
- sharp-edge overshoot
- k = 4
- a Moog ladder starts to sing
- 6.02 dB
- range per bit
MIDI by the Numbers
A MIDI cable carries 3,125 bytes a second and every value stops at 127. Those limits explain smeared chords and what MIDI 2.0 changed.
- 3,125 B/s
- the whole cable
- 0.96 ms
- one note-on
- 128
- values per knob
Voice by the Numbers
A voice is a buzzing source pushed through a tube you reshape ten times a second. Measure pitch and formants, and see what Auto-Tune changes.
- 1.7×
- women's speaking pitch vs men's
- 4 bands
- enough to understand speech
- ≈ 3 cents
- smallest pitch change heard
Software
The numbers inside the systems you run.
Queues by the Numbers
Systems do not fall over when they are full. They fall over when they are busy. Work out queueing from a few formulas and watch simulations agree.
- 2.25×
- more waiting at 90% busy than 80%
- 63%
- slow requests when fanning out to 100
- 24×
- BigTable tail cut by backup requests
Postgres by the Numbers
Postgres runs on a handful of numbers: an 8 KiB page, a row header, a 32-bit transaction counter. Work each one out from the source.
- 8,192 B
- one page
- 28 B
- row cost before any data
- 231
- transaction IDs of history
Infrastructure
The machines that keep the lights and the models running.
The Grid by the Numbers
One number on a control-room wall, 60 Hz, tells you whether the largest machine ever built is in balance. Trip a power plant, watch frequency fall, build a battery fleet, and cascade a blackout.
- 480 GW
- US average load
- 59.1 Hz
- load shedding starts
- 30×
- CA battery growth
Data Centers by the Numbers
A data center turns electricity into heat, and the computing happens along the way. Push on density, cooling, water and uptime.
- 4.7%
- of US electricity, 2024
- ~3,500×
- water vs air, heat carried
- 1.09
- Google fleet PUE
Earth
Weather and faults, as physics you can compute.
Hurricanes by the Numbers
A hurricane is a heat engine that borrows its spin from the Earth. Work out its speed limit, its surge, its rain and what the forecast cone means.
- ≈ 1/3
- best-case engine efficiency
- ~165×
- heat vs world electricity
- 26 °C
- sea warmth needed
Earthquakes by the Numbers
Magnitude is a logarithm, frequency is a power law, and faults keep bad time. Trigger a quake, fit the law, and read the Bay Area odds.
- ≈ 32×
- energy per magnitude step
- 74%
- Bay Area M6.7+, 30 yr
- 38 mm/yr
- plate motion
Startups
Cap tables are arithmetic too.
The tools are deliberately simple. They show the shape of a system, not a forecast. Figures link to their sources, and anything that rests on a rule of thumb or an industry tally is flagged.
