ForHosting KIT · Developer Utilities

Cents to frequency ratio calculator

This cents to frequency ratio calculator turns a musical interval expressed in cents into the multiplier between two frequencies.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter a positive value for an upward interval or a negative value for a downward interval, and the result shows the exact equal-temperament relationship represented by that distance. It is useful for tuning analysis, synthesizer settings, pitch correction, instrument design, and any calculation where an interval is known in cents but a usable frequency multiplier is required.

What a cents-to-ratio conversion tells you

A cent measures pitch distance on a logarithmic scale: one octave contains 1,200 cents, and an octave doubles frequency. A frequency ratio describes the same relationship as a multiplier. For example, a ratio greater than 1 means the second tone is higher than the first, while a ratio below 1 means it is lower. Converting cents to a ratio is therefore the bridge between a musical interval and an actual frequency calculation. Once you have the ratio, multiply any starting frequency by it to obtain the ending frequency. The starting pitch does not affect the ratio, so the same cents value works at every register. This is particularly helpful when a tuner, measurement tool, or temperament table reports an offset in cents but a synthesizer, oscillator, or spreadsheet expects a numerical multiplier. The calculator preserves the direction of the interval: positive cents produce a ratio above 1, negative cents produce its reciprocal, and zero cents produces exactly 1, representing unison.

How the formula works

The calculation uses the standard logarithmic definition of the cent: the frequency ratio equals 2 raised to the power of cents divided by 1,200. Dividing by 1,200 expresses the requested interval as a fraction of an octave, and raising 2 to that power turns the octave fraction into a frequency multiplier. This definition gives familiar checkpoints. At 1,200 cents, the exponent is one and the ratio is 2; at 600 cents, the exponent is one half and the ratio is the square root of 2. Negative intervals work without a separate rule because a negative exponent automatically returns the reciprocal ratio. The result is rounded to fifteen significant digits so it remains practical and deterministic in JSON while retaining far more precision than ordinary tuning or audio-control tasks require. The displayed formula also keeps the entered cents value visible, making the result easy to audit or reproduce in a calculator, spreadsheet, programming language, or digital signal processing workflow. No tuning reference such as A4 is needed because the output describes a relative interval rather than an absolute pitch.

Using the ratio with real frequencies

To apply the result, multiply the lower or starting frequency by the returned frequency ratio. If a tone begins at 440 Hz and the interval is positive, multiplying 440 by the ratio gives the shifted frequency. For a negative interval, the returned ratio is already below 1, so the same multiplication lowers the tone without changing the procedure. This makes the output convenient for synthesizer oscillator ratios, sample playback rates, pitch-shifter controls, acoustic measurements, and tuning comparisons. Be careful not to treat cents as a linear percentage: adding the same number of cents always produces the same musical interval, but it does not add the same number of hertz at every starting pitch. Also distinguish a ratio from an ending frequency. This capability returns the universal multiplier; it does not ask for or assume a base frequency. If you need to reverse the direction, negate the cents value or take the reciprocal of the ratio. API requests cost $0.002, while the browser calculation uses the same deterministic logic and can be run locally without a network-dependent algorithm.

Configure a synthesizer oscillator

Turn a detuning or temperament interval in cents into the oscillator frequency multiplier expected by an audio engine.

Analyze instrument tuning

Convert measured sharp or flat offsets into ratios that can be compared, graphed, or applied to reference frequencies.

Build pitch-processing software

Generate deterministic playback-rate or pitch-shift multipliers from cent values in an application, plug-in, or spreadsheet.

What formula converts cents to a frequency ratio?

Use frequency ratio = 2^(cents/1200). The calculator applies this definition directly.

What ratio is one octave?

An interval of 1,200 cents has a frequency ratio of 2, so the upper tone has twice the frequency of the lower tone.

Can I enter negative cents?

Yes. A negative interval returns a ratio below 1, which lowers a starting frequency when used as a multiplier.

Does the calculation require a reference frequency?

No. Cents and frequency ratios describe relative pitch distance. Multiply the returned ratio by any reference frequency when you need an ending frequency.

How much does the API calculation cost?

Each API request costs $0.002. The same deterministic calculation is also available in the browser.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/hobby/music-cents-to-ratio

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/hobby/music-cents-to-ratio \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cents":700}'
{
  "cents": 700
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "hobby.music_cents_to_ratio",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →