The chemical formula for calcium nitrate is Ca(NO3)2. Each formula unit of calcium nitrate contains two nitrate ions (NO3-), and each nitrate ion contains one nitrogen atom. Therefore, there are two nitrogen atoms in one formula unit of calcium nitrate.