The AWS TCO Calculator is designed to provide you with a ballpark view of how much it will cost you to run equivalent infrastructure on AWS in comparison to your co-located or on-premise data center.
The calculator has been audited by an independent third-party, but you should of course check its output against your own calculations before you make any purchasing decisions.