Deductions & credits

It's the cost of the land, plus the cost of the construction and any other improvements to the land (bringing in sewer, water, gas, etc), plus any further permanent improvements since construction.  You can't count the value of your own labor, if you did the work yourself. You include any costs paid to others (contractors, materials, inspections, etc.)