The pills I use are my prescription so I just have to go to town, about 20 miles to and from then the pharmacy which is probably 8 or so miles away from my home.
For weed, I can get it in anywhere from a 0.5-20 mile drive to the guy, depending on who I go through and if they deliver or not too.
MDMA almost always just gets delivered to me at home through a really good friend.
Anytime I get pills, it's probably anywhere from a 10 mile drive to a 50 mile drive to the guy, all depending on how desperate I am to get something.
Heroin usually isn't more then 10-15 miles away or less, once in a while though, I'll have to drive up to an hour or so to meet someone if I'm really sick, so like a 60-70 mile drive.