McKinsey: Data Centers Are Cheaper Than The Cloud
datacenterknowledge.com
datacenterknowledge.com
If, on the other hand, you simply require the equivalent of a few machines on the net, it's cheaper to buy a piece of cloud, because the extra per-CPU cost is small compared to the costs in maintenance, personnel, etc that you would have to keep in-house.
DIY cost is very close to A (if you're talking datacenter scale).
A+B > A