Depends on your batch size.... All that grain and water takes up a lot of space.
There are mash calculators that can tell you how much volume a given amount of grain and water will take... Here's and oldie but a goodie:
Green Bay Rackers--Mash Calculators
Scroll down to "Can I Mash It?"
The Priceless BIAB calculator can also give you what you want:
Priceless Brew in a Bag Calculator
Enter batch info on the left, see the calculated volumes on the far right
I brew 6 gal batches on the stovetop with ~13+lb grain bills... I typically mash in about 6.5-7g then do a pour-over sparge w/ an additional 1.5g. My goal is ~6.5 gallons after the boil so I can leave some of the break material behind in the kettle and get about 6.25g in the fermenter... then I can also leave some trub behind in the fermenter at packaging.
13lbs of grain and 7 gallons of water come to within a couple inches of the top of my 10G. Allows me comfortably stir w/out splashing over, and to easily manipilate the bag w/out making a mess... I could probably get that last 1.5 gallon in there, but it'd be too tight for my comfort.
tl;dr. Rule of thumb: bigger is better... 10G kettle for 5G batch