Sodium nitrite, NaNO2, is a base. Because it is an ionic compound, it contains an anion. Because the anion nitrite, NO2-, is not on the list of neutral or acidic anions, it isbasic. The only common strong base anion is hydroxide, so compounds containing thenitrite ion must be weak bases.