My 16 gal barely has enough room for 10 gallon full volume batches and 22lbs of grain, its like 1/2" from the top. With BIAB i think a good rule of thumb for full volume mashes is double your batch size.
49 quarts will be fine for most 5 gallon batches but may have trouble with a barleywine.