Interval & Tuning Calculator

Convert named intervals, ratios, and cents; compare them against 12-TET; and search cents input for constrained just-intonation ratios.

Calcophony Interval & Tuning screen showing a perfect fifth as a 3:2 ratio at 700 cents, with its nearest 12-TET semitone and beat rate against equal temperament

What the calculator does

Pick an interval by name, by frequency ratio, or by cent value, and the module reports its exact cent size and nearest 12-TET semitone, named by interval (Major 3rd, Minor 3rd). Exact grid matches are labeled as 12-TET; every off-grid interval also shows the bracketing semitone on the other side, so both signed distances are visible. Set a root pitch and the result also names the absolute 12-TET pitches (C♯4, D4) and reports the beat frequency against the nearest equal-tempered semitone at that root, so you can hear how the interval will wobble against equal temperament.

Finding a just-intonation approximation

In Cents input mode, the calculator searches for the simplest just-intonation ratio that lies within your configured error tolerance and prime limit. The search uses a Stern–Brocot tree walk between 1/1 and 2/1, collects ratios inside the tolerance band whose numerator and denominator primes fit under the limit, and then applies your tiebreaker. Simplest chooses the lowest numerator × denominator product, First keeps the first qualifying tree candidate, and Closest chooses the smallest cents error.

Anchoring at a root pitch

The Root section anchors the interval at a specific frequency. Toggle it on and enter the root as an exact frequency in Hz or as a chromatic pitch name; the mic button captures a pitch from the microphone. With a root set, the result names absolute pitches and reports the beat frequency against equal temperament. Toggle it off for cents-only analysis.

Auditioning the interval

Once an interval is set, play it back above the root pitch. Choose Together to sound both tones at once or Low→High to play them in sequence, then switch between Interval and 12-TET to compare the interval in its own tuning against the nearest equal-tempered equivalent. The 12-TET playback button is hidden when the interval is already on the equal-tempered grid. The beat glides in real time as you edit the interval or root, so A/B comparisons stay live.

Input modes

Options

Who this is for

Useful whenever tuning decisions have real musical weight. Composers working in just intonation or xenharmonic tunings can take a target cent value and find the simplest ratio that fits; theorists can show students that a "major third" covers a range of sizes; engravers and microtonalists can move between cent notation and ratio notation without leaving the app. For real-time pitch detection in historical temperaments, use Strobe Tuner.

Related modules

See all modules →