{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"baseboard-trim"},"result":{"entity_type":"calculator","id":"baseboard-trim","calculator_id":"baseboard-trim","canonical_url":"https://tttkmbb.com/construction/baseboard-trim","name":"Baseboard Trim Calculator","title":"Baseboard Trim Calculator – Linear Metres or Feet of Skirting and Pieces to Buy from Room Size and Doors","category":"construction","category_name":"Construction & Home","tool_name":"estimate_baseboard_trim","featured_mcp_tool":false,"description":"Computes the room perimeter, subtracts door and other openings, adds a cutting-waste allowance and converts the length of baseboard (skirting) into stock pieces to buy, with the inside and outside corner count for a rectangular room and an optional cost.","use_when":"You need to know how many lengths of baseboard, skirting board, shoe molding or quarter round to buy for a room.","do_not_use_when":"You need the compound angles for crown molding (use crown-molding-miter) or the room is L-shaped: split it into rectangles and add one inside and one outside corner per notch.","inputs":[{"name":"room_length","label":"Room length","type":"number","unit":"m or ft","required":true,"max":1000,"exclusive_min":0,"description":"Room length in metres or feet (see unit).","example":5},{"name":"room_width","label":"Room width","type":"number","unit":"m or ft","required":true,"max":1000,"exclusive_min":0,"description":"Room width in metres or feet.","example":4},{"name":"unit","label":"Length unit","type":"enum","required":false,"default":"m","values":[{"value":"m","label":"Metres (m)","aliases":["metre","meter","metres","meters","metric"]},{"value":"ft","label":"Feet (ft)","aliases":["feet","foot","imperial"]}],"description":"Unit of the length inputs (m or ft). Lengths are reported in both units.","example":"m"},{"name":"doors","label":"Doors","type":"integer","required":false,"default":1,"min":0,"max":50,"description":"Number of door openings without baseboard.","example":1},{"name":"door_width","label":"Door width","type":"number","unit":"m or ft","required":false,"max":10,"exclusive_min":0,"description":"Width of each door opening; default 0.9 m (metric) or 3 ft (imperial).","example":0.9},{"name":"other_openings_length","label":"Other openings","type":"number","unit":"m or ft","required":false,"default":0,"min":0,"max":1000,"description":"Total length of other gaps with no baseboard (built-in cabinets, fireplace, archways).","example":0},{"name":"trim_piece_length","label":"Trim piece length","type":"number","unit":"m or ft","required":false,"max":20,"exclusive_min":0,"description":"Length of the stock pieces you will buy; default 3.66 m (metric, a 12 ft length) or 12 ft (imperial). Common lengths: 2.4, 3, 3.66, 4.2 m; 8, 12, 16 ft.","example":3.66},{"name":"waste_percent","label":"Waste allowance","type":"number","unit":"%","required":false,"default":10,"min":0,"max":50,"description":"Extra material for cuts, breakage and offcuts, applied as a multiplier (1 + waste_percent/100). 10 % covers mitre cuts, scarf joints and damaged ends; use 15 % for rooms with many corners.","example":10},{"name":"price_per_piece","label":"Price per piece","type":"number","required":false,"min":0,"description":"Optional price of one stock piece; enables total_cost.","example":12.5}],"outputs":[{"name":"perimeter_m","label":"Room perimeter","type":"number","unit":"m","decimals":2,"description":"2 × (room_length + room_width)."},{"name":"perimeter_ft","label":"Room perimeter","type":"number","unit":"ft","decimals":2,"description":"Perimeter in feet."},{"name":"trim_length_needed_m","label":"Trim length to buy","type":"number","unit":"m","decimals":2,"description":"(perimeter − doors × door_width − other_openings_length) × (1 + waste_percent/100)."},{"name":"trim_length_needed_ft","label":"Trim length to buy","type":"number","unit":"ft","decimals":2,"description":"Same length in feet."},{"name":"pieces_to_buy","label":"Pieces to buy","type":"integer","decimals":4,"description":"ceil(trim_length_needed / trim_piece_length)."},{"name":"inside_corners","label":"Inside corners","type":"integer","decimals":4,"description":"4 for a rectangular room (cope or 45° inside mitre each)."},{"name":"outside_corners","label":"Outside corners","type":"integer","decimals":4,"description":"0 for a rectangular room (add 1 inside + 1 outside per notch of an L-shape)."},{"name":"total_cost","label":"Total cost","type":"number","decimals":2,"description":"pieces_to_buy × price_per_piece; only when a price is given."}],"input_schema":{"type":"object","properties":{"room_length":{"description":"Room length in metres or feet (see unit). Unit: m or ft.","type":"number","maximum":1000,"exclusiveMinimum":0,"examples":[5],"x-unit":"m or ft"},"room_width":{"description":"Room width in metres or feet. Unit: m or ft.","type":"number","maximum":1000,"exclusiveMinimum":0,"examples":[4],"x-unit":"m or ft"},"unit":{"description":"Unit of the length inputs (m or ft). Lengths are reported in both units.","type":"string","enum":["m","ft"],"default":"m","examples":["m"]},"doors":{"description":"Number of door openings without baseboard.","type":"integer","minimum":0,"maximum":50,"default":1,"examples":[1]},"door_width":{"description":"Width of each door opening; default 0.9 m (metric) or 3 ft (imperial). Unit: m or ft.","type":"number","maximum":10,"exclusiveMinimum":0,"examples":[0.9],"x-unit":"m or ft"},"other_openings_length":{"description":"Total length of other gaps with no baseboard (built-in cabinets, fireplace, archways). Unit: m or ft.","type":"number","minimum":0,"maximum":1000,"default":0,"examples":[0],"x-unit":"m or ft"},"trim_piece_length":{"description":"Length of the stock pieces you will buy; default 3.66 m (metric, a 12 ft length) or 12 ft (imperial). Common lengths: 2.4, 3, 3.66, 4.2 m; 8, 12, 16 ft. Unit: m or ft.","type":"number","maximum":20,"exclusiveMinimum":0,"examples":[3.66],"x-unit":"m or ft"},"waste_percent":{"description":"Extra material for cuts, breakage and offcuts, applied as a multiplier (1 + waste_percent/100). 10 % covers mitre cuts, scarf joints and damaged ends; use 15 % for rooms with many corners. Unit: %.","type":"number","minimum":0,"maximum":50,"default":10,"examples":[10],"x-unit":"%"},"price_per_piece":{"description":"Optional price of one stock piece; enables total_cost.","type":"number","minimum":0,"examples":[12.5]}},"additionalProperties":false,"required":["room_length","room_width"]},"output_schema":{"type":"object","properties":{"perimeter_m":{"description":"2 × (room_length + room_width). Unit: m.","type":"number","x-unit":"m"},"perimeter_ft":{"description":"Perimeter in feet. Unit: ft.","type":"number","x-unit":"ft"},"trim_length_needed_m":{"description":"(perimeter − doors × door_width − other_openings_length) × (1 + waste_percent/100). Unit: m.","type":"number","x-unit":"m"},"trim_length_needed_ft":{"description":"Same length in feet. Unit: ft.","type":"number","x-unit":"ft"},"pieces_to_buy":{"description":"ceil(trim_length_needed / trim_piece_length).","type":"integer"},"inside_corners":{"description":"4 for a rectangular room (cope or 45° inside mitre each).","type":"integer"},"outside_corners":{"description":"0 for a rectangular room (add 1 inside + 1 outside per notch of an L-shape).","type":"integer"},"total_cost":{"description":"pieces_to_buy × price_per_piece; only when a price is given.","type":"number"}}},"formula":"perimeter = 2 × (room_length + room_width); net = perimeter − doors × door_width − other_openings_length; trim_length_needed = net × (1 + waste_percent/100); pieces_to_buy = ceil(trim_length_needed / trim_piece_length); total_cost = pieces × price_per_piece.","method":"Plain perimeter take-off; the waste allowance covers 45° mitres at outside corners, coped inside corners and scarf joints on long walls (pieces at least as long as the longest wall avoid joints). Shoe molding or quarter round needs the same length again.","sources":[{"name":"Wikipedia – Baseboard","url":"https://en.wikipedia.org/wiki/Baseboard","type":"reference","retrieved_at":"2026-09-24"},{"name":"Wikipedia – Molding (decorative)","url":"https://en.wikipedia.org/wiki/Molding_(decorative)","type":"reference","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"5 m × 4 m room, one 0.9 m door, 3.66 m pieces, 10 % waste","inputs":{"room_length":5,"room_width":4,"unit":"m","doors":1,"door_width":0.9,"trim_piece_length":3.66,"waste_percent":10},"expected":{"perimeter_m":18,"perimeter_ft":59.06,"trim_length_needed_m":18.81,"trim_length_needed_ft":61.71,"pieces_to_buy":6,"inside_corners":4,"outside_corners":0},"url":"https://tttkmbb.com/api/v1/calculate/baseboard-trim?room_length=5&room_width=4&unit=m&doors=1&door_width=0.9&trim_piece_length=3.66&waste_percent=10"},{"name":"14 ft × 12 ft room, two 3 ft doors, 12 ft pieces at $15, 10 % waste","inputs":{"room_length":14,"room_width":12,"unit":"ft","doors":2,"waste_percent":10,"price_per_piece":15},"expected":{"perimeter_ft":52,"perimeter_m":15.85,"trim_length_needed_ft":50.6,"trim_length_needed_m":15.42,"pieces_to_buy":5,"total_cost":75},"url":"https://tttkmbb.com/api/v1/calculate/baseboard-trim?room_length=14&room_width=12&unit=ft&doors=2&waste_percent=10&price_per_piece=15"}],"faq":[{"q":"Should I subtract the door openings?","a":"Yes, baseboard stops at the door casing; each door removes its width (0.9 m / 3 ft typical). Windows do not matter because they are above the baseboard."},{"q":"Which piece length should I buy?","a":"Pieces longer than the longest wall avoid scarf joints: 4.2 m or 16 ft for a 4 m / 13 ft wall. Shorter pieces are cheaper to transport but each joint costs extra waste."}],"tags":["baseboard calculator","skirting board calculator","how much baseboard","trim length","quarter round","linear feet of trim"],"related":[{"calculator_id":"crown-molding-miter","reason":"Saw angles for crown molding corners."},{"calculator_id":"paint","reason":"Paint for the walls above the baseboard."},{"calculator_id":"flooring","reason":"Floor covering the baseboard will sit on."}],"links":{"html":"https://tttkmbb.com/construction/baseboard-trim","markdown":"https://tttkmbb.com/construction/baseboard-trim.md","json":"https://tttkmbb.com/construction/baseboard-trim.json","api":"https://tttkmbb.com/api/v1/calculate/baseboard-trim","schema":"https://tttkmbb.com/api/v1/calculators/baseboard-trim","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T03:45:43Z","next_actions":[{"tool":"run_calculator","calculator_id":"baseboard-trim","reason":"Run Baseboard Trim Calculator with the inputs above."}],"links":{"markdown":"https://tttkmbb.com/construction/baseboard-trim.md"}}