Metronomes, tuners and practice tools

Pro Pro is active in this browser. Open your Pro accountPro free trial is active. Open your Pro accountPro is active but will not renew. Open your Pro account

Swing Ratio Calculator

This swing ratio calculator converts swing percentage and ratio into offbeat milliseconds and DAW ticks. It returns the offbeat delay, eighth-note lengths, and tick offsets for 960 and 480 PPQ at tempos from 30 to 320 BPM. The swing percentage is limited to 50 to 80, and the ratio to 1.0 to 4.0.

Free · runs in your browser · nothing is uploaded

Open on TempoWren

This embed was switched off for this website. Open on TempoWren

Add this tool to your siteFree embed code, no sign-up. Keep the credit link.

Embed this tool

Copy this code into your website, blog or class page. The tool runs inside your page.

Optional settings, added to the address after embed=1: &accent=0f6b5c (colour, 3 or 6 hex digits). Other parameters are ignored.

Please keep the credit link below the tool.

This swing ratio calculator is for drummers, producers, and arrangers who program swung grooves and need the numbers behind the feel. Enter a tempo and either a swing percentage from 50 to 80 or a ratio from 1.0 to 4.0. The page returns the offbeat delay in milliseconds, the eighth-note length in milliseconds, and tick offsets for 960 and 480 pulses per quarter note (PPQ).

Changing either the percentage or the ratio updates the other. The Audition button plays the swung pattern through your speakers so you can judge the groove before entering it in a project. Presets for straight eighths, light swing, LinnDrum / MPC hip-hop, standard jazz triplet swing, and hard dotted swing fill the fields in one click. The calculation and click sound run entirely in your browser on the page’s own code.

Enter your project tempo in the calculator, then press Audition to hear the groove before you program it.

At a glance

Swing ratio is the length of the first eighth note compared with the second, and swing percentage gives where the second eighth falls within the beat. The tool converts between them with ratio = P / (100 - P), so 66.7% equals 2.00 : 1.

  • The tempo field accepts 30 to 320 BPM, and an empty or zero entry reads as 120.
  • The swing percentage field runs from 50 to 80 in 0.5 steps, and the ratio field runs from 1.0 to 4.0.
  • At 120 BPM and 66.7%, the offbeat delay reads +83.5 ms, with a first eighth of 333.5 ms and a second eighth of 166.5 ms.
  • At 960 PPQ, 66.7% reads +160 ticks (640 pos) against a straight eighth at tick 480.
  • The audition plays one click per beat, with a quieter click on the swung offbeat.

Last checked:

How do you calculate swing ratio, offbeat delay, and DAW ticks?

  1. Set “Tempo (BPM)” to project tempo. It accepts 30 to 320; empty or zero reads as 120.
  2. Enter “Swing percentage (%)” from 50 to 80 in 0.5 steps, or “Swing ratio (X : 1)” from 1.0 to 4.0. Fields sync: 66.7% shows as 2.00 : 1.
  3. Read “Offbeat delay” for how far the second eighth is pushed back. At 120 BPM and 66.7%, it reads +83.5 ms (first eighth 333.5 ms, second 166.5 ms).
  4. Check “DAW ticks (960 PPQ)” for the offset from straight eighth at tick 480, swung position in brackets. At 66.7% it reads +160 ticks (640 pos).
  5. Check “DAW ticks (480 PPQ)” for the same measure at 480 pulses per quarter note. Straight eighth sits at tick 240; 66.7% reads +80 ticks (320 pos).
  6. Check “Groove feel” for the feel at your percentage: up to 51% reads “Even / straight rhythm”; above 51% and below 56% reads “Subtle humanized push”; 56% to below 62% reads “Classic Roger Linn / hip-hop shuffle”; 62% to below 71% reads “Standard jazz triplet swing”; 71% and above reads “Hard dotted eighth-sixteenth swing”.
  7. Click a “Standard swing groove preset” to start from a known setting: Straight 8ths (50%), Light swing (54%), LinnDrum / MPC hip-hop (58%), Standard jazz triplet (66.7%), or Hard dotted swing (75%).
  8. Press “▶ Audition swing groove” to hear it; the button reads “⏹ Stop groove” during playback. One click sounds per beat, and a quieter click sits on the swung offbeat. Tempo or percentage changes apply on the next scheduled click.
  9. Press it again to stop.

How swing percentage, swing ratio, milliseconds, and ticks relate

Swing can be described two ways, and this tool keeps both descriptions in sync. The percentage says where the second eighth note falls within the beat, while the ratio compares the length of the first eighth to the second. Each value leads to the same milliseconds and the same tick positions, so you can enter whichever number your drum machine or sequencer uses.

How do you convert swing percentage to a swing ratio?

The ratio is the percentage divided by the remainder of 100, which the tool writes as ratio = P / (100 - P). At 66.7%, the calculation is 66.7 / 33.3, which gives 2.00 : 1. In reverse, the percentage is ratio / (ratio + 1) x 100, so a ratio of 2.00 gives 66.67%. A 50% setting is exactly 1.00 : 1, which means straight eighths. The ratio field stops at 4.0, which corresponds to 80%, and the percentage field stops at 80 as well.

