When the refined gold is turned to liquid for better pureness
it is then precipitated
How much loss is there
I am not able to make tests because i don't have the means
Also what happens if there is a lot of tin and lead
There is never a true loss. It is always there somewhere. If you know what you are doing, you do the right things to assure that you get as much as you can and the rest will all come out in the wash. To try and get everything the first time is a fool's errand and can cost more in time, labor, and money than it is worth.
When you say "loss", however, I assume you mean such things as the traces that are left in the solution, the gold stuck to the filter paper, the tiny beads in the slag or on the crucible, etc. The amount of these sorts of "losses" depends on the knowledge and skills of the operator. Over the years, I've learned to minimize them, as I'm sure Harold, Lou, Steve, 4metals, and others have done also. After you learn the basics, there are many 100s of tricks to learn and neither of us will ever learn them all. Many of the tricks are posted on this forum but they can only be learned by experiencing them firsthand. You will also learn your own tricks.
If I were to re-refine a 100 oz bar of 9999 gold, I might hang up a gram, or two - .03% to .06%. If I only re-refined 1 oz, it could be as much as, maybe, 1/3 gram - 1%. These numbers can be less, depending mainly on the equipment I have and how much I want to screw with it. Here again, I will eventually get it all.
The tin will end up in the filter. So will the lead if you added a little sulfuric to the solution before you filtered.