A bought asset starts at its cost basis: the cash, debt, property, or services paid plus the costs of getting it ready, such as sales tax, freight, and installation. For real property, settlement fees and closing costs (abstract, recording, surveys, transfer taxes, title insurance, and seller amounts the buyer assumes) are part of basis, while loan costs are not: points paid to obtain a loan are generally deducted over the loan term rather than added, seller-paid points reduce the home's basis, and an assumed mortgage counts toward basis. That starting number then moves over the holding years. Capital improvements push it up; depreciation taken (or allowed) and deducted casualty losses pull it down. The result is adjusted basis, the number a later sale subtracts.
Worked example
A photographer buys studio lighting for $4,800 cash, pays $200 freight, and pays $150 for mounting before first use. Cost basis is $4,800 + $200 + $150 = $5,150. Two years later she adds a $900 power upgrade, raising basis to $6,050, and claims $1,200 of depreciation, lowering it to an adjusted basis of $4,850.