Note Frequency Calculator

About this calculator

Convert a musical note to its frequency, or find the nearest note to a frequency. This tool uses 12-tone equal temperament and your chosen A4 reference. You can also compare two frequencies or transpose a note by whole semitones.

Calculator inputs

Editable example: A4 at a 440 Hz reference. Calculate to see its modeled frequency.

Calculate the example or enter your own values.

Note controls are loading.

Note-frequency inputs and actions

C4 = index 60; A4 = index 69. At octave 9, only C through G are supported; an invalid selected note is retained for correction.

Input syntax, notation and limits

Use signed decimal or scientific tokens, at most 32 ASCII characters, with one to three exponent digits. Outer ASCII whitespace is allowed; no commas, internal spaces, expressions or unit suffixes. Frequencies must be 0.1 to 100000 Hz equivalent; A4 must be 300 to 500 Hz. These are numerical limits, not hearing or instrument recommendations.

Scientific pitch notation: C4 is index 60, A4 is 69. Supported note indices are 0 to 127 (C-1 to G9). Twelve equal logarithmic steps form an octave. Midpoint selection chooses the higher note within a disclosed 1e-10-semitone numerical tie band. Frequency cents below 1e-9 display as zero without rewriting the exact entry.

Unit-only changes preserve source tokens and units. A longer derived unit view stays valid; editing its digits creates a new entry subject to the 32-character grammar. Comparison uses no A4 reference or note spelling.

Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

What convention does this calculator use?

C4 is note index 60 and A4 is index 69. The supported named table runs from C-1, index 0, through G9, index 127. These are scientific pitch labels and a numerical equal-tempered coordinate. They are not piano-key numbers, and the calculator neither sends nor receives MIDI messages. Other products may label octaves differently.

How are notes converted to frequencies?

For note index m and A4 reference a, frequency is a × 2(m - 69) / 12. Twelve equal semitone steps double frequency. At A4 = 440 Hz, C4 is about 261.6255653 Hz. Moving C4 up twelve semitones gives C5 at about 523.2511306 Hz. At a 432 Hz reference, C4 is about 256.8687368 Hz. Changing A4 scales the model; it does not change twelve-tone equal temperament into another tuning system.

What do cents from the nearest note mean?

The continuous note coordinate is 69 + 12 × log₂(f / a). The nearest supported note is chosen from that unrounded coordinate. Deviation is 1200 × log₂(f / modeled note frequency). Negative deviation is flat; positive is sharp. For 432 Hz at A4 = 440 Hz, the nearest note is A4, about 31.76665 cents flat. Changing only the reference to 432 Hz gives A4 with zero modeled deviation. The original input remains 432 Hz in both tasks.

A midpoint chooses the higher note. To make floating-point ties deterministic, coordinates within 1e-10 semitone of a midpoint snap to that boundary before selection. Frequency-mode deviations smaller than 1e-9 cents display as zero; that display policy never changes the exact source entry. Frequencies whose nearest note lies outside C-1 to G9 remain valid inspections, with their continuous coordinate and reference, without a clamped note or invented cents result.

How are two frequencies compared?

The ratio is second frequency divided by first. Signed semitones are 12 × log₂(second / first), cents are 100 times semitones, and octaves are semitones divided by twelve. Comparing 220 Hz to 440 Hz gives ratio 2, up twelve semitones and one octave. Reversing them gives ratio 0.5 and down twelve semitones. Equal physical inputs such as 1 Hz and 0.001 kHz give the same frequency. Exact rational order determines direction even when a tiny difference is below ordinary display resolution.

No A4 reference or spelling choice enters this ratio. Chromatic size is not written interval quality: one semitone alone does not tell us whether a written interval is an augmented unison or a minor second. An A2-to-E4 numerical range spans nineteen semitones, or 19/12 octaves; it is not exactly one and a half octaves and does not classify a voice.

Which inputs are supported?

Frequency inputs must be 0.1 to 100000 Hz equivalent. A4 is 300 to 500 Hz inclusive; these are computation bounds, not hearing limits or musical recommendations. Select Hz or kHz separately. Signed decimal and scientific tokens such as 432, .432 and 4.32e2 are supported within the stated 32-character grammar. No commas, expressions or unit suffixes are accepted. Transposition is a whole shift from -127 to 127 semitones with both source and target indices inside 0 to 127.

A unit-only change keeps the accepted original token and source unit, displaying an exact derived view. A derived view may be longer than a newly entered token. Editing those digits creates a new source; output-unit choices never rewrite an entered frequency or A4 reference. Scientific notation and small-value formatting describe modeled numbers, not measurement accuracy.

Privacy, sharing and limitations

Calculation runs locally. There is no microphone, playback, device connection, account or automatic saving. Copy and print include the complete current active inputs and reference. Public links require separate consent and contain active numeric inputs and preferences; anyone with the link can read them. Hidden mode drafts are omitted. Reopening recomputes the same model rather than trusting a supplied headline.

This tool does not model other temperaments, stretched piano tuning, transposing instruments, instrument suitability, vocal type or hearing. It does not promise that a displayed frequency is a measured or achievable pitch. Very precise source tokens are preserved for reproducibility while logarithmic and exponential outputs remain finite-precision approximations.

Method and review

The UNSW acoustics explanation of note frequencies derives octave ratios and logarithmic semitone relationships. This calculator uses an original fixed implementation and original worked examples; it does not copy a competitor chart or engine. Method reviewed November 8, 2026. A method-review date does not certify an instrument or predict search rankings.

Frequently asked questions

Does choosing A4 = 432 Hz change temperament?
No. It changes the frequency reference. All twelve equal logarithmic steps per octave remain.
Why is a frequency valid without a note name?
A valid frequency can have its nearest index outside the supported C-1 to G9 table. The calculator reports that inspection without clamping to an endpoint.
Does the interval mode need an A4 reference?
No. A ratio between two entered frequencies is independent of A4, spelling and output frequency unit.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.