Here is a forumula to calculate the weight added to, or removed from, the front axle. You need to know your wheelbase length, hitch weight, and distance of hitch from axle, fore/aft.
I'll use my F350 crew cab long bed as the example. The truck has 168" wheelbase. My gooseneck hitch is mounted about 4" ahead of the axle, if I remember correctly (I installed it about 10 years ago and I'm getting old...).
Let's say the trailer in question has a hitch weight of 3000 lbs.
HitchPosition / Wheelbase x HitchWeight = TransferredWeight
4 / 168 x 3000 = 71.4
3000 - 71.4 = 2928.6
This means that 71.4 lbs of hitch weight are added to the front axle and 2928.6 lbs are added to the rear axle.
The formula can be used for calculating bumper hitch trailers too.
Let's say the trailer has a 1000 lb hitch weight and hitch is 60" behind the axle, same 168" wheelbase.
-60 / 168 x 1000 = -357
1000 - -357 = 1357
This means that 357 lbs are removed from the front axle and 1357 lbs are added to the rear axle.