Both QuickLoad and GRT provide exactly the information you desire.What barrel length will burn all the powder before the bullet leaves the barrel?
How heavy of a charge have you shotMore important than the length is the twist. 1 in 8" will do it in a 20". That is a light charge with that combo.