How much homeowner insurance should I buy?

How much homeowner insurance should I buy? In other words, how much does it really cost to rebuild this house? My homeowner insurance company insures the dwelling for X, and another company suggests I insure it for 76% of X. So who is right and how do I find out? Another important question — do…