How is the quantity of protein one needs every day calculated?

You need these values.
Age in years: 44.
Height in feet: 5 feet 10 inches
Gender: Male
Frame size (small, medium, large): Medium
Physical activity level: ???
Your daily protein intake should be more than 92 grams.