Calcite with molecular formula CaCO_{3} is a carbonate minerals. It can be distinguish from non-carbonate minerals by reaction with HCl. The reaction of carbonate mineral, calcite with HCl produces effervescence due to the release of CO_{2} gas. This CO_{2} gas is produced due to the presence of carbonate in the calcite. The balanced chemical reaction is as follows:
CaCO_{3}+2HCl\rightarrow CaCl_{2}+H_{2}O+CO_{2}
Due to the absence of carbonate in non-carbonate minerals, the reaction with HCl does not form effervescence.