I believe you could look at this inversely. A bullet works by projecting a particle with certain speed through combustion. When this combustion occurs, a large pressure it built up within the chamber of the barrel behind the bullet. This pressure will then seek to equalize, projecting the bullet forward. This pressure's ability to project the bullet is proportional to the volume of the barrel. A certain amount of pressure will displace a certain amount of air. The barrel of a hand gun is usually smaller then this amount, and only a fractional portion of the pressure is used for projection. Once the bullet is outside the barrel, the pressure will dissipate in the atmosphere. We can then assume that maximum velocity is reached at the tip of the barrel. Once beyond the barrel, external factors begin to slow it. Therefore, the barrel length must be considered.
Luckily, this is understood by the ammo companies. Their products almost always list the bullet weight (in grains), velocity (in ft/s), and the test barrel's length for that particular round (in inches). Using the information above, kinematic equations, Newton's laws, and bullet specifications we can find the force of a particular bullet upon leaving the barrel of a gun.
Looking at Speer's 45 Auto Gold Dot specs, we have a test barrel length of 5in, bullet weight of 230gr, and muzzle velocity of 890ft/s.
First we use kinematics to find the bullets acceleration. We are given the initial velocity (0m/s), final velocity [890ft/s (271.27m/s)], and distance [5in (.127m)], and we need to find acceleration. Find and use the appropriate equation.
We now have both acceleration and mass [230gr (.015kg)]. This enables us to use Newton's second law to find the force.
The force at different distances can also be found using the same process and the other specs. I have attached the full specs in case you want find these other forces.
http://www.speer-ammo.com/ballistics/detail.aspx?loadNo=23966