hfe of transistor in active region
Real answer is you don't.   Hfe varies by temperature, part to part variability, collector current and voltage. Since you can't know what Hfe is at any given time, you make a circuit which is robust to the variations of Hfe.

Start by using a typical value and determine the component values (resistors) and bias points in the circuit.  Then check to see if you are in the operating envelope of the transistor (power dissipation, max currents, max breakdown voltages). Check the bias points to ensure you have adequate headroom for your AC circuit (ie you can achieve the gain you need at the signal level you need and you are still in the linear region).

If you are, then without changing the component values, change the Hfe for the worst value and check the operating envelope again to see if you are still OK.  Check the bias points to ensure you still have adequate headroom for your AC circuit (ie you can achieve the gain you need at the signal level you need and you are still in the linear region).

If you are, then without changing the component values, change the Hfe for the best value and check the operating envelope again to see if you are still OK.  Check the bias points to ensure you still have adequate headroom for your AC circuit (ie you can achieve the gain you need at the signal level you need and you are still in the linear region).

If you are, congratulations, you've accomplished something called robust engineering, and you can be sure if you get a random sample of (the same type) transistors, that the circuit will work properly.

If you fail along the way, then either find a different transistor that is better suited to the operating envelope, or revise the component values to better meet the circuits needs within the transistor's parameters.

If you are making a one-off circuit you don't need to do all this, just get typical values, calculate function and operating envelope, and make a one off.  Then check to see if it's near your calculations.  But don't assume because you made one that works, you can make many and won't have problems.