Interior calculator

Baseboard & Trim Calculator

A baseboard calculator that turns your room length and width into the linear feet of baseboard or floor-level trim to buy, after subtracting your doors. Add a waste percentage for cuts, then turn the total into stock pieces and a budget. Measure the doors wrong and the trim runs short at the last wall.

  • Free to use
  • No sign-up
  • Formula and sources shown
Baseboard & Trim Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app
%

Typical: 5–10%. Increase for cuts, irregular shapes, or hand-mixed work.

Linear feet needed

56.5

Exact length

51.3 linear ft

With 10% waste Recommended

56.5 linear ft

Room perimeter

54.0 ft

Net (minus doors)

51.3 ft

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Linear Feet = (Room Perimeter − Door Openings) × (1 + Waste%)

Worked example. A 15 ft × 12 ft room with one 32 in door: perimeter = 2×(15+12) = 54 ft, minus 2.67 ft for the door = 51.33 ft. With 10% waste, order about 56.5 linear feet.

To find how much baseboard you need, add up the room perimeter, 2 times length plus width, subtract the width of each door opening, and add about 10% for cuts. A 15 ft by 12 ft room with one 32 in door has a 54 ft perimeter, 51.3 ft of wall to cover after the door, and needs about 56.5 linear feet with 10% waste. Save the result and price the rest of the job in the app.

Key takeaways

  • •The calculator takes five inputs: room length (ft), room width (ft), number of doors, door width (in), and waste (%, a slider from 0 to 30).
  • •It shows linear feet needed with waste, the exact length before waste, the room perimeter and the net length after door deductions.
  • •The defaults are a 15 ft × 12 ft room, 1 door at 32 in and 10% waste, which gives 56.5 linear feet.
  • •The tool is built for one rectangular room. For other shapes, measure each wall and add them up by hand, or use the perimeter calculator.
  • •The result is a length, not a piece count. Divide by your stock length and round up to whole pieces.

How to use the baseboard and trim calculator

  1. Measure the room length and width in feet along the walls where the baseboard will go. Convert inches to decimal feet by dividing by 12.
  2. Enter the room length and room width.
  3. Enter the number of doors that open to the floor, and the width of each door opening in inches. All doors are treated as the same width.
  4. Set the waste slider. 10% is the default for a simple rectangular room.
  5. Read the large number as the linear feet to buy. The exact length before waste and the room perimeter are shown beside it.
  6. Divide the result by your stock length (8 ft, 12 ft or 16 ft are common) and round up to get the number of pieces.

Baseboard formulas

Perimeter (ft) = 2 × (Length + Width)

Door deduction (ft) = Number of doors × Door width (in) ÷ 12

Net length (ft) = Perimeter − Door deduction (never below 0)

Linear feet to buy = Net length × (1 + Waste% ÷ 100)

Pieces = Linear feet to buy ÷ Stock length, rounded up

The calculator does the first four steps. The last step, pieces, is done by you. Results are shown to one decimal place.

Baseboard examples

Example 1: the default room, 15 ft × 12 ft, one 32 in door, 10% waste

  • Perimeter = 2 × (15 + 12) = 54 ft
  • Door deduction = 1 × 32 ÷ 12 = 2.67 ft, so net = 51.3 ft
  • With 10% waste: 56.5 linear feet

Example 2: a 12 ft × 10 ft bedroom, two 30 in doors (hall and closet), 10% waste

  • Perimeter = 44 ft; deduction = 2 × 30 ÷ 12 = 5 ft; net = 39.0 ft
  • With 10% waste: 42.9 linear feet

Example 3: a 20 ft × 14 ft living room, two 36 in openings, 15% waste for a trickier room

  • Perimeter = 68 ft; deduction = 6 ft; net = 62.0 ft
  • With 15% waste: 71.3 linear feet

Example 4: a 10 ft × 10 ft room, one 30 in door, 10% waste

  • Perimeter = 40 ft; deduction = 2.5 ft; net = 37.5 ft
  • With 10% waste: 41.3 linear feet (41.25 before rounding for display)

Example 5: stock pieces for Example 1

  • 56.5 ft ÷ 8 ft = 7.06, so 8 pieces of 8 ft (64 ft)
  • With 16 ft stock: 56.5 ÷ 16 = 3.53, so 4 pieces (64 ft)
  • Piece counts are your own step. The calculator reports length only.

Example 6: cost of Example 5 at an example price

  • 8 pieces of 8 ft × $12 per piece = $96 (example price only)

How to measure a room for baseboard

  1. Measure along the floor at the base of each wall, from corner to corner, with a tape measure.
  2. For a plain rectangle, enter the longest length and width. Opposite walls should match within an inch or so.
  3. Add alcoves, bump-outs and closet walls separately. The calculator does not include them unless you fold them into the length and width.
  4. Note every door, wide cased opening and floor-level pass-through. Floor-level openings have no baseboard across them.
  5. Measure the door opening width, not the door slab. If you have casing, base usually stops at the casing, so use the width to the outside of the casing for a closer match.
  6. Sketch the room and write each wall length next to it so you can plan which stock piece goes on which wall.

What to subtract and what to add back

SituationSubtract from the perimeter?Notes
Interior doorYesEnter the door width, usually 24 to 36 in for interior doors
Wide cased opening or archwayYesTreat it as a door and enter its full width
WindowsNoBaseboard runs at the floor, so windows do not affect it
Built-in cabinets or a fireplace hearthYes, by handSubtract the wall length they cover, the tool has no field for it
Closet interiorAdd by handCloset walls get their own run if you are trimming inside
Bay window or bump-outAdd by handMeasure the extra wall sections separately

The calculator subtracts the same width for every door. If your doors differ, use an average width or adjust the net length yourself.

Choosing a waste percentage

Waste covers miter cuts, trimming pieces to length, damaged stock and the leftover end of a piece that is too short to use. The percentages below are rules of thumb, not a standard.

SituationTypical wasteWhy
Simple rectangular room, experienced installer5 to 10%Few joints, long straight runs
Default for most rooms10%The tool's default
Many corners, closets, or first-time DIY15%More cuts and a higher chance of a miscut
Scarfed joints, patterned wood, painted vs stained15 to 20%You may reject boards for grain, knots or color

If you stain or clear coat solid wood, choose stock for appearance first, and expect more waste than for pre-primed MDF or finger-jointed pine that will be painted.

Turning linear feet into stock pieces

Baseboard is sold in fixed lengths, so you cannot buy 56.5 ft. Common retail lengths are 8, 12 and 16 ft, though availability varies by profile and store.

Linear feet to buy8 ft pieces12 ft pieces16 ft pieces
42.9 (Example 2)643
56.5 (Example 1)854
71.3 (Example 3)965

Counts are the total length divided by piece length, rounded up. Real layouts depend on wall lengths, so check your plan.

Layout matters more than the raw division. A 15 ft wall cut from a 16 ft piece wastes only 1 ft, while the same wall from 8 ft pieces needs a joint. Longer pieces mean fewer visible joints and often less waste, but they are harder to carry and cut, and not every profile is sold in 16 ft.

Corners, joints and layout

  • •Inside corners on baseboard are often coped or mitered, and outside corners are mitered. A coped joint usually hides small wall movement better than a plain miter, but it takes longer to cut.
  • •Join two pieces end to end with a scarf joint, a long angled cut, so the seam stays tight if the wood shrinks. Place joints over a stud where you can.
  • •Start with the longest, most visible wall and use full pieces there. Use cut-offs on short walls and in closets.
  • •Cut a piece slightly long, test the fit, and trim. Cutting short is the main cause of wasted stock.
  • •If your floor is not level or walls are bowed, expect to cut and shim more, which pushes waste up.

Allow extra if you plan to install shoe molding or quarter round along the baseboard. That is a second run, so run the calculator again for it.

Baseboard height and profile

Height and profile change the price per foot, not the linear feet. The sizes below are common examples, and your style may differ.

StyleTypical heightNotes
Colonial or ranch baseAbout 3 to 4 inSimple profile, widely stocked
Taller baseAbout 5 to 7 inCommon in newer homes and with taller ceilings
Built-up baseVariesA base board plus a cap and shoe, so each part is a separate run

A built-up base is several runs. Calculate each one separately, and each can have a different waste allowance.

Estimating baseboard cost

Cost = Pieces × Price per piece

or

Cost = Linear feet to buy × Price per linear foot

Example only: 56.5 ft at $1.50 per foot is about $85, and 8 pieces of 8 ft at $12 per piece is $96. Prices vary widely by wood or MDF, profile, finish and region. Add caulk, nails or adhesive, primer, paint or stain, and shoe molding if you use it.

Troubleshooting baseboard estimates

ProblemLikely causeWhat to do
Result is much higher than expectedDoor count or width left at zero, or typed as feet instead of inchesDoor width is in inches. Enter 32, not 2.67
Result is lower than the walls you measuredDoor count too high, or the room is not a rectangleCheck the doors, then measure irregular walls by hand
Short by a pieceJoints, closets or built-ins not countedAdd the closet walls, then round up to whole pieces
Different from a store estimateThe store may use a different waste factorCompare the exact length and waste percentage
Net length is zeroDoor deduction exceeds the perimeterCheck that the length, width and door width were typed correctly
Piece count is offThe calculator does not output piecesDivide linear feet by your stock length and round up

Terms explained

TermMeaning
Linear footOne foot of length, regardless of width or thickness
Baseboard (base)Trim fixed along the bottom of a wall where it meets the floor
PerimeterThe total distance around the room along its walls
Door openingThe width of the floor-level gap where no baseboard is installed
Stock lengthThe length in which a profile is sold, such as 8, 12 or 16 ft
MiterAn angled cut, often 45 degrees, used to make a corner
CopeA profiled cut that fits one piece's end against the face of another
Scarf jointAn angled end-to-end joint between two pieces on a long wall
Shoe moldingA small trim strip at the bottom of the baseboard against the floor
Waste factorExtra length added for cuts, joints and mistakes

Common baseboard mistakes

  • •Entering the door width in feet when the field asks for inches.
  • •Leaving out closets, alcoves and bump-outs.
  • •Subtracting windows. Baseboard sits at the floor, so windows do not matter.
  • •Buying exactly the calculated length with no waste.
  • •Forgetting to round up to whole stock pieces.
  • •Mixing profiles. Different heights or finishes need separate counts, so buy all of one profile from the same batch.
  • •Skipping the shoe molding or cap, which is a second run.

Metric conversions

FromTo
1 foot0.3048 metres (304.8 mm)
1 inch25.4 millimetres
32 in door812.8 mm
54 ft perimeter16.46 m
56.5 linear feet17.2 m
8 ft piece2.438 m
12 ft piece3.658 m
16 ft piece4.877 m

For metric rooms, convert metres to feet by dividing by 0.3048 before entering the length and width, and enter door widths in inches (millimetres ÷ 25.4).

Why a waste percentage does not work for baseboard

Almost every baseboard calculator does the same thing: perimeter, minus doors, plus 10%, divided by stock length. The 10% is meant to cover miter cuts and mistakes. But trim is not consumed by a percentage. It is consumed by whether each wall fits a stick. A 14 ft wall cut from a 16 ft stick leaves a 2 ft offcut that is useless on any other wall in the room, while the same wall cut from 8 ft sticks needs two pieces and a joint in the middle. The waste is decided by the stock length you choose, not by a percentage you type in.

Stock lengthSticksYou buyWasteMid-wall joints
8 ft756 lf14%4
10 ft660 lf22%3
12 ft560 lf22%3
14 ft456 lf14%2
16 ft464 lf31%0

The same 14 × 12 ft room with one door, 49 linear feet to install, priced against every stock length. Waste ranges from 14% to 31% on identical work, and the 10% figure everyone quotes does not appear anywhere in that range. The real trade-off is waste against joints: the 14 ft option costs 8 fewer linear feet than the 16 ft option, but puts two visible joints in the middle of walls, while the 16 ft option costs more material and has none.

  • •Buy stock that covers your longest wall in one piece, and accept the offcut. A run without a seam looks better than a run with one, and no amount of glue and filler hides a scarf joint under raking light from a window.
  • •A 16 ft stick will not do a 16 ft wall. You trim both factory ends square before fitting; they are rarely clean, which leaves about 15 ft 10 in of usable length. A genuine 16 ft wall needs two pieces and a scarf joint, so plan where that joint lands, away from the main sightline into the room.
  • •Cope inside corners instead of mitering them: one piece runs square into the corner, and the second is scribed to its profile with a coping saw. A coped joint closes tight even when the walls are a degree or two out, and stays closed as the wood moves. Outside corners get mitered, since there is nothing to cope against.
  • •Where two pieces meet mid-wall, overlap them with matching 45° cuts, a scarf joint, rather than butting square ends. A scarf joint stays closed as the wood shrinks; a butt joint opens into a visible gap.
  • •Do not forget base shoe over a floating floor. Laminate, luxury vinyl plank and engineered click-lock flooring all need an expansion gap at the wall, and base shoe is what covers it. Order the same linear run as your baseboard, and nail it to the floor, never to the baseboard, or the floor cannot move.
  • •For a whole house before you have measured room by room, baseboard runs at roughly 0.30 linear feet per square foot of floor area. A 1,500 sq ft house needs about 450 lf, and a 2,500 sq ft house about 750 lf. Treat that as budgeting only: a house with many small rooms has far more baseboard per square foot than an open-plan one of the same area.

Plan the cuts wall by wall with the numbers from this calculator, then add one spare stick for the botched cut. The trim above the baseboard follows the same logic, the crown molding calculator counts the run at the ceiling, which runs continuously past doorways while baseboard stops at them. And the floor the baseboard sits against matters too: the hardwood flooring calculator counts boards for a wood floor that the baseboard will finish. Save the linear feet to a project in the BuildCova app so the order list travels with you to the store.

Related tools

Assumptions

  • •The calculator handles one rectangle, using 2 × (length + width) for the perimeter.
  • •All doors are assumed to be the same width, and the deduction is count × width ÷ 12.
  • •It does not include closets, alcoves, bays, built-ins, shoe molding, caps or other trim runs. Add those separately.
  • •It does not convert to stock pieces, optimize cuts or model joint placement. It reports length only, to one decimal place.
  • •The waste percentage is whatever you choose on the slider, from 0 to 30. The 10% default is a rule of thumb.
  • •It does not price anything. Costs on this page are examples only.

Sources✓ Verified

  • Standard trim-estimating convention. Linear feet equal room perimeter minus floor-level openings, plus a cutting waste allowance.
  • Moulding and millwork profile catalogs from trade groups and manufacturers. Reference for common profile names, heights and stock lengths, which vary by maker.
  • Manufacturer installation guides for MDF, finger-jointed and solid wood trim. Guidance on acclimation, fastening, joints and finishing.
  • NIST Special Publication 811, Guide for the Use of the International System of Units. Authoritative conversion factors for feet, inches and metres.

Formula reviewed November 2026.

Add up the room perimeter, 2 × (length + width), subtract the width of each door opening, then add about 10% for waste. A 15 ft × 12 ft room with one 32 in door needs about 56.5 linear feet.

The perimeter of a 12 ft × 12 ft room is 48 ft. With one 32 in door the net is about 45.3 ft, and with 10% waste about 49.9 ft. With no doors at all it is 52.8 ft with 10% waste.

A 10 ft × 10 ft room has a 40 ft perimeter. With one 30 in door that is 37.5 ft, and with 10% waste you would buy about 41.3 linear feet.

Yes. Baseboard is not installed across a door opening, so subtract each opening width. The calculator does this using the door count and door width you enter.

No. Baseboard runs along the floor, so windows have no effect. Only floor-level openings, such as doors, archways and built-ins, reduce the length.

Around 10% is a common starting point for a simple room. Use 15% or more for rooms with many corners, if you are new to cutting trim, or if you will reject boards for grain or color. These are rules of thumb, not a standard.

Divide the linear feet by the length of your stock pieces and round up. For 56.5 ft, that is 8 pieces of 8 ft or 4 pieces of 16 ft.

Common retail lengths are 8, 12 and 16 ft, but it depends on the profile and material. Check what your store stocks before choosing a plan.

It works for any trim that runs the full room at a fixed level where you subtract only the openings you enter. For crown molding, which has no door deductions, use the crown molding calculator. Door and window casing is calculated per opening, not by room perimeter.

The waste percentage is how the calculator covers them. Mitered corners use a little extra length, and a room with many corners should use a higher percentage, such as 15%.

Measure every wall and add them up, then subtract the doors. An L-shaped room has six walls, so the perimeter is the sum of all six. The calculator only handles a single rectangle, so total the walls by hand, or enter the equivalent rectangle with the same perimeter.

Run it once per room and add the results, or add the perimeters first. Rounding up once at the end, across all rooms, is cheaper than rounding up each room.

Linear feet measure length in a line, and square feet measure area. Baseboard is bought by length, so you need linear feet. The linear feet to square feet converter helps for products sold both ways.

It depends on material, height and profile. Pre-primed MDF is generally the cheapest, and solid hardwood costs more. Use the cost formula with your local price per foot or per piece, and keep any figure on this page as an example only.

That is a design choice. Many builders trim closets so that the finish matches the room, and others leave them plain. Add the closet wall lengths to the calculation if you want them trimmed.

Roughly 0.30 linear feet per square foot of floor area, so a 1,500 sq ft house needs about 450 lf and a 2,500 sq ft house about 750 lf. Add roughly 34 lf per door for casing on both sides. Treat it as budgeting only. Layout matters more than area.

No. You trim both factory ends square before fitting, which leaves about 15 ft 10 in usable. A genuine 16 ft wall needs two pieces and a scarf joint, so plan where the joint lands, away from the main sightline into the room.

Converters to use with the Baseboard & Trim Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More interior calculators

Crown Molding CalculatorInteriorCrown Molding CalculatorA crown molding calculator that turns your room length and width into the linear feet of crown molding to buy, with an allowance for miter and cope cuts. The guidance covers stock lengths, corners and installing crown that sits right, so the joints land where they should. Under-order and the last corner waits for a second trip.Wallpaper CalculatorInteriorWallpaper CalculatorA wallpaper calculator that turns your wall length and height into the number of single or double rolls to buy, with an allowance for pattern matching. The guidance covers measuring, repeats and ordering, so the pattern lines up from wall to wall. Run out mid-roll and the next batch may not match the dye lot you started with.Epoxy Floor CalculatorInteriorEpoxy Floor CalculatorAn epoxy floor calculator that turns your floor length and width into the gallons of epoxy base coat you need, for the number of coats you plan. The guidance covers coverage rates, preparing the concrete, flakes and topcoats, so the coating bonds instead of peeling. Buy the wrong kit count and the floor ends up half coated, because epoxy is sold in fixed-ratio kits.Ceiling Tile CalculatorInteriorCeiling Tile CalculatorA ceiling tile calculator that turns your room length and width into the number of 2 by 2 ft or 2 by 4 ft tiles to buy. The guidance covers edge cuts, the grid system and installation, so the ceiling finishes clean at the walls instead of ending in thin slivers. Count the tiles right and the grid goes up without a second order.Epoxy Resin CalculatorInteriorEpoxy Resin CalculatorAn epoxy resin calculator that turns your project size into an exact mix: resin and hardener in fluid ounces, millilitres, litres or gallons, plus the number of pours, the weight and the cost. Pick your project type, enter its size, and mix only what you need, so a costly pour never runs short or leaves expensive resin curing in the bucket. Save the estimate and build the full project budget in the app.Spray Foam Insulation CalculatorInteriorSpray Foam Insulation CalculatorA spray foam insulation calculator that turns your area and target thickness into the number of spray foam kits you need. The guidance covers board feet, open-cell and closed-cell foam, R-value, safety and how to read your kit's yield, so you buy kits by the coverage they actually give. Run out mid-wall and the foam line shows in the finished surface.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.