We calculate market cap using weighted average shares outstanding, while some firms calculate it using shares outstanding. This usually accounts for the difference in market cap - it reflects two different calculations. 

If you think the error is beyond that, please send us the syntax you're using (what stock, what time period, etc.) as well as the comparison source and we'll make sure it gets corrected.

Did this answer your question?