5lb bag of what? Kibble? Usually the weight per cup is on the bag. Just divide it by 4 to get the weight per 1/4 cup, and divide 5lbs by that weight (making sure units are the same, of course)... You could also weigh a 1/4 cup if you have a kitchen scale.
Hope it helps!