Skip to content

Research & practice / Developing

Music and mathematics: ratios, cycles and useful models

Use frequency ratios, logarithms and rhythmic arithmetic to answer precise musical questions without reducing musical meaning to numbers.

  • Acoustics
  • Comparative theory

In brief

Mathematics can describe relationships in musical sound and organisation: frequency ratios, duration proportions, repeating patterns, combinations and transformations. A mathematical model becomes useful when its assumptions are clear and its predictions answer a musical question. It does not, by itself, determine beauty, cultural significance or the appropriate performance of a tradition.

What you’ll learn

  • Calculate simple frequency ratios and distinguish ratios from differences.
  • Understand equal temperament as one explicitly defined model.
  • Use arithmetic to locate rhythmic events while keeping the musical interpretation separate.

Useful first: Pitch and frequency · Intervals · Pulse, beat and tempo

Intervals compare proportions

Suppose one tone has frequency 200 Hz and another 400 Hz. Their ratio is 2:1. The pair 300 Hz and 600 Hz has the same ratio even though its numerical difference is larger. In the usual octave-based description, both pairs span an octave. Adding a fixed number of hertz therefore does not preserve a musical interval across registers; multiplying by a fixed ratio does.

This is useful when transposing a mathematical example. If a melody model uses frequencies 200, 250 and 300 Hz, multiplying all three by 1.2 gives 240, 300 and 360 Hz. The ratios between corresponding notes remain unchanged. This calculation concerns a simplified frequency model, not a guarantee that an instrument or singer will retain identical timbre, articulation or perceived effort in the new register.

References: [1]

State the tuning system before calculating

Twelve-tone equal temperament divides an octave into twelve equal ratios. If r is the ratio of one step, then r multiplied by itself twelve times must equal 2. Therefore r = 2^(1/12), approximately 1.05946. From a reference frequency f, a note n steps higher has frequency f × 2^(n/12). This is a definition of a particular tuning model, not a claim that every musical culture uses it.

Cents offer a logarithmic unit for comparing intervals: 1200 × log2(f2/f1) gives the size in cents between positive frequencies f1 and f2. An octave has 1200 cents, and an equal-tempered semitone has 100. A decimal measurement can make comparison precise while leaving the musical judgement open. A small difference from an equal-tempered reference is not automatically an error in a performance that uses other intonational practices.

References: [2]

Count positions, then hear the pattern

For a constant pulse of b beats per minute, one beat lasts 60/b seconds. At 75 beats per minute, a beat lasts 0.8 seconds and an eight-beat cycle lasts 6.4 seconds. If four evenly spaced events fit into each beat, their spacing is 0.2 seconds. Always say which level your number describes: beat rate, subdivision rate and phrase length are not interchangeable.

A common-grid calculation can clarify a 3-against-2 relationship. Divide a shared span into six equal positions. One layer attacks at positions 0, 2 and 4; another attacks at 0 and 3. Both begin together again at position 6. The arithmetic locates attacks, but it does not specify accent, timbre, expressive timing or how a listener will group the result. Those remain musical questions to explore by listening.

Do not confuse a calculation with a complete explanation

In acoustics, the difference between two nearby frequencies can produce an audible beating rate. Two steady tones at 300 and 303 Hz provide a simplified example of a three-per-second amplitude fluctuation. These acoustic beats are a different use of the word from a musical pulse. Keeping the terms separate prevents an attractive equation from answering the wrong question.

The same care applies to pattern counting. A system may generate hundreds of pitch sequences, but that does not establish hundreds of meaningful ragas, compositions or culturally recognised forms. A useful research habit is to write three things beside every formula: what it represents, which assumptions make it valid, and which aspects of the music it leaves out. The resulting model is easier to test, explain and improve.

References: [3]

A worked example

Compare a ratio-based fifth with an equal-tempered fifth

Choose 240 Hz as a convenient mathematical reference. This is an original calculation, not a prescribed tonic or a judgement about a musical tradition.

  1. A 3:2 ratio gives 240 × 3/2 = 360 Hz.
  2. Seven equal-tempered semitones give 240 × 2^(7/12), approximately 359.594 Hz.
  3. The two upper frequencies differ by about 0.406 Hz.
  4. Their interval-size difference is approximately 1.955 cents. Keep the frequency difference and the cents difference labelled with their units.

Notice: Both systems can be described accurately without declaring one universally correct. The appropriate comparison depends on instrument, tuning practice and musical purpose.

Try it yourself

A six-beat cycle runs at ninety beats per minute, with three evenly spaced events per beat. Calculate its duration and number of events.

  1. Find the duration of one beat.
  2. Multiply by six for the cycle duration.
  3. Count the events and distinguish their rate from the beat rate.
Compare your thinking

One beat lasts 60/90 = 2/3 second. The cycle lasts four seconds and contains eighteen events. Their average rate is 4.5 events per second, while the beat rate remains ninety per minute. The calculation assumes steady tempo and even subdivision; expressive deviations would need separate measurement.

What to remember

  • Frequency ratios preserve interval relationships across registers.
  • Tuning calculations require explicit assumptions and units.
  • Arithmetic describes selected structure; musical meaning requires further evidence.

References & further study

Use these sources to check terminology and continue studying. The worked examples and exercises are written for this collection.

  1. Acoustics FAQ: Frequency and Pitch

    Joe Wolfe, University of New South Wales

    University explanation of frequency, period and the ratio-based relationship between musical intervals and frequencies.

  2. Note Names, MIDI Numbers and Frequencies

    Joe Wolfe, University of New South Wales

    Equations for equal-tempered pitch, frequency ratios and cents.

  3. 17.6 Beats

    OpenStax, University Physics Volume 1

    Physical explanation of beating from superposed frequencies.

Educational writing by Burnt Chapati. Send a correction or suggest a source.