Polyrhythm calculator

Enter the two rhythms, such as 3 against 2, and the tempo of the main beat. The calculator lays both on a common grid, tells you on which counts each note falls and how many milliseconds apart they are, and can play them with a high and a low click.

Grid cells per cycle (LCM)6
Rhythm A, time between notes
444.4 ms
Rhythm B, time between notes
666.7 ms
One cycle
1,333.3 ms
Rhythm A plays on cells
1 3 5 · X . X . X .
Rhythm B plays on cells
1 4 · X . . X . .
Both play on cell
1

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter rhythm A and rhythm B, each from 1 to 12 notes per cycle, such as 3 and 2 for a hemiola or 4 and 3.
  2. Set the tempo of rhythm B, the beat you feel or tap with your foot.
  3. Read the grid: filled cells are where each rhythm plays. Below are the cells to count and the spacing in milliseconds.
  4. Press play to hear rhythm A as a high click and rhythm B as a low click; the current cell is outlined.

How it works

cells = lcm(A, B); rhythm A plays every cells ÷ A cells, rhythm B every cells ÷ B cells.

cycle = 60,000 ÷ BPM × B ms, A spacing = cycle ÷ A, B spacing = cycle ÷ B.

The least common multiple comes from the greatest common divisor: lcm(A, B) = A × B ÷ gcd(A, B).

Worked example

3 against 2 at 90 BPM:

  • lcm(3, 2) = 6 cells;
  • A plays on cells 1, 3, 5 (X . X . X .) and B on cells 1, 4 (X . . X . .); they meet only on cell 1;
  • a beat of B is 60,000 ÷ 90 = 666.7 ms, a cycle of two beats is 1,333.3 ms, and the notes of A are 1,333.3 ÷ 3 = 444.4 ms apart.

For 4 against 3 the grid has 12 cells: A on 1, 4, 7, 10 and B on 1, 5, 9.

Tips

  • Practise slowly with both clicks, then mute one line in your head and keep it going.
  • Tap the main beat with your foot and play rhythm A with your hands.
  • To set delay or echo effects in time with the tempo, use the delay time calculator.

Frequently asked questions

How do you count a 3 against 2 polyrhythm?

Split the cycle into 6, the least common multiple of 3 and 2, and count 1 2 3 4 5 6. Three plays on 1, 3 and 5; two plays on 1 and 4.

What is the least common multiple for?

It is the smallest number of equal steps in which both rhythms land on whole steps. For 4 against 3 it is 12: the four plays every 3 cells and the three every 4 cells. The grid has that many cells.

Which rhythm does the tempo refer to?

To rhythm B, the main beat. At 90 BPM with 3 against 2, the two beats of B are 666.7 ms apart, one cycle lasts 1,333.3 ms and the three notes of A are 444.4 ms apart.

Why does the metronome have two sounds?

Rhythm A plays a higher click and rhythm B a lower one, so you can hear both lines at once. On the first cell of the cycle, where they meet, both clicks sound a little higher, so you can hear where the cycle starts.

More in Hobbies

All tools in this category: Hobbies ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.