Carbonation, temperature, gravity and line length all play a part plus some other minor factors but no witchcraft.
Look at this to work out your target pressure and measure the pressure you have along with beer temperature
https://drhansbrewery.com/beercarbonationcalculator/
and this...