One anchor, twelve semitones
The page computes every note from the formula f = 440 * 2^((n-69)/12), where n is the MIDI note number of the selected pitch and 440 is the A4 standard. An octave doubles the frequency: A4 = 440 Hz, A5 = 880 Hz, A3 = 220 Hz. Each of the twelve semitones in between multiplies the frequency by 2^(1/12), about 1.0595. The tone is generated locally in the browser via the Web Audio API.