You first need to identify your daily caloric requirement to maintain weight. If you have been at roughly the same weight for a while this is easy. Just write down what you eat for a day add up the calories. Now, subtract 15-20% for cutting or add 15-20% for bulking.
There are a lot opinions on the best macro nutrient break down. But most would agree that protein should be 35-50% of your diet. So simply multiply your calorie needs by 35% and divide by 4. This is your minimum protein requirement.
If this number calculates to lower than 1 gram per pound, your total calories are most like too low, even for cutting, which will put you at risk of losing lean mass.