I am currently working on an automation project and I have a sensor for ammonium NH4, can I calculate the levels of ammonia NH3 from the obtained levels of NH4
Your interest is in NH3 gas which is likely to escape or NH3 dissolved in water. The latter entity is in fact NH4. To calculate how much NH3 may escape as gas, you will need to take into account pH, temperature and wind velocity.