It contains sodium and nitrate ions . Its chemical formula is NaNO3 .
Sodium nitrate is the chemical compound with the formula NaNO3 .