how to find the tension in a rope when we know that the weight of the body attached to the rope is 50 newton?

if there is a formula for that can you please tell
thankyou

If the body is hanging from the rope the tension is 50 Newtons on earth ignoring the mass of the rope.