Conversions for common settings appear in the presets: Straight 8ths is 50% and 1.00 : 1. Light swing is 54% and 1.17 : 1. The LinnDrum / MPC hip-hop preset is 58% and 1.38 : 1. Standard jazz triplet is 66.7% and 2.00 : 1. Hard dotted swing is 75% and 3.00 : 1.

How is the offbeat delay in milliseconds calculated?

The beat length comes from the tempo: beat duration = 60000 / BPM. A straight second eighth falls at half of that beat, while a swung one falls at the percentage of the beat. The delay is the difference between the two:

delay (ms) = beat duration x (percentage / 100 - 0.5)

At 120 BPM the beat is 500 ms, so at 66.7% the delay is 500 x 0.167, which the display shows as +83.5 ms. If you use the exact fraction 2/3 instead of the typed 66.7, the delay becomes 83.3 ms. The display rounds to one decimal place, so very small differences from hand calculations are expected.

Why do the tick values differ between 960 and 480 PPQ?

The tool treats the straight second eighth as half of the quarter note in each system. In a 960 PPQ project, a straight eighth sits at tick 480, and the swung position is the percentage times 960, rounded to a whole tick. At 58%, 960 x 0.58 is 556.8, which rounds to 557, so the offset is +77 ticks. In a 480 PPQ project, the straight eighth sits at tick 240 and the swung position is the percentage times 480. Both lines describe the same groove, so the offset in ticks is different but the timing in milliseconds is the same.

What does the groove feel label mean?

The label is chosen from the current percentage using fixed cut-offs in the tool. At 51% or below it reads “Even / straight rhythm”. Anything above 51% and below 56% reads “Subtle humanized push”. The range from 56% to below 62% reads “Classic Roger Linn / hip-hop shuffle”. Settings from 62% to below 71% read “Standard jazz triplet swing”. At 71% and above it reads “Hard dotted eighth-sixteenth swing”. The labels describe the tool’s own ranges and are a quick guide to the feel, not a fixed standard.

What do the audition clicks play?

The audition plays one click on every beat, with the first beat of each bar accented at a higher pitch than the other beats. A quieter, lower click sits on the swung offbeat at the position set by the percentage field. Because the click position reads the current percentage, a change made while the groove plays shows up on the next scheduled click.

PresetSwing percentageRatio
Straight 8ths50%1.00 : 1
Light swing54%1.17 : 1
LinnDrum / MPC hip-hop58%1.38 : 1
Standard jazz triplet66.7%2.00 : 1
Hard dotted swing75%3.00 : 1

Frequently asked questions

What is the difference between swing percentage and swing ratio?

Swing percentage gives the position of the second eighth note within the beat, such as 66.7%. Swing ratio compares the first eighth to the second, such as 2.00 : 1. The two values are converted into each other by the tool, so either one gives the same groove.

What swing percentage corresponds to standard jazz triplet swing?

The “Standard jazz triplet (66.7% / 2:1)” preset uses 66.7%, and typing 66.67 gives the exact two-thirds position. At that setting, the first eighth takes two triplet parts of the beat and the second takes one, which is a 2:1 ratio. The “Groove feel” line reads “Standard jazz triplet swing” for this range.

How do Roger Linn MPC swing percentages work here?

Because the tool has no separate MPC mode, the setting is just a percentage. The “LinnDrum / MPC hip-hop (58% / 1.38:1)” preset puts the percentage at 58, and the feel line reads “Classic Roger Linn / hip-hop shuffle” for values from 56 up to 62. You can type any value in the percentage field to match a setting on your own drum machine.

How do you calculate offbeat delay in milliseconds from BPM and swing?

Divide 60000 by the BPM to get the beat length in milliseconds, then multiply that by the swing percentage divided by 100, and subtract half of the beat. For example, at 100 BPM the beat is 600 ms, and at 60% the delay is 600 x (0.60 - 0.50), which equals 60 ms. The “Offbeat delay” card does this calculation for you.

How many DAW ticks represent 66.7% triplet swing at 960 PPQ?

At 960 PPQ, 66.7% lands at 640 ticks, which is an offset of +160 ticks from the straight eighth at tick 480. The same setting at 480 PPQ lands at tick 320, an offset of +80 ticks. These are the values shown on the two tick lines.

Can I hear the swing before I use it in my project?

Yes. Press “▶ Audition swing groove” to play a click pattern at the current tempo and swing setting, and press it again to stop. The audition uses the same BPM and percentage fields as the results, so you can adjust either one while it plays.

Does the swing calculator run in my browser?

Yes. The calculation and the click sound run entirely in your browser, using the page’s own code. Enter a tempo and either a swing percentage or a ratio, and the results update as you type. Changing one value updates the other, so you can work in whichever unit your drum machine uses.

Enhance your timing and groove control with these dedicated tools: