{"slug":"house-demolition-cost-calculator","lang":"en","category":"Demolition","subcategory":"demolition costs","ui":{"inputs":[{"name":"task__house_demolition","label":"Whole-house demolition (per sq ft)","type":"select","required":true,"default_value":"pro","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"quantity__house_demolition","label":"Floor area of the house to demolish","type":"number","required":true,"default_value":1750,"min":0.1,"max":100000,"unit":"sq ft","help":"Enter the size in square feet.","show_if":{"task__house_demolition":["pro"]}},{"name":"method","label":"Demolition method","type":"select","required":true,"default_value":"mechanical","options":[{"value":"mechanical","label":"Mechanical demolition (excavator)"},{"value":"deconstruction","label":"Deconstruction (salvage, hand-dismantled)"}],"show_if":{"task__house_demolition":["pro"]}},{"name":"task__interior_demolition","label":"Interior / partial demolition (per sq ft)","type":"select","required":true,"default_value":"skip","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"quantity__interior_demolition","label":"Area to strip out","type":"number","required":true,"default_value":1000,"min":0.1,"max":100000,"unit":"sq ft","help":"Enter the size in square feet.","show_if":{"task__interior_demolition":["pro"]}},{"name":"task__foundation_removal","label":"Foundation / slab removal","type":"select","required":true,"default_value":"skip","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"task__debris_disposal","label":"Debris cleanup and disposal","type":"select","required":true,"default_value":"pro","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"task__utility_disconnect","label":"Utility disconnection (water, gas, electric, sewer)","type":"select","required":true,"default_value":"pro","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"task__permit","label":"Demolition permit","type":"select","required":true,"default_value":"pro","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"task__asbestos_survey","label":"Asbestos inspection before demolition","type":"select","required":true,"default_value":"pro","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"task__asbestos_abatement","label":"Asbestos abatement (affected area)","type":"select","required":true,"default_value":"skip","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"quantity__asbestos_abatement","label":"Area with asbestos-containing material","type":"number","required":true,"default_value":500,"min":0.1,"max":100000,"unit":"sq ft","help":"Enter the size in square feet.","show_if":{"task__asbestos_abatement":["pro"]}},{"name":"task__lead_abatement","label":"Lead paint removal (affected area)","type":"select","required":true,"default_value":"skip","options":[{"value":"skip","label":"Skip this task"},{"value":"pro","label":"Hire a pro"}]},{"name":"quantity__lead_abatement","label":"Area with lead paint","type":"number","required":true,"default_value":500,"min":0.1,"max":100000,"unit":"sq ft","help":"Enter the size in square feet.","show_if":{"task__lead_abatement":["pro"]}},{"name":"state","label":"Location (state or metro area)","type":"select","required":true,"default_value":"US","options":[{"value":"US","label":"National average"},{"value":"AL","label":"Alabama (AL)"},{"value":"AK","label":"Alaska (AK)"},{"value":"AZ","label":"Arizona (AZ)"},{"value":"AR","label":"Arkansas (AR)"},{"value":"CA","label":"California (CA)"},{"value":"CO","label":"Colorado (CO)"},{"value":"CT","label":"Connecticut (CT)"},{"value":"DE","label":"Delaware (DE)"},{"value":"FL","label":"Florida (FL)"},{"value":"GA","label":"Georgia (GA)"},{"value":"HI","label":"Hawaii (HI)"},{"value":"ID","label":"Idaho (ID)"},{"value":"IL","label":"Illinois (IL)"},{"value":"IN","label":"Indiana (IN)"},{"value":"IA","label":"Iowa (IA)"},{"value":"KS","label":"Kansas (KS)"},{"value":"KY","label":"Kentucky (KY)"},{"value":"LA","label":"Louisiana (LA)"},{"value":"ME","label":"Maine (ME)"},{"value":"MD","label":"Maryland (MD)"},{"value":"MA","label":"Massachusetts (MA)"},{"value":"MI","label":"Michigan (MI)"},{"value":"MN","label":"Minnesota (MN)"},{"value":"MS","label":"Mississippi (MS)"},{"value":"MO","label":"Missouri (MO)"},{"value":"MT","label":"Montana (MT)"},{"value":"NE","label":"Nebraska (NE)"},{"value":"NV","label":"Nevada (NV)"},{"value":"NH","label":"New Hampshire (NH)"},{"value":"NJ","label":"New Jersey (NJ)"},{"value":"NM","label":"New Mexico (NM)"},{"value":"NY","label":"New York (NY)"},{"value":"NC","label":"North Carolina (NC)"},{"value":"ND","label":"North Dakota (ND)"},{"value":"OH","label":"Ohio (OH)"},{"value":"OK","label":"Oklahoma (OK)"},{"value":"OR","label":"Oregon (OR)"},{"value":"PA","label":"Pennsylvania (PA)"},{"value":"RI","label":"Rhode Island (RI)"},{"value":"SC","label":"South Carolina (SC)"},{"value":"SD","label":"South Dakota (SD)"},{"value":"TN","label":"Tennessee (TN)"},{"value":"TX","label":"Texas (TX)"},{"value":"UT","label":"Utah (UT)"},{"value":"VT","label":"Vermont (VT)"},{"value":"VA","label":"Virginia (VA)"},{"value":"WA","label":"Washington (WA)"},{"value":"WV","label":"West Virginia (WV)"},{"value":"WI","label":"Wisconsin (WI)"},{"value":"WY","label":"Wyoming (WY)"},{"value":"DC","label":"District of Columbia (DC)"},{"value":"M10420","label":"Akron, OH (metro)"},{"value":"M10580","label":"Albany-Schenectady-Troy, NY (metro)"},{"value":"M10740","label":"Albuquerque, NM (metro)"},{"value":"M10900","label":"Allentown-Bethlehem-Easton, PA-NJ (metro)"},{"value":"M11260","label":"Anchorage, AK (metro)"},{"value":"M12060","label":"Atlanta-Sandy Springs-Alpharetta, GA (metro)"},{"value":"M12260","label":"Augusta-Richmond County, GA-SC (metro)"},{"value":"M12420","label":"Austin-Round Rock-San Marcos, TX (metro)"},{"value":"M12540","label":"Bakersfield-Delano, CA (metro)"},{"value":"M12580","label":"Baltimore-Columbia-Towson, MD (metro)"},{"value":"M12940","label":"Baton Rouge, LA (metro)"},{"value":"M13820","label":"Birmingham-Hoover, AL (metro)"},{"value":"M14260","label":"Boise City, ID (metro)"},{"value":"M14460","label":"Boston-Cambridge-Newton, MA-NH (metro)"},{"value":"M14860","label":"Bridgeport-Stamford-Norwalk, CT (metro)"},{"value":"M15380","label":"Buffalo-Cheektowaga, NY (metro)"},{"value":"M15980","label":"Cape Coral-Fort Myers, FL (metro)"},{"value":"M16700","label":"Charleston-North Charleston, SC (metro)"},{"value":"M16740","label":"Charlotte-Concord-Gastonia, NC-SC (metro)"},{"value":"M16860","label":"Chattanooga, TN-GA (metro)"},{"value":"M16980","label":"Chicago-Naperville-Elgin, IL-IN-WI (metro)"},{"value":"M17140","label":"Cincinnati, OH-KY-IN (metro)"},{"value":"M17410","label":"Cleveland, OH (metro)"},{"value":"M17820","label":"Colorado Springs, CO (metro)"},{"value":"M17900","label":"Columbia, SC (metro)"},{"value":"M18140","label":"Columbus, OH (metro)"},{"value":"M18580","label":"Corpus Christi, TX (metro)"},{"value":"M19100","label":"Dallas-Fort Worth-Arlington, TX (metro)"},{"value":"M19660","label":"Deltona-Daytona Beach-Ormond Beach, FL (metro)"},{"value":"M19740","label":"Denver-Aurora-Lakewood, CO (metro)"},{"value":"M19780","label":"Des Moines-West Des Moines, IA (metro)"},{"value":"M19820","label":"Detroit-Warren-Dearborn, MI (metro)"},{"value":"M20500","label":"Durham-Chapel Hill, NC (metro)"},{"value":"M21340","label":"El Paso, TX (metro)"},{"value":"M22020","label":"Fargo, ND-MN (metro)"},{"value":"M22180","label":"Fayetteville, NC (metro)"},{"value":"M23060","label":"Fort Wayne, IN (metro)"},{"value":"M23420","label":"Fresno, CA (metro)"},{"value":"M24340","label":"Grand Rapids-Wyoming-Kentwood, MI (metro)"},{"value":"M24660","label":"Greensboro-High Point, NC (metro)"},{"value":"M24860","label":"Greenville-Anderson-Greer, SC (metro)"},{"value":"M25060","label":"Gulfport-Biloxi, MS (metro)"},{"value":"M25420","label":"Harrisburg-Carlisle, PA (metro)"},{"value":"M25540","label":"Hartford-West Hartford-East Hartford, CT (metro)"},{"value":"M26420","label":"Houston-The Woodlands-Sugar Land, TX (metro)"},{"value":"M26620","label":"Huntsville, AL (metro)"},{"value":"M26900","label":"Indianapolis-Carmel-Anderson, IN (metro)"},{"value":"M27140","label":"Jackson, MS (metro)"},{"value":"M27260","label":"Jacksonville, FL (metro)"},{"value":"M28140","label":"Kansas City, MO-KS (metro)"},{"value":"M28940","label":"Knoxville, TN (metro)"},{"value":"M29460","label":"Lakeland-Winter Haven, FL (metro)"},{"value":"M29540","label":"Lancaster, PA (metro)"},{"value":"M29620","label":"Lansing-East Lansing, MI (metro)"},{"value":"M29740","label":"Las Cruces, NM (metro)"},{"value":"M29820","label":"Las Vegas-Henderson-Paradise, NV (metro)"},{"value":"M30460","label":"Lexington-Fayette, KY (metro)"},{"value":"M30780","label":"Little Rock-North Little Rock-Conway, AR (metro)"},{"value":"M31080","label":"Los Angeles-Long Beach-Anaheim, CA (metro)"},{"value":"M31140","label":"Louisville/Jefferson County, KY-IN (metro)"},{"value":"M31540","label":"Madison, WI (metro)"},{"value":"M31700","label":"Manchester-Nashua, NH (metro)"},{"value":"M32580","label":"McAllen-Edinburg-Mission, TX (metro)"},{"value":"M32820","label":"Memphis, TN-MS-AR (metro)"},{"value":"M33100","label":"Miami-Fort Lauderdale-West Palm Beach, FL (metro)"},{"value":"M33340","label":"Milwaukee-Waukesha, WI (metro)"},{"value":"M33460","label":"Minneapolis-St. Paul-Bloomington, MN-WI (metro)"},{"value":"M33660","label":"Mobile, AL (metro)"},{"value":"M33700","label":"Modesto, CA (metro)"},{"value":"M34980","label":"Nashville-Davidson-Murfreesboro-Franklin, TN (metro)"},{"value":"M35300","label":"New Haven, CT (metro)"},{"value":"M35380","label":"New Orleans-Metairie, LA (metro)"},{"value":"M35620","label":"New York-Newark-Jersey City, NY-NJ-PA (metro)"},{"value":"M35840","label":"North Port-Bradenton-Sarasota, FL (metro)"},{"value":"M36100","label":"Ocala, FL (metro)"},{"value":"M36420","label":"Oklahoma City, OK (metro)"},{"value":"M36540","label":"Omaha, NE-IA (metro)"},{"value":"M36740","label":"Orlando-Kissimmee-Sanford, FL (metro)"},{"value":"M37100","label":"Oxnard-Thousand Oaks-Ventura, CA (metro)"},{"value":"M37340","label":"Palm Bay-Melbourne-Titusville, FL (metro)"},{"value":"M37860","label":"Pensacola-Ferry Pass-Brent, FL (metro)"},{"value":"M37980","label":"Philadelphia-Camden-Wilmington, PA-NJ-DE-MD (metro)"},{"value":"M38060","label":"Phoenix-Mesa-Chandler, AZ (metro)"},{"value":"M38300","label":"Pittsburgh, PA (metro)"},{"value":"M38940","label":"Port St. Lucie, FL (metro)"},{"value":"M38860","label":"Portland-South Portland, ME (metro)"},{"value":"M38900","label":"Portland-Vancouver-Hillsboro, OR-WA (metro)"},{"value":"M39300","label":"Providence-Warwick, RI-MA (metro)"},{"value":"M39340","label":"Provo-Orem-Lehi, UT (metro)"},{"value":"M39580","label":"Raleigh-Cary, NC (metro)"},{"value":"M39900","label":"Reno, NV (metro)"},{"value":"M40060","label":"Richmond, VA (metro)"},{"value":"M40140","label":"Riverside-San Bernardino-Ontario, CA (metro)"},{"value":"M40380","label":"Rochester, NY (metro)"},{"value":"M40900","label":"Sacramento-Roseville-Folsom, CA (metro)"},{"value":"M41420","label":"Salem, OR (metro)"},{"value":"M41620","label":"Salt Lake City-Murray, UT (metro)"},{"value":"M41700","label":"San Antonio-New Braunfels, TX (metro)"},{"value":"M41740","label":"San Diego-Chula Vista-Carlsbad, CA (metro)"},{"value":"M41860","label":"San Francisco-Oakland-Berkeley, CA (metro)"},{"value":"M41940","label":"San Jose-Sunnyvale-Santa Clara, CA (metro)"},{"value":"M42220","label":"Santa Rosa-Petaluma, CA (metro)"},{"value":"M42340","label":"Savannah, GA (metro)"},{"value":"M42540","label":"Scranton--Wilkes-Barre, PA (metro)"},{"value":"M42660","label":"Seattle-Tacoma-Bellevue, WA (metro)"},{"value":"M43340","label":"Shreveport-Bossier City, LA (metro)"},{"value":"M43620","label":"Sioux Falls, SD (metro)"},{"value":"M44060","label":"Spokane-Spokane Valley, WA (metro)"},{"value":"M41180","label":"St. Louis, MO-IL (metro)"},{"value":"M44700","label":"Stockton, CA (metro)"},{"value":"M45060","label":"Syracuse, NY (metro)"},{"value":"M45300","label":"Tampa-St. Petersburg-Clearwater, FL (metro)"},{"value":"M45780","label":"Toledo, OH (metro)"},{"value":"M45940","label":"Trenton-Princeton, NJ (metro)"},{"value":"M46060","label":"Tucson, AZ (metro)"},{"value":"M46140","label":"Tulsa, OK (metro)"},{"value":"M46520","label":"Urban Honolulu, HI (metro)"},{"value":"M47260","label":"Virginia Beach-Norfolk-Newport News, VA-NC (metro)"},{"value":"M47900","label":"Washington-Arlington-Alexandria, DC-VA-MD-WV (metro)"},{"value":"M48620","label":"Wichita, KS (metro)"},{"value":"M49180","label":"Winston-Salem, NC (metro)"},{"value":"M49340","label":"Worcester, MA-CT (metro)"},{"value":"M49660","label":"Youngstown-Warren, OH (metro)"}],"help":"Labor costs vary by state and metro area (a metro area replaces the state figure); material costs are assumed nationwide."}]},"logic_script":"var QTY_MAX = {\"sq_ft\":100000,\"square\":1000,\"each\":1000,\"linear_ft\":10000,\"hour\":2000};\nvar QTY_MAX_LABEL = {\"sq_ft\":\"100,000\",\"square\":\"1,000\",\"each\":\"1,000\",\"linear_ft\":\"10,000\",\"hour\":\"2,000\"};\nvar UNIT_ONE = {\"sq_ft\":\"sq ft\",\"square\":\"roofing square (100 sq ft)\",\"each\":\"unit\",\"linear_ft\":\"linear ft\",\"hour\":\"hour\",\"project\":\"project\"};\nvar UNIT_MANY = {\"sq_ft\":\"sq ft\",\"square\":\"roofing squares\",\"each\":\"units\",\"linear_ft\":\"linear ft\",\"hour\":\"hours\",\"project\":\"projects\"};\nfunction selOpt(mod, value) {\n  for (var i = 0; i < mod.options.length; i++) { if (mod.options[i].value === value) return mod.options[i]; }\n  for (var i = 0; i < mod.options.length; i++) { if (mod.options[i].value === mod.default) return mod.options[i]; }\n  return null;\n}\nfunction applyMods(itemId, qty, steps) {\n  var matProd = 1, laborProd = 1, addM = [0, 0, 0], addL = [0, 0, 0];\n  var mods = data.modifiers || [];\n  for (var i = 0; i < mods.length; i++) {\n    var m = mods[i];\n    if (m.kind === 'qty_tier' && m.applies_to.indexOf(itemId) !== -1) {\n      var tier = null;\n      for (var ti = 0; ti < m.tiers.length; ti++) { if (qty >= m.tiers[ti].min_qty && (!tier || m.tiers[ti].min_qty > tier.min_qty)) tier = m.tiers[ti]; }\n      if (tier) {\n        var tl = tier.labor_mult !== undefined ? tier.labor_mult : 1;\n        var tm = tier.material_mult !== undefined ? tier.material_mult : 1;\n        laborProd *= tl; matProd *= tm;\n        var tparts = [];\n        if (tl !== 1) tparts.push('labor x' + tl);\n        if (tm !== 1) tparts.push('materials x' + tm);\n        steps.push(m.label + ': ' + tier.min_qty + ' or more qualifies (' + tparts.join(', ') + ')' + (tier.basis === 'reasoned' ? ' (estimate adjustment' + (tier.rationale ? ': ' + tier.rationale : '') + ')' : '') + '.');\n      }\n      continue;\n    }\n    if (m.kind !== 'select' || m.applies_to.indexOf(itemId) === -1) continue;\n    var val = inputs[m.id]; if (val === undefined || val === null || val === '') val = m.default;\n    var opt = selOpt(m, val);\n    if (!opt) continue;\n    var lm = opt.labor_mult !== undefined ? opt.labor_mult : 1;\n    var mm = opt.material_mult !== undefined ? opt.material_mult : 1;\n    laborProd *= lm; matProd *= mm;\n    if (opt.add) {\n      var per = opt.add.per === 'qty' ? qty : 1;\n      var lsA = opt.add.labor_share;\n      addM[0] += opt.add.low * (1 - lsA) * per; addM[1] += opt.add.mid * (1 - lsA) * per; addM[2] += opt.add.high * (1 - lsA) * per;\n      addL[0] += opt.add.low * lsA * per; addL[1] += opt.add.mid * lsA * per; addL[2] += opt.add.high * lsA * per;\n    }\n    if (opt.value !== m.default) {\n      steps.push(m.label + ': ' + opt.label + (opt.basis === 'reasoned' ? ' (estimate adjustment' + (opt.rationale ? ': ' + opt.rationale : '') + ')' : '') + '.');\n    }\n  }\n  return { matProd: matProd, laborProd: laborProd, addM: addM, addL: addL };\n}\n// Un paso de cantidad/info: acc <op> (by x scale). \"by\" numerico o id de un valor de \"vals\".\nfunction stepApply(acc, st, vals) {\n  var by = typeof st.by === 'number' ? st.by : vals[st.by];\n  if (st.scale !== undefined) by = by * st.scale;\n  if (st.op === 'mul') return acc * by;\n  if (st.op === 'div') return acc / by;\n  if (st.op === 'add') return acc + by;\n  return acc - by;\n}\n// Entrada compartida (data.shared_inputs) por id.\nfunction sharedById(id) {\n  var list = data.shared_inputs || [];\n  for (var i = 0; i < list.length; i++) { if (list[i].id === id) return list[i]; }\n  return null;\n}\n// Devuelve { found, qty, invalidField }: found=false = itemId no tiene DerivedQty (usar la\n// cantidad manual de siempre); found=true, qty=null = SI tiene, pero el resultado no es un numero\n// utilizable (entradas extremas -> overflow a Infinity, o <= 0): antes se dejaba pasar y\n// aparecia 'Infinity'/el guion largo en steps/footprint (el fuzzing de validateToolLogic lo\n// detecta como salida invalida sin marcar el campo culpable, CA bloqueante).\nfunction derivedFor(itemId, steps) {\n  var mods = data.modifiers || [];\n  for (var i = 0; i < mods.length; i++) {\n    var m = mods[i];\n    if (m.kind !== 'derived' || m.item !== itemId) continue;\n    var vals = {};\n    // Entradas: primero las compartidas (campo shared__<id>, una sola vez en la UI), luego las propias.\n    var specs = [];\n    var sh = m.shared || [];\n    for (var q = 0; q < sh.length; q++) { var si = sharedById(sh[q]); specs.push({ id: sh[q], field: 'shared__' + sh[q], def: si ? si.default : 1 }); }\n    for (var j = 0; j < m.inputs.length; j++) { specs.push({ id: m.inputs[j].id, field: m.id + '__' + m.inputs[j].id, def: m.inputs[j].default }); }\n    for (var j = 0; j < specs.length; j++) {\n      var raw = inputs[specs[j].field];\n      // Campo ausente (p. ej. un test_case que no lo nombra): valor por defecto. Presente pero no\n      // numérico o ≤ 0 (\"abc\", vacío): se señala en su campo; antes se sustituía en silencio por el\n      // valor por defecto y el usuario no veía el error (smoke-test de painting, 29/09).\n      if (raw === undefined || raw === null) { vals[specs[j].id] = specs[j].def; continue; }\n      var v = lib.numEn(raw);\n      if (!isFinite(v) || v <= 0) return { found: true, qty: null, invalidField: specs[j].field };\n      vals[specs[j].id] = v;\n    }\n    var acc = vals[specs[0].id];\n    for (var k = 0; k < m.steps.length; k++) acc = stepApply(acc, m.steps[k], vals);\n    if (m.round === 'ceil') acc = Math.ceil(acc);\n    if (!isFinite(acc) || acc <= 0) return { found: true, qty: null, invalidField: specs[0].field };\n    steps.push(m.label + ': ' + lib.round(acc, 2) + ' ' + m.unit + '.');\n    return { found: true, qty: acc, invalidField: null };\n  }\n  return { found: false, qty: null, invalidField: null };\n}\n// Salidas informativas (modifiers kind 'info') de la partida: parten de su cantidad final y no\n// cambian el coste. \"by\" numerico, id de un select con valores numericos o input (propio o\n// compartido) de su DerivedQty. Devuelve una lista { label, unit, value }.\nfunction infoValuesFor(itemId, qty) {\n  var out = [];\n  var mods = data.modifiers || [];\n  for (var i = 0; i < mods.length; i++) {\n    var m = mods[i];\n    if (m.kind !== 'info' || m.item !== itemId) continue;\n    var vals = {};\n    for (var j = 0; j < mods.length; j++) {\n      var d = mods[j];\n      if (d.kind === 'select') { var sv = inputs[d.id]; vals[d.id] = Number((sv === undefined || sv === null || sv === '') ? d.default : sv); }\n      else if (d.kind === 'derived' && d.item === itemId) {\n        var dsh = d.shared || [];\n        for (var k = 0; k < dsh.length; k++) {\n          var sv2 = inputs['shared__' + dsh[k]]; var sdef = sharedById(dsh[k]);\n          vals[dsh[k]] = (sv2 === undefined || sv2 === null) ? (sdef ? sdef.default : 1) : lib.numEn(sv2);\n        }\n        for (var k = 0; k < d.inputs.length; k++) {\n          var iv = inputs[d.id + '__' + d.inputs[k].id];\n          vals[d.inputs[k].id] = (iv === undefined || iv === null) ? d.inputs[k].default : lib.numEn(iv);\n        }\n      }\n    }\n    var acc = qty;\n    for (var s = 0; s < m.steps.length; s++) acc = stepApply(acc, m.steps[s], vals);\n    if (m.round === 'ceil') acc = Math.ceil(acc);\n    if (!isFinite(acc)) continue;\n    out.push({ label: m.label, unit: m.unit, value: acc });\n  }\n  return out;\n}\nfunction infoRowsFor(itemId, qty, result, steps) {\n  var rows = infoValuesFor(itemId, qty);\n  for (var r = 0; r < rows.length; r++) {\n    result[rows[r].label] = lib.round(rows[r].value, 2) + ' ' + rows[r].unit;\n    steps.push(rows[r].label + ': ' + lib.round(rows[r].value, 2) + ' ' + rows[r].unit + '.');\n  }\n}\n// Cobro minimo (data.minimum_charge): low/mid/high nunca bajan de esas cifras (no aplica si todo es\n// DIY). Lo que se sube se cuenta como mano de obra para que Materials + Labor cuadre con el total.\nfunction applyMin(t, allDiy, steps) {\n  var mc = data.minimum_charge;\n  if (!mc || allDiy) return t;\n  var low = Math.max(t.low, mc.low), mid = Math.max(t.mid, mc.mid), high = Math.max(t.high, mc.high);\n  if (mid !== t.mid) {\n    steps.push('Minimum charge: most contractors bill at least ' + lib.usd(mc.mid) + ' for a job like this, so the typical cost is raised from ' + lib.usd(t.mid) + ' to ' + lib.usd(mid) + '.');\n  } else if (low !== t.low || high !== t.high) {\n    steps.push('Minimum charge: the low and high estimates are raised to ' + lib.usd(low) + ' and ' + lib.usd(high) + '.');\n  }\n  return { low: low, mid: mid, high: high, matMid: t.matMid, labMid: t.labMid + (mid - t.mid), savedLabor: t.savedLabor };\n}\nfunction ratioFor(state) {\n  var ratio = 1, place = 'the U.S. (national average)';\n  if (table && table.rows) { for (var r = 0; r < table.rows.length; r++) { if (table.rows[r][0] === state) { ratio = Number(table.rows[r][2]); if (state !== 'US') place = String(table.rows[r][1]); break; } } }\n  if (!isFinite(ratio) || ratio <= 0) ratio = 1;\n  return { ratio: ratio, place: place };\n}\nfunction computeItem(item, qty, qMult, ratio, diyAllowed, diy, steps) {\n  var mods = applyMods(item.id, qty, steps);\n  var ls = item.labor_share;\n  var baseLow = qty * item.low * qMult, baseMid = qty * item.mid * qMult, baseHigh = qty * item.high * qMult;\n  var matLow = baseLow * (1 - ls) * mods.matProd + mods.addM[0];\n  var matMid = baseMid * (1 - ls) * mods.matProd + mods.addM[1];\n  var matHigh = baseHigh * (1 - ls) * mods.matProd + mods.addM[2];\n  var labLow = baseLow * ls * mods.laborProd * ratio + mods.addL[0] * ratio;\n  var labMid = baseMid * ls * mods.laborProd * ratio + mods.addL[1] * ratio;\n  var labHigh = baseHigh * ls * mods.laborProd * ratio + mods.addL[2] * ratio;\n  var doDiy = diyAllowed && diy;\n  return {\n    low: doDiy ? matLow : matLow + labLow, mid: doDiy ? matMid : matMid + labMid, high: doDiy ? matHigh : matHigh + labHigh,\n    matMid: matMid, labMid: doDiy ? 0 : labMid, savedLabor: labMid\n  };\n}\nif (!data.items.length) return { result: 'No tasks available.', footprint: 'No cost data available.', invalid: 'task__' };\nvar rf = ratioFor(inputs.state);\nvar ratio = rf.ratio, place = rf.place;\nvar totalLow = 0, totalMid = 0, totalHigh = 0, totalMat = 0, totalLab = 0, totalSaved = 0;\nvar anySelected = false, anyDiy = false, anyPro = false;\nvar infoTotals = {}, infoOrder = [];\nvar steps = [];\nfor (var idx = 0; idx < data.items.length; idx++) {\n  var it = data.items[idx];\n  var task = inputs['task__' + it.id];\n  if (!task || task === 'skip') continue;\n  anySelected = true;\n  var derivedSteps = [];\n  var derived = derivedFor(it.id, derivedSteps);\n  var qty;\n  if (derived.found) {\n    if (derived.qty === null) return { result: 'Enter valid measurements greater than 0 for ' + it.label + '.', footprint: 'Waiting for valid measurements.', invalid: derived.invalidField };\n    qty = derived.qty;\n  } else {\n    qty = it.unit === 'project' ? 1 : lib.numEn(inputs['quantity__' + it.id]);\n    if (!isFinite(qty) || qty <= 0) return { result: 'Enter a project size greater than 0 for ' + it.label + '.', footprint: 'Waiting for a valid project size.', invalid: 'quantity__' + it.id };\n    if (QTY_MAX[it.unit] && qty > QTY_MAX[it.unit]) return { result: 'Enter ' + QTY_MAX_LABEL[it.unit] + ' ' + UNIT_MANY[it.unit] + ' or less.', footprint: 'Waiting for a valid project size.', invalid: 'quantity__' + it.id };\n  }\n  var itemDiyOk = it.diy_allowed !== false;\n  var diy = itemDiyOk && task === 'diy';\n  if (diy) anyDiy = true; else anyPro = true;\n  var modSteps = [];\n  var comp = computeItem(it, qty, 1, ratio, itemDiyOk, diy, modSteps);\n  totalLow += comp.low; totalMid += comp.mid; totalHigh += comp.high; totalMat += comp.matMid; totalLab += comp.labMid; if (diy) totalSaved += comp.savedLabor; // solo lo que de verdad haces tú (antes sumaba también la mano de obra de las tareas en pro)\n  var unitQty = qty === 1 ? (UNIT_ONE[it.unit] || it.unit) : (UNIT_MANY[it.unit] || it.unit);\n  steps = steps.concat(derivedSteps);\n  var unitOneS = UNIT_ONE[it.unit] || it.unit;\n  var unitPrice = it.mid < 100 ? 2 : 0;\n  steps.push(it.label + ': national typical price ' + lib.usd(it.mid, unitPrice) + ' per ' + unitOneS + ' (range ' + lib.usd(it.low, unitPrice) + ' to ' + lib.usd(it.high, unitPrice) + ').');\n  steps.push(it.label + ' (' + (diy ? 'DIY, materials only' : 'pro') + '): ' + qty + ' ' + unitQty + ' x ' + lib.usd(it.mid, unitPrice) + ' = ' + lib.usd(qty * it.mid) + ' before adjustments.');\n  steps = steps.concat(modSteps);\n  steps.push(it.label + ' (' + (diy ? 'DIY' : 'pro') + ') after ' + (diy ? 'materials adjustments' : 'the regional labor factor and adjustments') + ': ' + lib.usd(comp.mid) + ' (range ' + lib.usd(comp.low) + ' to ' + lib.usd(comp.high) + ').');\n  // Salidas informativas: las de igual etiqueta de todas las tareas activas se suman.\n  var taskInfo = infoValuesFor(it.id, qty);\n  for (var ii = 0; ii < taskInfo.length; ii++) {\n    var infoKey = taskInfo[ii].label;\n    if (!infoTotals[infoKey]) { infoTotals[infoKey] = { unit: taskInfo[ii].unit, value: 0 }; infoOrder.push(infoKey); }\n    infoTotals[infoKey].value += taskInfo[ii].value;\n  }\n}\nif (!anySelected) return { result: 'Select at least one task.', footprint: 'Waiting for at least one task.', invalid: 'task__' + data.items[0].id };\nvar minSteps = [];\nvar grand = applyMin({ low: totalLow, mid: totalMid, high: totalHigh, matMid: totalMat, labMid: totalLab, savedLabor: totalSaved }, !anyPro, minSteps);\ntotalLow = grand.low; totalMid = grand.mid; totalHigh = grand.high; totalLab = grand.labMid;\nvar result = {\n  'Typical cost': lib.usd(totalMid),\n  'Low estimate': lib.usd(totalLow),\n  'High estimate': lib.usd(totalHigh),\n  'Materials': lib.usd(totalMat),\n  'Labor': lib.usd(totalLab)\n};\nif (anyDiy) result['DIY labor savings'] = lib.usd(totalSaved);\nfor (var io = 0; io < infoOrder.length; io++) {\n  var infoRow = infoTotals[infoOrder[io]];\n  result[infoOrder[io]] = lib.round(infoRow.value, 2) + ' ' + infoRow.unit;\n  steps.push('Total for all selected tasks, ' + infoOrder[io] + ': ' + lib.round(infoRow.value, 2) + ' ' + infoRow.unit + '.');\n}\nsteps = steps.concat(minSteps);\nif (inputs.state && inputs.state !== 'US') {\n  steps.push('Labor wages in ' + place + ' are adjusted with the BLS regional factor for this trade.');\n}\nsteps.push('Total for all selected tasks: ' + lib.usd(totalMid) + ' (range ' + lib.usd(totalLow) + ' to ' + lib.usd(totalHigh) + ').');\nvar footprint = 'Selected tasks in ' + place + ': typical cost ' + lib.usd(totalMid) + '.';\nreturn { result: result, footprint: footprint, steps: steps };","reference_table":{"caption":"Regional labor cost adjustment (state or metro area wage vs. the national average, BLS OEWS)","headers":["Location","Name","Labor cost factor"],"rows":[["US","National average",1],["AL","Alabama",0.7286],["AK","Alaska",1.1392],["AZ","Arizona",0.9208],["AR","Arkansas",0.7544],["CA","California",1.2468],["CO","Colorado",0.9577],["CT","Connecticut",1.1388],["DE","Delaware",0.9229],["FL","Florida",0.8562],["GA","Georgia",0.7982],["HI","Hawaii",1.3746],["ID","Idaho",0.9347],["IL","Illinois",1.2996],["IN","Indiana",1.039],["IA","Iowa",0.9914],["KS","Kansas",0.876],["KY","Kentucky",0.881],["LA","Louisiana",0.812],["ME","Maine",0.9187],["MD","Maryland",0.9289],["MA","Massachusetts",1.3613],["MI","Michigan",1.0211],["MN","Minnesota",1.2443],["MS","Mississippi",0.7747],["MO","Missouri",1.1695],["MT","Montana",0.9914],["NE","Nebraska",0.9293],["NV","Nevada",1.0384],["NH","New Hampshire",0.9942],["NJ","New Jersey",1.3531],["NM","New Mexico",0.7967],["NY","New York",1.1951],["NC","North Carolina",0.8697],["ND","North Dakota",1.0215],["OH","Ohio",1.1205],["OK","Oklahoma",0.8324],["OR","Oregon",1.0707],["PA","Pennsylvania",1.0442],["RI","Rhode Island",1.1874],["SC","South Carolina",0.8739],["SD","South Dakota",0.8516],["TN","Tennessee",0.8835],["TX","Texas",0.8247],["UT","Utah",0.9304],["VT","Vermont",0.9802],["VA","Virginia",0.8393],["WA","Washington",1.1786],["WV","West Virginia",0.8755],["WI","Wisconsin",1.114],["WY","Wyoming",0.873],["DC","District of Columbia",1.0037],["M10420","Akron, OH",1.1584],["M10580","Albany-Schenectady-Troy, NY",1.1609],["M10740","Albuquerque, NM",0.8149],["M10900","Allentown-Bethlehem-Easton, PA-NJ",1.0548],["M11260","Anchorage, AK",1.1491],["M12060","Atlanta-Sandy Springs-Alpharetta, GA",0.8293],["M12260","Augusta-Richmond County, GA-SC",0.8211],["M12420","Austin-Round Rock-San Marcos, TX",0.8526],["M12540","Bakersfield-Delano, CA",1.1707],["M12580","Baltimore-Columbia-Towson, MD",0.9156],["M12940","Baton Rouge, LA",0.8186],["M13820","Birmingham-Hoover, AL",0.7769],["M14260","Boise City, ID",0.9402],["M14460","Boston-Cambridge-Newton, MA-NH",1.3713],["M14860","Bridgeport-Stamford-Norwalk, CT",1.1616],["M15380","Buffalo-Cheektowaga, NY",1.1142],["M15980","Cape Coral-Fort Myers, FL",0.8505],["M16700","Charleston-North Charleston, SC",0.8891],["M16740","Charlotte-Concord-Gastonia, NC-SC",0.887],["M16860","Chattanooga, TN-GA",0.8543],["M16980","Chicago-Naperville-Elgin, IL-IN-WI",1.3296],["M17140","Cincinnati, OH-KY-IN",1.1117],["M17410","Cleveland, OH",1.113],["M17820","Colorado Springs, CO",0.9183],["M17900","Columbia, SC",0.8632],["M18140","Columbus, OH",1.1995],["M18580","Corpus Christi, TX",0.8422],["M19100","Dallas-Fort Worth-Arlington, TX",0.8414],["M19660","Deltona-Daytona Beach-Ormond Beach, FL",0.8495],["M19740","Denver-Aurora-Lakewood, CO",0.9791],["M19780","Des Moines-West Des Moines, IA",1.0379],["M19820","Detroit-Warren-Dearborn, MI",1.0755],["M20500","Durham-Chapel Hill, NC",0.912],["M21340","El Paso, TX",0.7142],["M22020","Fargo, ND-MN",1.0702],["M22180","Fayetteville, NC",0.8526],["M23060","Fort Wayne, IN",0.9775],["M23420","Fresno, CA",1.1539],["M24340","Grand Rapids-Wyoming-Kentwood, MI",0.99],["M24660","Greensboro-High Point, NC",0.8324],["M24860","Greenville-Anderson-Greer, SC",0.8835],["M25060","Gulfport-Biloxi, MS",0.7999],["M25420","Harrisburg-Carlisle, PA",1.0106],["M25540","Hartford-West Hartford-East Hartford, CT",1.1317],["M26420","Houston-The Woodlands-Sugar Land, TX",0.8428],["M26620","Huntsville, AL",0.7259],["M26900","Indianapolis-Carmel-Anderson, IN",1.0459],["M27140","Jackson, MS",0.7778],["M27260","Jacksonville, FL",0.8416],["M28140","Kansas City, MO-KS",1.0851],["M28940","Knoxville, TN",0.9266],["M29460","Lakeland-Winter Haven, FL",0.8091],["M29540","Lancaster, PA",0.9912],["M29620","Lansing-East Lansing, MI",1.0513],["M29740","Las Cruces, NM",0.7943],["M29820","Las Vegas-Henderson-Paradise, NV",1.0204],["M30460","Lexington-Fayette, KY",0.8912],["M30780","Little Rock-North Little Rock-Conway, AR",0.7453],["M31080","Los Angeles-Long Beach-Anaheim, CA",1.2151],["M31140","Louisville/Jefferson County, KY-IN",0.9562],["M31540","Madison, WI",1.1232],["M31700","Manchester-Nashua, NH",0.9523],["M32580","McAllen-Edinburg-Mission, TX",0.6642],["M32820","Memphis, TN-MS-AR",0.9074],["M33100","Miami-Fort Lauderdale-West Palm Beach, FL",0.8864],["M33340","Milwaukee-Waukesha, WI",1.1457],["M33460","Minneapolis-St. Paul-Bloomington, MN-WI",1.3031],["M33660","Mobile, AL",0.7192],["M33700","Modesto, CA",1.2043],["M34980","Nashville-Davidson-Murfreesboro-Franklin, TN",0.8976],["M35300","New Haven, CT",1.1536],["M35380","New Orleans-Metairie, LA",0.8422],["M35620","New York-Newark-Jersey City, NY-NJ-PA",1.2962],["M35840","North Port-Bradenton-Sarasota, FL",0.8845],["M36100","Ocala, FL",0.7849],["M36420","Oklahoma City, OK",0.8345],["M36540","Omaha, NE-IA",0.9527],["M36740","Orlando-Kissimmee-Sanford, FL",0.8289],["M37100","Oxnard-Thousand Oaks-Ventura, CA",1.2285],["M37340","Palm Bay-Melbourne-Titusville, FL",0.8676],["M37860","Pensacola-Ferry Pass-Brent, FL",0.8228],["M37980","Philadelphia-Camden-Wilmington, PA-NJ-DE-MD",1.1328],["M38060","Phoenix-Mesa-Chandler, AZ",0.9354],["M38300","Pittsburgh, PA",1.0432],["M38940","Port St. Lucie, FL",0.8524],["M38860","Portland-South Portland, ME",0.9596],["M38900","Portland-Vancouver-Hillsboro, OR-WA",1.1163],["M39300","Providence-Warwick, RI-MA",1.2093],["M39340","Provo-Orem-Lehi, UT",0.8922],["M39580","Raleigh-Cary, NC",0.8935],["M39900","Reno, NV",1.0915],["M40060","Richmond, VA",0.8259],["M40140","Riverside-San Bernardino-Ontario, CA",1.2604],["M40380","Rochester, NY",1.0661],["M40900","Sacramento-Roseville-Folsom, CA",1.2314],["M41420","Salem, OR",1.0744],["M41620","Salt Lake City-Murray, UT",0.9641],["M41700","San Antonio-New Braunfels, TX",0.8049],["M41740","San Diego-Chula Vista-Carlsbad, CA",1.1626],["M41860","San Francisco-Oakland-Berkeley, CA",1.4153],["M41940","San Jose-Sunnyvale-Santa Clara, CA",1.3411],["M42220","Santa Rosa-Petaluma, CA",1.2608],["M42340","Savannah, GA",0.7603],["M42540","Scranton--Wilkes-Barre, PA",1.0127],["M42660","Seattle-Tacoma-Bellevue, WA",1.2491],["M43340","Shreveport-Bossier City, LA",0.8168],["M43620","Sioux Falls, SD",0.8728],["M44060","Spokane-Spokane Valley, WA",1.0773],["M41180","St. Louis, MO-IL",1.2818],["M44700","Stockton, CA",1.1891],["M45060","Syracuse, NY",1.1086],["M45300","Tampa-St. Petersburg-Clearwater, FL",0.8557],["M45780","Toledo, OH",1.0992],["M45940","Trenton-Princeton, NJ",1.405],["M46060","Tucson, AZ",0.8683],["M46140","Tulsa, OK",0.8687],["M46520","Urban Honolulu, HI",1.3477],["M47260","Virginia Beach-Norfolk-Newport News, VA-NC",0.7855],["M47900","Washington-Arlington-Alexandria, DC-VA-MD-WV",0.9546],["M48620","Wichita, KS",0.8278],["M49180","Winston-Salem, NC",0.8539],["M49340","Worcester, MA-CT",1.3267],["M49660","Youngstown-Warren, OH",1.0333]]},"cost_data":{"trade":"demolition","version":"v1","country":"us","currency":"USD","retrieved_at":"2026-10-14","labor_soc":"47-2061","diy_allowed":false,"mode":"sum","items":[{"id":"house_demolition","label":"Whole-house demolition (per sq ft)","unit":"sq_ft","low":4,"mid":8,"high":15,"labor_share":0.5,"diy_allowed":false,"default_task":"pro","default_qty":1750,"qty_label":"Floor area of the house to demolish","sources":[{"label":"Redfin - Cost to Demolish a House","url":"https://www.redfin.com/blog/cost-to-demolish-a-house/","quote":"On average, it costs between $4 and $10 per square foot to demolish a home.","retrieved_at":"2026-10-14","low":4,"high":10},{"label":"Hometown Demolition Contractors - Demolition Cost per Square Foot","url":"https://www.hometowndemolitioncontractors.com/blog/how-much-does-demolition-cost-per-square-foot","quote":"On average, residential demolition costs $5 to $15 per square foot.","retrieved_at":"2026-10-14","low":5,"high":15},{"label":"702 DEMO - House Demolition Cost","url":"https://www.702demo.com/what-does-it-cost-to-knock-down-a-house-in-2026/","quote":"You’ll usually see costs between $4 and $17 per square foot.","retrieved_at":"2026-10-14","low":4,"high":17}]},{"id":"interior_demolition","label":"Interior / partial demolition (per sq ft)","unit":"sq_ft","low":2,"mid":4.5,"high":8,"labor_share":0.7,"diy_allowed":true,"default_task":"skip","default_qty":1000,"qty_label":"Area to strip out","sources":[{"label":"702 DEMO - Residential Interior Demolition Cost","url":"https://www.702demo.com/8-facts-that-shape-residential-interior-demolition-cost/","quote":"Residential interior demolition typically costs $2-$8 per square foot","retrieved_at":"2026-10-14","low":2,"high":8},{"label":"Permit Experts NYC - Interior Demolition Cost","url":"https://www.permitexpertsnyc.com/guides/interior-demolition-cost/","quote":"Interior demolition costs $2 to $7 per square foot nationally for a full gut","retrieved_at":"2026-10-14","low":2,"high":7},{"label":"Venditti - Interior Demolition Cost","url":"https://www.vendittillc.com/blog/how-much-does-interior-demolition-cost/","quote":"The national average cost of demolition is between $4 – $8 per square foot.","retrieved_at":"2026-10-14","low":4,"high":8}]},{"id":"foundation_removal","label":"Foundation / slab removal","unit":"project","low":1500,"mid":3000,"high":9000,"labor_share":0.6,"diy_allowed":false,"default_task":"skip","default_qty":1,"sources":[{"label":"Hometown Demolition Contractors - Concrete Foundation Removal","url":"https://www.hometowndemolitioncontractors.com/blog/concrete-foundation-removal-cost-guide","quote":"The cost of concrete foundation removal is $1,000-$5,000 on average, including debris disposal.","retrieved_at":"2026-10-14","low":1000,"high":5000},{"label":"LawnMasters - Concrete slab foundation removal","url":"https://lawnmasters.com/costs/cost-to-demolish-a-house","quote":"Removing a concrete slab foundation typically costs $2,000 to $6,000","retrieved_at":"2026-10-14","low":2000,"high":6000},{"label":"Redfin - Concrete foundation demolition","url":"https://www.redfin.com/blog/cost-to-demolish-a-house/","quote":"Concrete foundation:  $2,000 – $6,000","retrieved_at":"2026-10-14","low":2000,"high":6000}]},{"id":"debris_disposal","label":"Debris cleanup and disposal","unit":"project","low":300,"mid":1000,"high":1800,"labor_share":0.3,"diy_allowed":false,"default_task":"pro","default_qty":1,"sources":[{"label":"Dropcurb - Debris disposal after demolition","url":"https://dropcurb.com/blog/house-demolition-cost","quote":"Debris disposal adds $300 to $1,800 for standard homes.","retrieved_at":"2026-10-14","low":300,"high":1800},{"label":"Liongate Builders - Debris removal","url":"https://liongatebuilders.com/blog/how-much-does-it-cost-to-tear-down-a-house/","quote":"Once the structure is down, debris is hauled away. This can cost between $1,500 and $3,000","retrieved_at":"2026-10-14","low":1500,"high":3000}]},{"id":"utility_disconnect","label":"Utility disconnection (water, gas, electric, sewer)","unit":"project","low":500,"mid":1200,"high":2500,"labor_share":0.8,"diy_allowed":false,"default_task":"pro","default_qty":1,"sources":[{"label":"Dropcurb - Utility disconnection","url":"https://dropcurb.com/blog/house-demolition-cost","quote":"Utility disconnection: Electric, gas, water, and sewer lines must be professionally disconnected before demolition. Budget $500 to $2,000.","retrieved_at":"2026-10-14","low":500,"high":2000},{"label":"Liongate Builders - Utility disconnection","url":"https://liongatebuilders.com/blog/how-much-does-it-cost-to-tear-down-a-house/","quote":"Utilities such as water, gas, electricity, and sewer lines must be safely disconnected to prevent accidents during demolition. This process costs between $600 and $3,800.","retrieved_at":"2026-10-14","low":600,"high":3800}]},{"id":"permit","label":"Demolition permit","unit":"project","low":100,"mid":300,"high":600,"labor_share":0,"diy_allowed":false,"default_task":"pro","default_qty":1,"sources":[{"label":"Liongate Builders - Demolition permit","url":"https://liongatebuilders.com/blog/how-much-does-it-cost-to-tear-down-a-house/","quote":"Permit fees can range from $100 to $500, depending on local codes and environmental requirements.","retrieved_at":"2026-10-14","low":100,"high":500},{"label":"Dropcurb - Demolition permit","url":"https://dropcurb.com/blog/house-demolition-cost","quote":"Demolition permits cost $50 to $1,000 in most cities","retrieved_at":"2026-10-14","low":50,"high":1000}]},{"id":"asbestos_survey","label":"Asbestos inspection before demolition","unit":"project","low":250,"mid":450,"high":800,"labor_share":0.9,"diy_allowed":false,"default_task":"pro","default_qty":1,"sources":[{"label":"UNYSE - Asbestos Inspection Cost","url":"https://unyse.net/asbestos-inspection-cost-2025-pricing-guide/","quote":"most residential asbestos inspections fall between $350 and $650","retrieved_at":"2026-10-14","low":350,"high":650},{"label":"Permit Experts NYC - Asbestos survey before demolition","url":"https://www.permitexpertsnyc.com/guides/interior-demolition-cost/","quote":"you need an asbestos survey ($400 to $800)","retrieved_at":"2026-10-14","low":400,"high":800},{"label":"City of Mesquite - Asbestos survey cost","url":"https://www.cityofmesquite.com/Faq.aspx?QID=89","quote":"The average survey costs from $250 to $500 for small projects","retrieved_at":"2026-10-14","low":250,"high":500}]},{"id":"asbestos_abatement","label":"Asbestos abatement (affected area)","unit":"sq_ft","low":5,"mid":12,"high":20,"labor_share":0.7,"diy_allowed":false,"default_task":"skip","default_qty":500,"qty_label":"Area with asbestos-containing material","sources":[{"label":"Permit Experts NYC - Asbestos abatement","url":"https://www.permitexpertsnyc.com/guides/interior-demolition-cost/","quote":"Asbestos abatement adds $5 to $20 per square foot.","retrieved_at":"2026-10-14","low":5,"high":20},{"label":"Liongate Builders - Hazardous materials abatement","url":"https://liongatebuilders.com/blog/how-much-does-it-cost-to-tear-down-a-house/","quote":"often costing $5 to $20 per sq. ft.","retrieved_at":"2026-10-14","low":5,"high":20}]},{"id":"lead_abatement","label":"Lead paint removal (affected area)","unit":"sq_ft","low":8,"mid":11,"high":15,"labor_share":0.7,"diy_allowed":false,"default_task":"skip","default_qty":500,"qty_label":"Area with lead paint","sources":[{"label":"Permit Experts NYC - Lead paint remediation","url":"https://www.permitexpertsnyc.com/guides/interior-demolition-cost/","quote":"Lead paint remediation runs $8 to $15 per square foot.","retrieved_at":"2026-10-14","low":8,"high":15},{"label":"Dropcurb - Lead paint removal","url":"https://dropcurb.com/blog/house-demolition-cost","quote":"lead paint ($8–$15/sq ft to remove)","retrieved_at":"2026-10-14","low":8,"high":15}]}],"modifiers":[{"kind":"select","id":"method","label":"Demolition method","applies_to":["house_demolition"],"default":"mechanical","options":[{"value":"mechanical","label":"Mechanical demolition (excavator)","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"Redfin - Cost to Demolish a House","url":"https://www.redfin.com/blog/cost-to-demolish-a-house/","quote":"On average, it costs between $4 and $10 per square foot to demolish a home.","retrieved_at":"2026-10-14","low":4,"high":10}]},{"value":"deconstruction","label":"Deconstruction (salvage, hand-dismantled)","basis":"sourced_ratio","labor_mult":1.7,"material_mult":1.7,"sources":[{"label":"Redfin - Deconstruction cost","url":"https://www.redfin.com/blog/cost-to-demolish-a-house/","quote":"more likely to cost in the range of $8 to $16.","retrieved_at":"2026-10-14","low":8,"high":16},{"label":"Liongate Builders - Deconstruction cost","url":"https://liongatebuilders.com/blog/how-much-does-it-cost-to-tear-down-a-house/","quote":"Deconstruction: $8 – $16 per sq. ft.","retrieved_at":"2026-10-14","low":8,"high":16}]}]}]},"cost_data_ref":{"trade":"demolition","version":"v1"},"price_date":"2026-10","title":"House Demolition Cost Calculator","description":"Estimate the cost to tear down a house, including mechanical demolition, deconstruction, debris disposal, permits, and hazardous material inspections.","seo_title":"House Demolition Cost Calculator: Estimate Tear Down Prices","seo_description":"Calculate house demolition costs based on square footage, location, and method. Get estimates for mechanical tear-downs, deconstruction, and disposal.","seo_footprint":{"text_intro":"Planning to tear down an existing structure to make way for a new build? Understanding the financial requirements of a complete or partial tear-down is the first step in your project. This house demolition cost calculator provides a detailed estimate based on the floor area of the house to demolish, the chosen demolition method, and regional labor rates across the United States. Whether you are opting for a standard mechanical demolition using an excavator or a careful deconstruction to salvage materials, this tool breaks down the expenses. It also accounts for essential preliminary and concluding tasks, such as utility disconnection, securing a demolition permit, asbestos inspection before demolition, and final debris cleanup and disposal. By selecting your specific state or metro area, you receive a tailored estimate that reflects local labor market conditions.","faq":[{"question":"What does it cost to demolish a 2000 sq ft house?","answer":"At the national average rate of $8 per square foot for mechanical demolition, the base cost for a 2000 square foot home is roughly $16,000. However, you must also account for additional services. Adding a demolition permit for $300, utility disconnection for $1,200, an asbestos inspection for $450, and debris disposal for $1,000 brings the total closer to $18,950. If you choose deconstruction instead, the base price increases significantly."},{"question":"Is it worth demolishing a house and rebuilding it?","answer":"Tearing down an old, structurally compromised, or severely outdated home can often be more practical than attempting a massive remodel. A clean slate allows you to build to modern energy codes and your exact specifications. You must weigh the typical cost of the tear-down against the high expenses of structural repairs, foundation underpinning, or extensive hazardous material abatement."},{"question":"How can I estimate the cost of demolition?","answer":"To get an accurate estimate, you need to measure the floor area of the house to demolish and decide on the demolition method. Mechanical demolition is the standard and most cost-effective approach. You must also factor in fixed costs like a demolition permit, utility disconnection, and an asbestos inspection before demolition. Finally, adjust the labor portion based on your specific state or metro area, as local wages heavily influence the final price."},{"question":"How to calculate demolition area?","answer":"The demolition area is typically calculated by measuring the total finished floor area of the structure. You measure the exterior dimensions of the house and multiply the length by the width for each story. For interior or partial demolition, you only measure the specific rooms or zones being stripped out. Enter this square footage into the calculator to determine the base material and labor requirements."}],"how_to_use_steps":["Select whether you need whole-house demolition or interior partial demolition, and enter the floor area in square feet.","Choose your preferred demolition method, such as mechanical demolition or hand-dismantled deconstruction.","Include additional required tasks like foundation removal, debris cleanup and disposal, or utility disconnection.","Add necessary administrative and safety steps, including a demolition permit and asbestos inspection before demolition.","Select your location from the state or metro area list to adjust the labor portion of the estimate instantly."]},"content_sections":[{"heading":"Understanding House Demolition Costs","paragraphs":["Tearing down a residential property involves much more than simply knocking down walls. The total expense is a combination of the physical tear-down, site preparation, safety inspections, and waste management. The primary driver of the price is the floor area of the house to demolish. On average, standard mechanical demolition costs $8 per square foot. Therefore, larger homes require more labor hours and generate more waste, directly increasing the budget.","Beyond the structure itself, local regulations and safety standards mandate several preliminary steps. Before any heavy machinery arrives, you typically need an asbestos inspection before demolition, which averages $450. You must also secure a demolition permit, costing around $300, and arrange for utility disconnection for water, gas, electric, and sewer lines, which adds another $1,200 to the project. These fixed costs apply regardless of the home's size."]},{"heading":"Mechanical Demolition vs. Deconstruction","paragraphs":["When planning your project, you must choose a demolition method. The most common and economical choice is mechanical demolition. This involves heavy equipment, like excavators and bulldozers, tearing down the structure quickly. It is highly efficient, keeping labor hours to a minimum, but it generates a massive amount of mixed waste that requires debris cleanup and disposal, typically costing $1,000 per project.","Alternatively, deconstruction is a meticulous, hand-dismantled approach designed to salvage reusable materials like vintage lumber, fixtures, and architectural details. Because it relies heavily on manual labor, deconstruction is significantly more expensive. For instance, while a standard mechanical tear-down of a 1750 square foot home might have a base cost of $14,000, opting for deconstruction pushes that base cost to $23,800. The choice depends on your budget, timeline, and environmental goals."]},{"heading":"Worked Example: Tearing Down a 1750 Sq Ft Home","paragraphs":["Let us look at an estimate for a standard 1750 square foot home using the national average rates. The homeowner opts for mechanical demolition and skips additional prep work and cleanup for this specific calculation.","For this whole-house demolition without additional services, the typical cost is $14,000 for the entire project. Depending on site conditions and specific local contractor rates, the low estimate could be $7,000 and the high estimate could reach $26,250."]},{"heading":"Hazardous Materials and Additional Services","paragraphs":["Older homes frequently contain hazardous materials that must be addressed before the main structure is removed. If the initial inspection finds issues, you will need specialized abatement services. Asbestos abatement costs roughly $12 per square foot of the affected area, while lead paint removal averages $11 per square foot. These tasks require highly trained crews and specialized disposal methods, which can quickly escalate the overall budget.","Additionally, you may need to clear out specific parts of the property rather than the whole house. Interior demolition costs around $5 per square foot, which is useful for major renovations. If the project requires complete site clearance, foundation or slab removal is another major task, typically adding $3,000 to the total bill. Always ensure your chosen location is set correctly in the tool, as labor rates in places like Austin, TX will alter the final figures compared to the national average."]}],"sources":[{"label":"U.S. Bureau of Labor Statistics (BLS), Occupational Employment and Wage Statistics","url":"https://www.bls.gov/oes/"},{"label":"Redfin - Cost to Demolish a House","url":"https://www.redfin.com/blog/cost-to-demolish-a-house/"},{"label":"Hometown Demolition Contractors - Demolition Cost per Square Foot","url":"https://www.hometowndemolitioncontractors.com/blog/how-much-does-demolition-cost-per-square-foot"},{"label":"702 DEMO - House Demolition Cost","url":"https://www.702demo.com/what-does-it-cost-to-knock-down-a-house-in-2026/"}],"default_output":{"result":{"Typical cost":"$16,950","Low estimate":"$8,150","High estimate":"$31,950","Materials":"$8,285","Labor":"$8,665"},"footprint":"Selected tasks in the U.S. (national average): typical cost $16,950.","steps":["Whole-house demolition (per sq ft): national typical price $8.00 per sq ft (range $4.00 to $15.00).","Whole-house demolition (per sq ft) (pro): 1750 sq ft x $8.00 = $14,000 before adjustments.","Whole-house demolition (per sq ft) (pro) after the regional labor factor and adjustments: $14,000 (range $7,000 to $26,250).","Debris cleanup and disposal: national typical price $1,000 per project (range $300 to $1,800).","Debris cleanup and disposal (pro): 1 project x $1,000 = $1,000 before adjustments.","Debris cleanup and disposal (pro) after the regional labor factor and adjustments: $1,000 (range $300 to $1,800).","Utility disconnection (water, gas, electric, sewer): national typical price $1,200 per project (range $500 to $2,500).","Utility disconnection (water, gas, electric, sewer) (pro): 1 project x $1,200 = $1,200 before adjustments.","Utility disconnection (water, gas, electric, sewer) (pro) after the regional labor factor and adjustments: $1,200 (range $500 to $2,500).","Demolition permit: national typical price $300 per project (range $100 to $600).","Demolition permit (pro): 1 project x $300 = $300 before adjustments.","Demolition permit (pro) after the regional labor factor and adjustments: $300 (range $100 to $600).","Asbestos inspection before demolition: national typical price $450 per project (range $250 to $800).","Asbestos inspection before demolition (pro): 1 project x $450 = $450 before adjustments.","Asbestos inspection before demolition (pro) after the regional labor factor and adjustments: $450 (range $250 to $800).","Total for all selected tasks: $16,950 (range $8,150 to $31,950)."]},"status":"published","reviewed_at":"2026-10-19","verification_note":"Lote de pricestead, auditoría del 19/10"}