Well, we know Newton's second law of motion states that force equals mass times acceleration: F = ma. If you know the net force on the object, and then also it's acceleration, you then can rearrange this formula to find the mass: m = F / a.
I hope this helps! I know I like to have formulas to take note of.
~Brooke❤️