There are a lot of different opinions on this topic. Some people base their intake off of their lean body mass, but I typically go by body weight. I think 1g per pound of body weight is a good starting point, 2g per pound is excessive IMO. I usually go between 1g-1.3g per pound of body weight.
It also depends on your current goals. If you're bulking and carb intake is high, you can lower your protein to .8g-1g per pound. Carbohydrates are protein sparing, and if you're giving your body a surplus of energy you won't need so much protein. On the flip side though, if you're cutting, I would recommend to keep protein a bit higher to help with recovery and muscle retention. Being in a calorie deficit can make recovery slower and put you in a position to metabolize amino acids as fuel, so having a high protein intake on a cut is always a smart choice.