Here's an old post:
"The formula is: 11.5 grains per cubic Inch of bore. You need a 36 inch barrel in .50 caliber to burn 80 grains of powder efficiently.( Actually, 81.29 grains!)
If you, or others forgot all that math you were taught in school( as I had) you calculate the formula this way...