My 12 gauge and 10 gauge are both loaded with #3. 24' is the longest possible shot in my house and 10' is probably more likely. My 20 gauge is my go to gun for a lot of reasons, mostly because of familiarity and its the one I shoot the most. It is loaded with #4 shot.
I patterned all of my guns with shot ranging from #6 to #3 in birdshot and all the way up to 00 buck at ranges from 8 yards to 30 yards. My chokes vary from IM and IC to full choke. At 8 yards all groups are small, less than 3" for my 20 using #4 shot but at 30 yards some are good and some are terrible. 00 Buck out of my 10 gauge will shoot a 36" donut ring with about 30" of clear space in the middle. That gun has a full choke.
You really do need to scope out your houses layout and run through some scenarios to best figure probable distances and longest likely distances and pattern for those ranges. My 10 and 12 are guns of last resort in house and best choice if I have to go outside. I chose #4 shot for my 20 gauge and made it my indoor first choice gun because it blows a clean hole through a 2X4 at 10' and blows an ice filled liter soda bottle to pieces at 24' leaving the top and bottom of the bottle free of pellets.
Not my first choice as a combat load, that would be 0 or 00 but for HD all I want is to stop the boogerman and protect my family and my house. I have every confidence that the little bird shot, (turkey load), to the head or groin will ruin a boogermans day at 24' and make him wish he had gone in for another line of work. At 10' his worries will be recuperation time if he does survive. I have no desire to kill anybody but I am dead serious about protecting my family. I'm old and disabled and so is my brother and sister who live with me. I chose #4 shot as good enough to stop an attack and reduces the risk of hurting them after poking a hole in the wall.
I don't give a tinkers dam about Box O' Truth. I am more concerned with my family, my belongings and a flesh and blood attacker who isn't going to want to be shot. Chances of being home invaded by a gang of frenzied heavily armored meth heads isn't too likely in my neck of the woods so I chose good enough. I can sleep with that.
For me the ideal choke has been IC, your gun will not be the same as mine and your needs may differ. As stated by several and as noted early in my post you need to pattern with what you have and make your own choice. George in Valdosta and Hank in San Pedro and Emma in Muscoda all have their own requirements and what they need or want isn't going to do you a bit of good. You need to get out there and do the sweat equity.