About every ten years or so, somebody at the Rifleman or one of the gunzines gets curious about this question.
Remember that most factory muzzle velocities are chronographed from a 26" barrel. The reloading data handbooks vary; 24" has become more common for some, than the old standard of 26".
Anyhow, most tests have shown a velocity loss of 50 ft/sec per inch to 70 ft/sec per inch.
You can figure 300 to 400 ft/sec less with a 20" barrel than with a 26" barrel.
FWIW, Art