The amount of nitrogen in an organic substance can be determined by an analytical method called the kjeldahl method, in which all the nitrogen in the organic substance is converted to ammonia. the ammonia, which is a weak base, can be neutralized with hydrochloric acid, as described by the equation