Well, RM, I started that very experiment with 45acp and 9mm two years ago. But I gave up.
I found that there was no single formula. When everything else is held constant, the velocity difference you measure as you change OAL is more dramatic when you are using a fast powder, but less dramatic when you are using heavier bullets, but more dramatic when you are at max load, but less dramatic for larger calibers. You have to pick your caliber, bullet, powder and charge, then test different cartridge overall lengths yourself. There is no single formula that holds true all the time.
For my favorite 9mm load of 4.2 grains Titegroup, 124g plated round nose bullet, Wolf SP primer, and 1.130" overall length: Shortening the overall length by .020 inches is equal to a tenth of a grain of powder. But that is only true for that particular combination. Every other combination will behave differently.