Bears tend to jump and swipe to get your bear bag. You want above the reach of the tallest bear in the area, I'd recommend 8-10 feet at a minimum.
You also want the bag at least a bear leg's length from the trunk of a tree, probably 4-6 feet at a minimum (if possible).
Some bears will also kamikaze from the bear cables. I know of some folks who swear they've seen this, and are otherwise trustworthy, but the bear climbs to about 20-30 feet up the tree, jumps off of the tree towards the bear bags and swipes the bags on the way down. If you have one of these crazy bears near your campsite, pop some popcorn, and plan to go hungry the next day.