Swing is what separates a stiff, machine-quantized beat from one that breathes. It works by shifting the off-beat eighth notes later, creating a long-short lilt. This calculator turns any swing ratio into the exact millisecond timings you need to dial into a sampler, sequencer or delay.
How it works
A pair of eighth notes together fills one quarter-note beat. Swing divides that beat
unevenly between the on-beat (down) eighth and the off-beat (and) eighth, according to a
long-to-short ratio. With L long parts and S short parts and a beat of 60000 / BPM
milliseconds:
on-beat eighth = beat · L / (L + S)
off-beat eighth = beat · S / (L + S)
swing percent = 100 · L / (L + S)
A straight feel is 1:1 (50 percent). Hard triplet swing is 2:1 (66.7 percent), where the off-beat lands on the final triplet of the beat. The off-beat’s shift from a straight placement is the on-beat duration minus half the beat.
Common swing ratios and their feel
| Ratio | Swing % | Character | Common genres |
|---|---|---|---|
| 1:1 | 50% | Dead straight | Rock, EDM, most electronic |
| 6:5 | 55% | Subtle push | Funk, contemporary R&B |
| 3:2 | 60% | Medium groove | Vintage hip-hop, soul |
| 5:3 | 62.5% | Strong groove | Boom-bap hip-hop |
| 2:1 | 66.7% | Full triplet swing | Jazz, blues shuffle |
| 3:1 | 75% | Heavy shuffle | Chicago blues, some country |
Worked example at 120 BPM
Beat length = 60000 ÷ 120 = 500 ms
2:1 triplet swing (66.7%):
- On-beat eighth = 500 × 2/3 = 333 ms
- Off-beat eighth = 500 × 1/3 = 167 ms
- Off-beat shift vs straight = 333 − 250 = 83 ms later
3:2 medium swing (60%):
- On-beat eighth = 500 × 3/5 = 300 ms
- Off-beat eighth = 500 × 2/5 = 200 ms
- Off-beat shift = 300 − 250 = 50 ms later
At faster tempos the absolute millisecond shift shrinks, which is why jazz played above 180 BPM often uses less swing — 83 ms at 120 BPM feels natural, but the equivalent shift at 200 BPM would sound mechanical rather than groovy.
Applying swing in a DAW
Most DAWs express swing as a percentage (Ableton, Logic, FL Studio) or as a subdivision offset:
- Ableton Live: the Groove Pool swing amount maps roughly to swing percentage. Set the base time division to 1/8 and raise the Amount slider.
- Logic Pro X: the Quantize menu includes swing presets (Swing A = light, Swing C/D = harder).
- FL Studio: the Beat+Bassline step sequencer has a Swing knob; divide its output by 100 to compare with swing percentages above.
- MIDI piano roll: use the off-beat shift value from this calculator to nudge every off-beat note that many milliseconds later manually.
Tips
- Lighter swing (54–62%) adds groove without sounding overtly shuffled — useful for hip-hop and funk where straight quantize sounds robotic.
- At higher tempos, reduce swing slightly; the ear perceives a smaller ms difference as the same feel at slower tempo.
- Swing is most noticeable on hi-hats and percussion; applying it selectively (hats swung, kick straight) can create natural-sounding drum patterns.
- For a live-band feel, combine swing with slight velocity variation on off-beats.
All timing maths runs locally in your browser.