Straight first
Two even eighth notes per beat: the second one lands exactly halfway. Drum machines call this 50% swing, because the off-beat sits 50% of the way through the pair.
Full swing
Move the off-beat later, to two thirds of the way through the pair, and the eighths become a long note and a short one. That is a triplet feel, about 67% on a drum machine, and the sound of a shuffle or a jazz ride.
The numbers between
Most grooves live somewhere between 50% and 67%. Around 54 to 58% on sixteenths gives hip hop and house a loose, human push without sounding like a shuffle. Past 70% the short note gets clipped and it starts to sound like a limp.
The drum machine has a swing control for every pattern. Load a straight beat, then raise the swing a few points at a time and listen for the moment it starts to lean.