I have packed the garage to the gills, and as they spilled over into my basement (below) I created a mini version of the racks I've used in my garage.
They are simple and ultra-cheap to construct, can be rearranged and positioned wherever there is a little floor space, and I suppose (if you stick with treated lumber) they could be stacked outside like cord wood as you trim down the bike population within your domicile. (Haven't had occasion to try that myself though.
)
You'll need a drill-driver, a miter saw, and the following parts:
(2) 16" lengths of 2x4 lumber
(3) 19" lengths of 2x4 lumber
(4) deck railing slats, cut to 34" lengths
(20) deck screws
I position the slats at 3-1/2" on center, to capture the front/rear road wheels. (That also seems to be a viable spacing even for my MTB).