what are the better way to calculate the coefficient of friction
The definition of coefficent of friction is the factor multiplied by the normal force which opposed motion.
So, if a force F is pressing a matter into a surface, and one measures the amount of force needed to move the matter, then
coeff*normalForce=frictionforce
usually, normalforce is associated with weight.