By Mersenne's Laws, the fundamental frequency of a vibrating string f is determined by three physical quantities:
A cent is a logarithmic unit for measuring tiny pitch differences. In equal temperament one octave = 1200 cents, and adjacent semitones differ by 100 cents:
Measured in practice, the human ear resolves pitch differences of roughly 5–10 cents, while professional recording usually demands ±3 cents. This tuner defaults to a ±5 cent tolerance, adjustable in the settings.
When you pluck a string it does not only vibrate as a whole (fundamental f1) but also in segments at 1/2, 1/3, 1/4 … of its length, producing integer multiples of that frequency:
On the spectrum page the strong peak furthest to the left is usually the fundamental, and the smaller peaks at equal spacing after it are the harmonics. The balance among them is what gives each instrument its character, which is also why a tuner cannot simply take "the strongest peak" as the pitch: on some instruments the second harmonic is even stronger than the fundamental.
It uses McLeod Pitch Method (MPM): first computes autocorrelation with an FFT, normalises it into an NSDF, takes "the first peak reaching 88% of the global maximum" as the pitch period, then refines it by parabolic interpolation so the resolution is far finer than one sample.
Equal temperament splits the octave into 12 equal parts, so every key is equally "slightly off but usable"; the price is that no interval other than the octave is pure. Just intonation uses simple integer ratios (3:2, 5:4) to make chords extremely clean, but it goes out of tune the moment you modulate. Historical meantone, Werckmeister, Kirnberger and other "well temperaments" are compromises between the two.
Real strings have stiffness, so their harmonics sit slightly above exact integer multiples (string inharmonicity). Piano tuners therefore tune the treble slightly sharp and the bass slightly flat so the harmonics line up across octaves; that is the Railsback curve. The "Octave stretch" setting in the panel simulates this behaviour.