Here's my theory:
Course Length in feet divided by average fairway width = course difficulty. How do you like them apples?
That seams like a good way to do it, but I think there are other factors that come in, elevation, tree density, rough, etc...