There is not set spacing as bike sizes and shapes can vary drastically. We typically recommend around 16"-24" depending on stud width and staggering the heights for the best fit.
You can mock up the fit by laying the bikes on top of each other and seeing where the handlebars fit inside the other bikes middle triangle. You would then measure the difference in tire heights to translate to the wall