The other thing would be if the recipe includes any simple sugars. The yeast attenuation number is for maltose. Beer yeast will typically ferment 100% of simple sugars. That is why some brewers use them in beers they want to finish dry.
Typically though, the formula you are using is the right one.