Home · Everyday · Tech, Text & Media · Semitone Calculator

Semitone Calculator

The distance between two notes in semitones — with the whole-tone count and the frequency ratio.

Your figures

Example result — edit the figures to make it yours

7

Semitones

The distance is the difference of MIDI note numbers — each semitone is one step, twelve to the octave. A negative result means the second note is lower.

In whole tones3.5
Frequency ratio1.4983
DirectionUp

What this calculator does

The distance between two notes in semitones — with the whole-tone count and the frequency ratio. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Semitones = difference of MIDI note numbers; ratio = 2^(n/12)

Note names use scientific pitch notation (middle C = C4) and equal temperament with A4 = 440 Hz.

A semitone multiplies frequency by 2^(1/12) ≈ 1.0595.

Chord spellings use sharps; enharmonic equivalents (D♯ = E♭) sound identical in equal temperament.

Worked example

With the example inputs this page opens with, the result is 7 — semitones. The distance is the difference of MIDI note numbers — each semitone is one step, twelve to the octave. A negative result means the second note is lower.

Quick reference

Quick reference — the worked example in full
FigureValue
Semitones7
In whole tones3.5
Frequency ratio1.4983
DirectionUp

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Semitone Calculator work?

The distance between two notes in semitones — with the whole-tone count and the frequency ratio. From note · To note → Semitones. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Semitone Calculator need?

From note · To note → Semitones. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Semitone Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.