{"slug":"paint-cost-estimator","lang":"en","category":"Painting","subcategory":"painting costs","ui":{"inputs":[{"name":"item","label":"Project type","type":"select","required":true,"default_value":"interior_walls","options":[{"value":"interior_walls","label":"Interior walls, one room (measured)"},{"value":"interior_ceiling","label":"Ceiling, one room (measured)"},{"value":"interior_room","label":"Whole room: walls, ceiling and trim (no measurements)"},{"value":"exterior_walls","label":"Exterior walls (per sq ft of wall area)"}]},{"name":"shared__length","label":"Room length","type":"number","required":true,"default_value":12,"min":0.1,"unit":"ft","help":"Enter the room length in ft.","show_if":{"item":["interior_walls","interior_ceiling"]}},{"name":"shared__width","label":"Room width","type":"number","required":true,"default_value":12,"min":0.1,"unit":"ft","help":"Enter the room width in ft.","show_if":{"item":["interior_walls","interior_ceiling"]}},{"name":"shared__height","label":"Ceiling height","type":"number","required":true,"default_value":8,"min":0.1,"unit":"ft","help":"Enter the ceiling height in ft.","show_if":{"item":["interior_walls"]}},{"name":"room_walls__doors","label":"Doors","type":"number","required":true,"default_value":1,"min":0.1,"unit":"doors","help":"Enter the doors in doors.","show_if":{"item":["interior_walls"]}},{"name":"room_walls__windows","label":"Windows","type":"number","required":true,"default_value":1,"min":0.1,"unit":"windows","help":"Enter the windows in windows.","show_if":{"item":["interior_walls"]}},{"name":"quantity__interior_room","label":"Number of rooms","type":"number","required":true,"default_value":1,"min":0.1,"max":1000,"unit":"units","help":"Enter the size in units.","show_if":{"item":["interior_room"]}},{"name":"quantity__exterior_walls","label":"Exterior wall area to paint","type":"number","required":true,"default_value":2500,"min":0.1,"max":100000,"unit":"sq ft","help":"Enter the size in square feet.","show_if":{"item":["exterior_walls"]}},{"name":"interior_scope","label":"What gets painted","type":"select","required":true,"default_value":"walls","options":[{"value":"walls","label":"Walls only"},{"value":"walls_trim","label":"Walls plus trim and baseboards"}],"show_if":{"item":["interior_walls"]}},{"name":"stories","label":"Number of stories","type":"select","required":true,"default_value":"one","options":[{"value":"one","label":"One story"},{"value":"two","label":"Two stories"},{"value":"three","label":"Three stories (scaffolding)"}],"show_if":{"item":["exterior_walls"]}},{"name":"coats","label":"Coats of paint","type":"select","required":true,"default_value":"2","options":[{"value":"2","label":"2 coats (recommended)"},{"value":"1","label":"1 coat (same color refresh)"},{"value":"3","label":"3 coats (big color change)"}],"show_if":{"item":["interior_walls","exterior_walls"]}},{"name":"surface","label":"Wall surface","type":"select","required":true,"default_value":"275","options":[{"value":"275","label":"Smooth"},{"value":"112","label":"Textured"}],"show_if":{"item":["interior_walls","interior_ceiling"]}},{"name":"primer","label":"Primer coat","type":"select","required":true,"default_value":"0","options":[{"value":"0","label":"No primer"},{"value":"1","label":"Add a primer coat (adds primer gallons)"}],"show_if":{"item":["interior_walls","exterior_walls"]}},{"name":"sheen","label":"Paint finish","type":"select","required":true,"default_value":"eggshell","options":[{"value":"eggshell","label":"Eggshell"},{"value":"flat","label":"Flat / matte"},{"value":"satin","label":"Satin"},{"value":"semigloss","label":"Semi-gloss"}],"show_if":{"item":["interior_walls","interior_ceiling","exterior_walls"]}},{"name":"quality","label":"Material / finish quality","type":"select","required":true,"default_value":"standard","options":[{"value":"basic","label":"Basic / budget"},{"value":"standard","label":"Standard"},{"value":"premium","label":"Premium / high-end"}]},{"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."},{"name":"diy","label":"I will do the labor myself (DIY)","type":"checkbox","required":false,"default_value":false,"help":"Removes the labor portion of the estimate and shows the estimated savings."}]},"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\"};\nvar QUALITY_LABEL = {\"basic\":\"Basic / budget\",\"standard\":\"Standard\",\"premium\":\"Premium / high-end\"};\nvar QUALITY = {\"basic\":0.85,\"standard\":1,\"premium\":1.3};\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}\nvar item = null;\nfor (var i = 0; i < data.items.length; i++) { if (data.items[i].id === inputs.item) { item = data.items[i]; break; } }\nif (!item) return { result: 'Select a valid option.', footprint: 'No cost data available for that choice.', invalid: 'item' };\nvar derivedSteps = [];\nvar derived = derivedFor(item.id, derivedSteps);\nvar qty;\nif (derived.found) {\n  if (derived.qty === null) return { result: 'Enter valid measurements greater than 0.', footprint: 'Waiting for valid measurements.', invalid: derived.invalidField };\n  qty = derived.qty;\n} else {\n  var qtyField = 'quantity__' + item.id;\n  qty = item.unit === 'project' ? 1 : lib.numEn(inputs[qtyField]);\n  if (!isFinite(qty) || qty <= 0) return { result: 'Enter a project size greater than 0.', footprint: 'Waiting for a valid project size.', invalid: qtyField };\n  if (QTY_MAX[item.unit] && qty > QTY_MAX[item.unit]) return { result: 'Enter ' + QTY_MAX_LABEL[item.unit] + ' ' + UNIT_MANY[item.unit] + ' or less.', footprint: 'Waiting for a valid project size.', invalid: qtyField };\n}\nvar qMult = QUALITY[inputs.quality];\nif (!isFinite(qMult)) return { result: 'Select a valid quality level.', footprint: 'Waiting for a valid quality level.', invalid: 'quality' };\nvar rf = ratioFor(inputs.state);\nvar ratio = rf.ratio, place = rf.place;\nvar itemDiyOk = item.diy_allowed !== false;\nvar diy = itemDiyOk && (inputs.diy === true || inputs.diy === 'true');\nvar modSteps = [];\nvar comp = computeItem(item, qty, qMult, ratio, itemDiyOk, diy, modSteps);\nvar minSteps = [];\ncomp = applyMin(comp, diy, minSteps);\nvar result = {\n  'Typical cost': lib.usd(comp.mid),\n  'Low estimate': lib.usd(comp.low),\n  'High estimate': lib.usd(comp.high),\n  'Materials': lib.usd(comp.matMid),\n  'Labor': lib.usd(comp.labMid)\n};\nif (diy) result['DIY labor savings'] = lib.usd(comp.savedLabor);\nvar unitOne = item.unit_name || UNIT_ONE[item.unit] || item.unit;\nvar unitQty = qty === 1 ? unitOne : (item.unit_name ? item.unit_name + 's' : (UNIT_MANY[item.unit] || item.unit));\nif (qty > 1) { var pu = comp.mid / qty; result['Typical cost per ' + unitOne] = lib.usd(pu, pu < 100 ? 2 : 0); }\nvar infoSteps = [];\ninfoRowsFor(item.id, qty, result, infoSteps);\nvar qLabel = QUALITY_LABEL[inputs.quality] || inputs.quality;\nvar steps = [\n  'National typical price for ' + item.label + ': ' + lib.usd(item.mid, item.mid < 100 ? 2 : 0) + ' per ' + unitOne + '.'\n];\nsteps = steps.concat(derivedSteps);\nsteps.push(qty + ' ' + unitQty + ' x ' + lib.usd(item.mid, item.mid < 100 ? 2 : 0) + (qMult === 1 ? '' : ' x ' + qMult + ' (' + qLabel + ' quality)') + ' = ' + lib.usd(qty * item.mid * qMult) + '.');\nsteps = steps.concat(modSteps);\nsteps = steps.concat(infoSteps);\nsteps = steps.concat(minSteps);\nif (inputs.state && inputs.state !== 'US') {\n  var ls = item.labor_share;\n  var factor = ls * ratio + (1 - ls);\n  var pct = lib.round((ratio - 1) * 100, 1);\n  steps.push('Labor is ' + lib.round(ls * 100, 0) + '% of this job. Labor wages in ' + place + ' are ' + (pct === 0 ? 'the same as' : (Math.abs(pct) + '% ' + (pct > 0 ? 'above' : 'below'))) + ' the national average (BLS), so the total is adjusted x ' + lib.round(factor, 3) + '.');\n}\nsteps.push(diy ? ('DIY: labor removed, materials only = ' + lib.usd(comp.matMid) + '; estimated savings ' + lib.usd(comp.savedLabor) + '.') : ('Typical total: ' + lib.usd(comp.mid) + ' (range ' + lib.usd(comp.low) + ' to ' + lib.usd(comp.high) + ').'));\nvar footprint = item.label + ', ' + qty + ' ' + unitQty + ' in ' + place + ': typical cost ' + lib.usd(comp.mid) + (diy ? ' (DIY, labor removed)' : '') + '.';\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.8069],["AK","Alaska",1.1588],["AZ","Arizona",0.947],["AR","Arkansas",0.7611],["CA","California",1.127],["CO","Colorado",1.0171],["CT","Connecticut",1.1458],["DE","Delaware",1.0265],["FL","Florida",0.8741],["GA","Georgia",0.9121],["HI","Hawaii",1.2867],["ID","Idaho",0.8208],["IL","Illinois",1.2564],["IN","Indiana",0.9563],["IA","Iowa",0.9396],["KS","Kansas",0.8201],["KY","Kentucky",0.9278],["LA","Louisiana",0.8306],["ME","Maine",1.0868],["MD","Maryland",1.0042],["MA","Massachusetts",1.1563],["MI","Michigan",1.009],["MN","Minnesota",1.0496],["MS","Mississippi",0.8381],["MO","Missouri",1.0727],["MT","Montana",0.987],["NE","Nebraska",0.8407],["NV","Nevada",1.0756],["NH","New Hampshire",0.9515],["NJ","New Jersey",1.1007],["NM","New Mexico",0.891],["NY","New York",1.2283],["NC","North Carolina",0.8102],["ND","North Dakota",1.0097],["OH","Ohio",0.9836],["OK","Oklahoma",0.8201],["OR","Oregon",0.9666],["PA","Pennsylvania",0.9785],["RI","Rhode Island",0.8688],["SC","South Carolina",0.7588],["SD","South Dakota",0.8609],["TN","Tennessee",0.8046],["TX","Texas",0.8304],["UT","Utah",0.8605],["VT","Vermont",0.9904],["VA","Virginia",0.8861],["WA","Washington",1.0991],["WV","West Virginia",0.8078],["WI","Wisconsin",0.9774],["WY","Wyoming",0.8593],["DC","District of Columbia",1.1231],["M10420","Akron, OH",1.0718],["M10580","Albany-Schenectady-Troy, NY",1.0487],["M10740","Albuquerque, NM",0.8818],["M10900","Allentown-Bethlehem-Easton, PA-NJ",0.9724],["M11260","Anchorage, AK",1.1375],["M12060","Atlanta-Sandy Springs-Alpharetta, GA",0.9105],["M12260","Augusta-Richmond County, GA-SC",0.7737],["M12420","Austin-Round Rock-San Marcos, TX",0.8479],["M12540","Bakersfield-Delano, CA",1.1617],["M12580","Baltimore-Columbia-Towson, MD",0.9998],["M12940","Baton Rouge, LA",0.9011],["M13820","Birmingham-Hoover, AL",0.8311],["M14260","Boise City, ID",0.8338],["M14460","Boston-Cambridge-Newton, MA-NH",1.1712],["M14860","Bridgeport-Stamford-Norwalk, CT",1.1191],["M15380","Buffalo-Cheektowaga, NY",1.0586],["M15980","Cape Coral-Fort Myers, FL",0.8506],["M16700","Charleston-North Charleston, SC",0.8621],["M16740","Charlotte-Concord-Gastonia, NC-SC",0.8194],["M16860","Chattanooga, TN-GA",0.882],["M16980","Chicago-Naperville-Elgin, IL-IN-WI",1.2761],["M17140","Cincinnati, OH-KY-IN",0.993],["M17410","Cleveland, OH",1.0031],["M17820","Colorado Springs, CO",0.95],["M17900","Columbia, SC",0.8071],["M18140","Columbus, OH",1.0281],["M18580","Corpus Christi, TX",0.8654],["M19100","Dallas-Fort Worth-Arlington, TX",0.8434],["M19660","Deltona-Daytona Beach-Ormond Beach, FL",0.8302],["M19740","Denver-Aurora-Lakewood, CO",1.0772],["M19780","Des Moines-West Des Moines, IA",1.0034],["M19820","Detroit-Warren-Dearborn, MI",1.0687],["M20500","Durham-Chapel Hill, NC",0.8594],["M21340","El Paso, TX",0.7008],["M22020","Fargo, ND-MN",1.0125],["M22180","Fayetteville, NC",0.7818],["M23060","Fort Wayne, IN",0.9148],["M23420","Fresno, CA",1.017],["M24340","Grand Rapids-Wyoming-Kentwood, MI",0.9569],["M24660","Greensboro-High Point, NC",0.7763],["M24860","Greenville-Anderson-Greer, SC",0.7541],["M25060","Gulfport-Biloxi, MS",0.8616],["M25420","Harrisburg-Carlisle, PA",0.9695],["M25540","Hartford-West Hartford-East Hartford, CT",1.2279],["M26420","Houston-The Woodlands-Sugar Land, TX",0.8493],["M26620","Huntsville, AL",0.8353],["M26900","Indianapolis-Carmel-Anderson, IN",0.9645],["M27140","Jackson, MS",0.904],["M27260","Jacksonville, FL",0.8916],["M28140","Kansas City, MO-KS",1.0088],["M28940","Knoxville, TN",0.7826],["M29460","Lakeland-Winter Haven, FL",0.8257],["M29540","Lancaster, PA",0.9349],["M29620","Lansing-East Lansing, MI",1.0368],["M29740","Las Cruces, NM",0.8632],["M29820","Las Vegas-Henderson-Paradise, NV",1.1027],["M30460","Lexington-Fayette, KY",0.9136],["M30780","Little Rock-North Little Rock-Conway, AR",0.7802],["M31080","Los Angeles-Long Beach-Anaheim, CA",1.1151],["M31140","Louisville/Jefferson County, KY-IN",0.9675],["M31540","Madison, WI",1.0395],["M31700","Manchester-Nashua, NH",0.9038],["M32580","McAllen-Edinburg-Mission, TX",0.777],["M32820","Memphis, TN-MS-AR",0.821],["M33100","Miami-Fort Lauderdale-West Palm Beach, FL",0.9132],["M33340","Milwaukee-Waukesha, WI",1.011],["M33460","Minneapolis-St. Paul-Bloomington, MN-WI",1.089],["M33660","Mobile, AL",0.8167],["M33700","Modesto, CA",1.0038],["M34980","Nashville-Davidson-Murfreesboro-Franklin, TN",0.8369],["M35300","New Haven, CT",1.0909],["M35380","New Orleans-Metairie, LA",0.8455],["M35620","New York-Newark-Jersey City, NY-NJ-PA",1.2618],["M35840","North Port-Bradenton-Sarasota, FL",0.8575],["M36100","Ocala, FL",0.8279],["M36420","Oklahoma City, OK",0.8769],["M36540","Omaha, NE-IA",0.8596],["M36740","Orlando-Kissimmee-Sanford, FL",0.8297],["M37100","Oxnard-Thousand Oaks-Ventura, CA",1.0496],["M37340","Palm Bay-Melbourne-Titusville, FL",0.9197],["M37860","Pensacola-Ferry Pass-Brent, FL",0.828],["M37980","Philadelphia-Camden-Wilmington, PA-NJ-DE-MD",1.0431],["M38060","Phoenix-Mesa-Chandler, AZ",0.9749],["M38300","Pittsburgh, PA",0.963],["M38940","Port St. Lucie, FL",0.8629],["M38860","Portland-South Portland, ME",1.125],["M38900","Portland-Vancouver-Hillsboro, OR-WA",1.0164],["M39300","Providence-Warwick, RI-MA",0.8999],["M39340","Provo-Orem-Lehi, UT",0.7869],["M39580","Raleigh-Cary, NC",0.8298],["M39900","Reno, NV",0.9877],["M40060","Richmond, VA",0.8627],["M40140","Riverside-San Bernardino-Ontario, CA",1.0265],["M40380","Rochester, NY",0.9659],["M40900","Sacramento-Roseville-Folsom, CA",1.135],["M41420","Salem, OR",0.9087],["M41620","Salt Lake City-Murray, UT",0.9069],["M41700","San Antonio-New Braunfels, TX",0.8026],["M41740","San Diego-Chula Vista-Carlsbad, CA",1.0794],["M41860","San Francisco-Oakland-Berkeley, CA",1.2726],["M41940","San Jose-Sunnyvale-Santa Clara, CA",1.2497],["M42220","Santa Rosa-Petaluma, CA",1.2017],["M42340","Savannah, GA",0.8291],["M42540","Scranton--Wilkes-Barre, PA",0.9161],["M42660","Seattle-Tacoma-Bellevue, WA",1.1259],["M43340","Shreveport-Bossier City, LA",0.7616],["M43620","Sioux Falls, SD",0.8612],["M44060","Spokane-Spokane Valley, WA",1.0081],["M41180","St. Louis, MO-IL",1.1315],["M44700","Stockton, CA",1.0038],["M45060","Syracuse, NY",0.9964],["M45300","Tampa-St. Petersburg-Clearwater, FL",0.8694],["M45780","Toledo, OH",0.9392],["M45940","Trenton-Princeton, NJ",1.1629],["M46060","Tucson, AZ",0.8834],["M46140","Tulsa, OK",0.7663],["M46520","Urban Honolulu, HI",1.2732],["M47260","Virginia Beach-Norfolk-Newport News, VA-NC",0.9054],["M47900","Washington-Arlington-Alexandria, DC-VA-MD-WV",1.0031],["M48620","Wichita, KS",0.7847],["M49180","Winston-Salem, NC",0.7362],["M49340","Worcester, MA-CT",1.0453],["M49660","Youngstown-Warren, OH",0.9717]]},"cost_data":{"trade":"painting","version":"v4","country":"us","currency":"USD","retrieved_at":"2026-09-29","labor_soc":"47-2141","diy_allowed":true,"mode":"single","items":[{"id":"interior_walls","label":"Interior walls, one room (measured)","unit":"sq_ft","low":1.5,"mid":2.5,"high":5,"labor_share":0.8,"sources":[{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room","quote":"If you’re just painting the walls, you can expect prices to fall between $1.50 to $3.50 per square foot.","retrieved_at":"2026-09-29","low":1.5,"high":3.5},{"label":"EstimationPro - Interior Painting Cost per Square Foot","url":"https://estimationpro.ai/tools/blog/interior-painting-cost-per-square-foot","quote":"Interior painting runs $1.50 to $5 per square foot of wall area for most residential projects","retrieved_at":"2026-09-29","low":1.5,"high":5},{"label":"Improovy - Average Interior Painting Cost","url":"https://www.improovy.com/blog/interior-painting-cost","quote":"The cost to paint interior walls is $1.90 – $3.60 per square foot","retrieved_at":"2026-10-03","low":1.9,"high":3.6},{"label":"The Picky Painters - Interior Painting Cost Menu","url":"https://thepickypainters.com/interior-painting-cost-menu/","quote":"the average cost of interior wall painting is $1.25 to $2.00 per square foot of the wall surface area","retrieved_at":"2026-10-03","low":1.25,"high":2}]},{"id":"interior_ceiling","label":"Ceiling, one room (measured)","unit":"sq_ft","low":0.5,"mid":1.75,"high":3,"labor_share":0.8,"sources":[{"label":"EstimationPro - Interior Painting Cost per Square Foot","url":"https://estimationpro.ai/tools/blog/interior-painting-cost-per-square-foot","quote":"Ceiling painting runs $1.00-$3.00 per square foot depending on height, texture, and condition","retrieved_at":"2026-09-29","low":1,"high":3},{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room","quote":"Painting Your Ceiling","retrieved_at":"2026-09-29","low":0.5,"high":3},{"label":"Bracken's Painting - Cost to Paint a Ceiling","url":"https://www.brackenspainting.com/blog/how-much-cost-paint-ceiling-2025/","quote":"the average cost to paint a ceiling ranges from $1 to $3 per square foot","retrieved_at":"2026-10-03","low":1,"high":3},{"label":"On Demand Painters - Cost to Paint a Ceiling","url":"https://ondemandpainters.com/blog/how-to-calculate-the-cost-to-paint-a-ceiling/","quote":"You can expect to pay $1 to $2.50 per square foot for paint and supplies if you hire a contractor.","retrieved_at":"2026-10-03","low":1,"high":2.5}]},{"id":"interior_room","label":"Whole room: walls, ceiling and trim (no measurements)","unit":"each","low":600,"mid":1200,"high":2000,"labor_share":0.8,"default_qty":1,"qty_label":"Number of rooms","sources":[{"label":"HomeGuide","url":"https://homeguide.com/costs/cost-to-paint-a-room","quote":"Painting one room costs $300 to $1,000 on average for the walls alone or $600 to $2,000 when including the ceiling and trim, depending on room size, ceiling height, and condition.","retrieved_at":"2026-09-28","low":600,"high":2000},{"label":"Angi","url":"https://www.angi.com/articles/how-much-does-it-cost-paint-room.htm","quote":"The average cost to paint a room is around $1,100, and prices range from $200 to $2,000.","retrieved_at":"2026-09-28","low":200,"high":2000},{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room","quote":"Painting a room typically costs between $990 and $1,320, with a national average of $1,200.","retrieved_at":"2026-09-29","low":990,"high":1320},{"label":"Improovy - How Much It Costs to Paint a Room","url":"https://www.improovy.com/blog/how-much-does-it-cost-to-paint-a-room","quote":"your average total room painting cost will range from $731 to $923","retrieved_at":"2026-10-03","low":731,"high":923}]},{"id":"exterior_walls","label":"Exterior walls (per sq ft of wall area)","unit":"sq_ft","low":1.5,"mid":3.4,"high":5.28,"labor_share":0.75,"default_qty":2500,"qty_label":"Exterior wall area to paint","sources":[{"label":"Fixr - Exterior Painting Cost","url":"https://www.fixr.com/costs/paint-house-exterior","quote":"On average, it costs between $2.84 and $5.28 per square foot to paint an exterior wall.","retrieved_at":"2026-09-29","low":2.84,"high":5.28},{"label":"Estimators.us - Exterior House Painting Cost","url":"https://estimators.us/average-house-exterior-painting-cost/","quote":"The national average to paint a house exterior in 2026 is $1.50 to $4.00 per square foot","retrieved_at":"2026-09-29","low":1.5,"high":4},{"label":"HomeGuide","url":"https://homeguide.com/costs/cost-to-paint-a-house-exterior","quote":"Professional exterior painting costs $1.50 to $5.00 per square foot or $3,000 to $10,000 total for an average 2,000-square-foot house.","retrieved_at":"2026-09-28","low":1.5,"high":5},{"label":"Angi","url":"https://www.angi.com/articles/how-much-does-it-cost-paint-exterior-house.htm","quote":"The average cost to paint the exterior of a house is $3,178 or between $1.50 and $4 per square foot.","retrieved_at":"2026-09-28","low":1.5,"high":4}]}],"modifiers":[{"kind":"derived","id":"room_walls","label":"Paintable wall area","unit":"sq ft","item":"interior_walls","shared":["length","width","height"],"inputs":[{"id":"doors","label":"Doors","unit":"doors","default":1},{"id":"windows","label":"Windows","unit":"windows","default":1}],"steps":[{"op":"add","by":"width"},{"op":"mul","by":2},{"op":"mul","by":"height"},{"op":"sub","by":"doors","scale":20},{"op":"sub","by":"windows","scale":10}],"basis":"sourced","sources":[{"label":"This Old House - How Much Paint Do I Need","url":"https://www.thisoldhouse.com/painting/21097077/how-much-paint-do-i-need","quote":"subtract 10 square feet for every window and 20 square feet for every door","retrieved_at":"2026-09-29"}]},{"kind":"derived","id":"room_ceiling","label":"Ceiling area","unit":"sq ft","item":"interior_ceiling","shared":["length","width"],"inputs":[],"steps":[{"op":"mul","by":"width"}],"basis":"geometry","rationale":"Length × width of the room."},{"kind":"select","id":"interior_scope","label":"What gets painted","applies_to":["interior_walls"],"default":"walls","options":[{"value":"walls","label":"Walls only","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room","quote":"If you’re just painting the walls, you can expect prices to fall between $1.50 to $3.50 per square foot.","retrieved_at":"2026-09-29"}]},{"value":"walls_trim","label":"Walls plus trim and baseboards","basis":"sourced_ratio","labor_mult":1.4,"material_mult":1.4,"rationale":"Midpoint for walls plus trim ($3 to $4, $3.50) divided by walls only ($1.50 to $3.50, $2.50), both from Fixr.","sources":[{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room","quote":"If you’re painting baseboards, trim, and more, you can expect to pay $3 to $4 per square foot.","retrieved_at":"2026-09-29"}]}]},{"kind":"select","id":"stories","label":"Number of stories","applies_to":["exterior_walls"],"default":"one","options":[{"value":"one","label":"One story","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"ConstructEstimates - Exterior House Painting Cost","url":"https://constructestimates.com/exterior-house-painting-cost/","quote":"A one-story house costs less to paint than a two-story home because painters can reach everything easily.","retrieved_at":"2026-09-29"}]},{"value":"two","label":"Two stories","basis":"sourced","labor_mult":1.35,"material_mult":1.35,"rationale":"Midpoint of the 20% to 50% more per square foot quoted for two-story homes.","sources":[{"label":"Estimators.us - Exterior House Painting Cost","url":"https://estimators.us/average-house-exterior-painting-cost/","quote":"A two-story home costs roughly 20% to 50% more per square foot than a comparable single-story home","retrieved_at":"2026-09-29"}]},{"value":"three","label":"Three stories (scaffolding)","basis":"sourced","labor_mult":2,"material_mult":2,"rationale":"The source says a three-story home can add 100% or more with scaffolding; the lower bound (100%) is used.","sources":[{"label":"Estimators.us - Exterior House Painting Cost","url":"https://estimators.us/average-house-exterior-painting-cost/","quote":"A three-story home or a house on a steep lot can add 100% or more once you factor in scaffolding rental","retrieved_at":"2026-09-29"}]}]},{"kind":"select","id":"coats","label":"Coats of paint","applies_to":["interior_walls","exterior_walls"],"default":"2","options":[{"value":"2","label":"2 coats (recommended)","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"This Old House - How Much Paint Do I Need","url":"https://www.thisoldhouse.com/painting/21097077/how-much-paint-do-i-need","quote":"The rule of thumb is to apply two coats of paint on walls and one on the ceiling","retrieved_at":"2026-09-29"}]},{"value":"1","label":"1 coat (same color refresh)","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"This Old House - How Much Paint Do I Need","url":"https://www.thisoldhouse.com/painting/21097077/how-much-paint-do-i-need","quote":"The rule of thumb is to apply two coats of paint on walls and one on the ceiling","retrieved_at":"2026-09-29"}]},{"value":"3","label":"3 coats (big color change)","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"This Old House - How Much Paint Do I Need","url":"https://www.thisoldhouse.com/painting/21097077/how-much-paint-do-i-need","quote":"The rule of thumb is to apply two coats of paint on walls and one on the ceiling","retrieved_at":"2026-09-29"}]}]},{"kind":"select","id":"surface","label":"Wall surface","applies_to":["interior_walls","interior_ceiling"],"default":"275","options":[{"value":"275","label":"Smooth","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"PaintPricing - Painting Production Rates","url":"https://paintpricing.com/painting-production-rates/","quote":"Brush and roll, smooth interior walls 200 to 350 sq ft per hour","retrieved_at":"2026-09-29"}]},{"value":"112","label":"Textured","basis":"sourced_ratio","labor_mult":2.44,"material_mult":1,"rationale":"Smooth walls go at 200 to 350 sq ft per hour (midpoint 275), textured at 75 to 150 (midpoint 112.5): about 2.44 times the labor.","sources":[{"label":"PaintPricing - Painting Production Rates","url":"https://paintpricing.com/painting-production-rates/","quote":"Brush and roll, smooth interior walls 200 to 350 sq ft per hour","retrieved_at":"2026-09-29"},{"label":"PaintPricing - Painting Production Rates","url":"https://paintpricing.com/painting-production-rates/","quote":"Brush and roll, textured walls 75 to 150 sq ft per hour","retrieved_at":"2026-09-29"}]}]},{"kind":"select","id":"primer","label":"Primer coat","applies_to":["interior_walls","exterior_walls"],"default":"0","options":[{"value":"0","label":"No primer","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of primer covers about 200-300 square feet","retrieved_at":"2026-09-29"}]},{"value":"1","label":"Add a primer coat (adds primer gallons)","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of primer covers about 200-300 square feet","retrieved_at":"2026-09-29"}]}]},{"kind":"info","id":"wall_paint","label":"Wall paint needed","unit":"gallons","item":"interior_walls","steps":[{"op":"mul","by":"coats"},{"op":"div","by":375},{"op":"mul","by":1.1}],"basis":"sourced","sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of paint typically covers about 350-400 square feet","retrieved_at":"2026-09-29"},{"label":"HomeChisel - Paint Coverage Calculator","url":"https://homechisel.com/tools/paint-coverage-calculator/","quote":"A 10% waste allowance covers spills, roller absorption, and uneven coverage.","retrieved_at":"2026-09-29"},{"label":"CalcSummit - Paint Calculator","url":"https://calcsummit.com/calculators/construction/paint/","quote":"Always add 10% and round up to the nearest full gallon.","retrieved_at":"2026-09-29"}],"round":"ceil"},{"kind":"info","id":"wall_primer","label":"Primer needed","unit":"gallons","item":"interior_walls","steps":[{"op":"mul","by":"primer"},{"op":"div","by":250},{"op":"mul","by":1.1}],"basis":"sourced","sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of primer covers about 200-300 square feet","retrieved_at":"2026-09-29"},{"label":"HomeChisel - Paint Coverage Calculator","url":"https://homechisel.com/tools/paint-coverage-calculator/","quote":"A 10% waste allowance covers spills, roller absorption, and uneven coverage.","retrieved_at":"2026-09-29"},{"label":"CalcSummit - Paint Calculator","url":"https://calcsummit.com/calculators/construction/paint/","quote":"Always add 10% and round up to the nearest full gallon.","retrieved_at":"2026-09-29"}],"round":"ceil"},{"kind":"info","id":"wall_hours","label":"Estimated rolling time (excludes prep)","unit":"hours","item":"interior_walls","steps":[{"op":"mul","by":"coats"},{"op":"div","by":"surface"}],"basis":"sourced","sources":[{"label":"PaintPricing - Painting Production Rates","url":"https://paintpricing.com/painting-production-rates/","quote":"Brush and roll, smooth interior walls 200 to 350 sq ft per hour","retrieved_at":"2026-09-29"},{"label":"PaintPricing - Painting Production Rates","url":"https://paintpricing.com/painting-production-rates/","quote":"Brush and roll, textured walls 75 to 150 sq ft per hour","retrieved_at":"2026-09-29"}]},{"kind":"info","id":"ceiling_paint","label":"Ceiling paint needed (1 coat)","unit":"gallons","item":"interior_ceiling","steps":[{"op":"div","by":375},{"op":"mul","by":1.1}],"basis":"sourced","sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of paint typically covers about 350-400 square feet","retrieved_at":"2026-09-29"},{"label":"This Old House - How Much Paint Do I Need","url":"https://www.thisoldhouse.com/painting/21097077/how-much-paint-do-i-need","quote":"The rule of thumb is to apply two coats of paint on walls and one on the ceiling","retrieved_at":"2026-09-29"},{"label":"HomeChisel - Paint Coverage Calculator","url":"https://homechisel.com/tools/paint-coverage-calculator/","quote":"A 10% waste allowance covers spills, roller absorption, and uneven coverage.","retrieved_at":"2026-09-29"},{"label":"CalcSummit - Paint Calculator","url":"https://calcsummit.com/calculators/construction/paint/","quote":"Always add 10% and round up to the nearest full gallon.","retrieved_at":"2026-09-29"}],"round":"ceil"},{"kind":"info","id":"ext_paint","label":"Exterior paint needed","unit":"gallons","item":"exterior_walls","steps":[{"op":"mul","by":"coats"},{"op":"div","by":375},{"op":"mul","by":1.1}],"basis":"sourced","sources":[{"label":"Sherwin-Williams - Paint Calculator","url":"https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator","quote":"A gallon of paint typically covers about 350-400 square feet","retrieved_at":"2026-09-29"},{"label":"HomeChisel - Paint Coverage Calculator","url":"https://homechisel.com/tools/paint-coverage-calculator/","quote":"A 10% waste allowance covers spills, roller absorption, and uneven coverage.","retrieved_at":"2026-09-29"},{"label":"CalcSummit - Paint Calculator","url":"https://calcsummit.com/calculators/construction/paint/","quote":"Always add 10% and round up to the nearest full gallon.","retrieved_at":"2026-09-29"}],"round":"ceil"},{"kind":"select","id":"sheen","label":"Paint finish","applies_to":["interior_walls","interior_ceiling","exterior_walls"],"default":"eggshell","options":[{"value":"eggshell","label":"Eggshell","basis":"sourced","labor_mult":1,"material_mult":1,"sources":[{"label":"Paint Pro Calculator - Eggshell vs Satin vs Semi-Gloss","url":"https://paintprocalculator.com/blog/eggshell-vs-satin-vs-semi-gloss","quote":"Flat: $42 to $45 per gallon Eggshell: $44 to $47 per gallon Satin: $44 to $47 per gallon Semi-gloss: $45 to $48 per gallon","retrieved_at":"2026-09-29"}]},{"value":"flat","label":"Flat / matte","basis":"sourced_ratio","labor_mult":1,"material_mult":0.957,"rationale":"Flat $42–$45 per gallon (midpoint $43.50) divided by eggshell $44–$47 ($45.50).","sources":[{"label":"Paint Pro Calculator - Eggshell vs Satin vs Semi-Gloss","url":"https://paintprocalculator.com/blog/eggshell-vs-satin-vs-semi-gloss","quote":"Flat: $42 to $45 per gallon Eggshell: $44 to $47 per gallon Satin: $44 to $47 per gallon Semi-gloss: $45 to $48 per gallon","retrieved_at":"2026-09-29"}]},{"value":"satin","label":"Satin","basis":"sourced_ratio","labor_mult":1,"material_mult":1,"rationale":"Same per-gallon range as eggshell ($44–$47) in this source; other sources put satin $1–$5 more per gallon.","sources":[{"label":"Paint Pro Calculator - Eggshell vs Satin vs Semi-Gloss","url":"https://paintprocalculator.com/blog/eggshell-vs-satin-vs-semi-gloss","quote":"Flat: $42 to $45 per gallon Eggshell: $44 to $47 per gallon Satin: $44 to $47 per gallon Semi-gloss: $45 to $48 per gallon","retrieved_at":"2026-09-29"},{"label":"Bob Vila - Eggshell vs Satin","url":"https://www.bobvila.com/articles/eggshell-vs-satin/","quote":"Paint usually costs $1 to $2 dollars more per gallon for each step up you go in sheen.","retrieved_at":"2026-09-29"}]},{"value":"semigloss","label":"Semi-gloss","basis":"sourced_ratio","labor_mult":1,"material_mult":1.022,"rationale":"Semi-gloss $45–$48 per gallon ($46.50) divided by eggshell ($45.50).","sources":[{"label":"Paint Pro Calculator - Eggshell vs Satin vs Semi-Gloss","url":"https://paintprocalculator.com/blog/eggshell-vs-satin-vs-semi-gloss","quote":"Flat: $42 to $45 per gallon Eggshell: $44 to $47 per gallon Satin: $44 to $47 per gallon Semi-gloss: $45 to $48 per gallon","retrieved_at":"2026-09-29"}]}]}],"shared_inputs":[{"id":"length","label":"Room length","unit":"ft","default":12},{"id":"width","label":"Room width","unit":"ft","default":12},{"id":"height","label":"Ceiling height","unit":"ft","default":8}]},"cost_data_ref":{"trade":"painting","version":"v4"},"price_date":"2026-09","figures":[{"src":"/assets/img/tools/painting-room-wall-area.svg","alt":"Diagram measuring a 12 by 12 foot room with 8 foot walls: 384 sq ft of walls and 144 sq ft of ceiling","caption":"Wall area = (length + width) × 2 × height. A 12 × 12 ft room with 8 ft walls has 384 sq ft of wall; the ceiling is length × width = 144 sq ft.","width":720,"height":360}],"title":"Interior and Exterior Paint Cost Estimator","description":"Estimate the cost to paint interior walls, ceilings, or exterior walls based on room dimensions, paint quality, and local labor rates.","seo_title":"Paint Cost Estimator: House Painting Calculator","seo_description":"Calculate house painting costs for interior walls, ceilings, and exteriors. Estimate materials, labor, and paint gallons needed based on your local area.","seo_footprint":{"text_intro":"Planning a painting project requires knowing how much paint to buy and what to expect for labor costs. This interior and exterior paint cost estimator helps you determine the total price based on your room dimensions, paint finish, and local wage rates. Whether you are refreshing a single room or painting the exterior walls of a two-story house, you can adjust the material quality and see the difference between hiring a professional and doing the labor yourself.","faq":[{"question":"How much does it cost to paint interior walls for a standard room?","answer":"For a typical room with 354 square feet of paintable wall area, the national average cost is $885 for standard quality materials and professional labor. If you do the labor yourself (DIY), the cost drops to around $177 for materials."},{"question":"Does this calculator estimate car paint job costs?","answer":"No, this tool is designed for residential house painting (interior and exterior walls). The cost to paint a car, repair scratches, or fix bumper paint varies widely depending on the vehicle size, bodywork repair, and paint quality, typically ranging from a few hundred dollars for a basic touch-up to several thousand for a full premium paint job."},{"question":"How much does it cost to paint the exterior of a house?","answer":"For 2,500 square feet of exterior walls on a two-story home using standard quality paint, the typical cost is $11,475. This includes $2,869 in materials (requiring about 15 gallons of exterior paint) and $8,606 in labor."},{"question":"How does the wall surface affect the painting cost?","answer":"Textured walls require more paint and time to cover evenly. For example, painting 354 square feet of textured interior walls costs about $1,905 and takes over 6 hours of rolling time, compared to $885 and 2.5 hours for a smooth surface."},{"question":"Should I apply one or two coats of paint?","answer":"Two coats are generally recommended for the best coverage and durability. Applying only one coat (ideal for a same-color refresh) on a 354 sq ft room reduces the wall paint needed from 3 gallons to 2 gallons and lowers the estimated rolling time."}],"how_to_use_steps":["Select the project type, such as interior walls, ceilings, or exterior walls.","Enter the room dimensions or total square footage to be painted.","Choose the paint finish, number of coats, and whether a primer is needed.","Select your location to adjust the labor costs to your local metro area.","Review the estimated materials, labor, and total typical cost instantly."]},"content_sections":[{"heading":"Estimating Your Painting Project","paragraphs":["The total cost of a painting project depends on the surface area, the condition of the walls, and local labor rates. Professional painters typically charge for both materials (paint, primer, supplies) and their time.","By measuring your room length, width, and ceiling height, you can determine the exact square footage to be painted. The calculation automatically subtracts standard areas for doors and windows to give you an accurate estimate of the paintable surface."]},{"heading":"Choosing the Right Paint and Finish","paragraphs":["Paint comes in various finishes, such as flat, eggshell, satin, and semi-gloss. Flat or matte finishes are often used for ceilings or low-traffic areas, while eggshell and satin offer better durability for living spaces.","The quality of the paint—ranging from basic budget options to premium high-end brands—also impacts the price and how well it covers the surface. Adding a primer coat is essential if you are making a big color change or painting over a repaired surface."]},{"heading":"Worked Example: Painting an Interior Room","paragraphs":["Suppose you want to paint the interior walls of a large room that is 24 feet long, 24 feet wide, and has 16-foot ceilings, with 2 doors and 2 windows. Using standard quality paint and professional labor at the national average rate, the typical cost is $3,690.","This total includes $738 for materials (requiring 9 gallons of wall paint) and $2,952 for labor. The estimated rolling time, which excludes preparation work, is about 10.7 hours."]},{"heading":"Professional Labor vs. DIY","paragraphs":["Labor is the largest component of any professional painting estimate. Rates vary significantly by state and metro area. For instance, labor costs in Austin, TX, or California will differ from the national average.","If you choose to do the labor yourself (DIY), you only pay for materials. For a standard 354 sq ft room, DIY painting costs around $177, saving you $708 in labor, though you must factor in your own time for preparation and painting."]}],"sources":[{"label":"U.S. Bureau of Labor Statistics (BLS), Occupational Employment and Wage Statistics","url":"https://www.bls.gov/oes/"},{"label":"Fixr - Cost to Paint a Room","url":"https://www.fixr.com/costs/paint-room"},{"label":"EstimationPro - Interior Painting Cost per Square Foot","url":"https://estimationpro.ai/tools/blog/interior-painting-cost-per-square-foot"},{"label":"Improovy - Average Interior Painting Cost","url":"https://www.improovy.com/blog/interior-painting-cost"}],"default_output":{"result":{"Typical cost":"$885","Low estimate":"$531","High estimate":"$1,770","Materials":"$177","Labor":"$708","Typical cost per sq ft":"$2.50","Wall paint needed":"3 gallons","Primer needed":"0 gallons","Estimated rolling time (excludes prep)":"2.57 hours"},"footprint":"Interior walls, one room (measured), 354 sq ft in the U.S. (national average): typical cost $885.","steps":["National typical price for Interior walls, one room (measured): $2.50 per sq ft.","Paintable wall area: 354 sq ft.","354 sq ft x $2.50 = $885.","Wall paint needed: 3 gallons.","Primer needed: 0 gallons.","Estimated rolling time (excludes prep): 2.57 hours.","Typical total: $885 (range $531 to $1,770)."]},"status":"published","reviewed_at":"2026-10-05","verification_note":"datos de coste 03/10: fuentes primarias (rebuild determinista, sin forja)"}