How to sell products by area in WooCommerce

Selling products by area in WooCommerce starts with measuring, shown here as a fitter marks a floor plank

Selling products by area in WooCommerce means charging customers based on square footage, square meters, or another unit of measurement rather than a flat per-item price.

Picture a flooring store selling laminate at $4.50 per square foot. The price depends entirely on the size of the room the customer measures, not on a fixed product price sitting in the catalog. WooCommerce has no built-in way to multiply a unit price by a length and width the customer types in, so you need a plugin to do that math for you.

This guide shows you how to set that up using WooCommerce Product Options, which handles both simple tiered area pricing and true length × width formula pricing in one plugin. It applies to flooring, tiles, wallpaper, fabric, glass, countertops and anything else that's cut or priced to size.

What is area-based pricing in WooCommerce?

Wallpaper product page working out how many rolls to buy from the wall width and height the customer enters

"Area-based pricing" in WooCommerce means calculating a product's price by multiplying a fixed unit rate, such as $3.50 per square foot, by dimensions the customer enters at checkout.

The formula behind it is simple: Unit price × (length × width) = total price. A customer ordering laminate at $4.50/sq ft for a 10ft × 12ft room gets 120 sq ft, so the total comes to $540. You'll see this same calculation behind every area-pricing setup, just applied to a different product.

To pull this off, you need a plugin that gives you three things: Number input fields for length and width, a way to multiply those two numbers against a base price, and a way to show the calculated price to the shopper before they add the product to cart. Get those right and the customer gets an accurate, instant price instead of emailing the store for a quote.

WooCommerce Product Options covers both ends of this: Simple per-unit price adjustments for fixed-size tiers, and a price formula field for true length × width calculations.

Before you start: What you need

Have a working WooCommerce store with at least one product created, whether simple or variable.

  • Decide your unit price in advance, for example price per square foot or per square meter, including whether that price changes by material or finish.
  • Decide whether you need simple tiered pricing or true length × width formula pricing. Both are possible in WooCommerce Product Options, as covered in Step 2.
  • Confirm this is the right guide for your product. This article is about pricing by area specifically. If you price by weight instead, such as bulk food or raw materials, the setup is different: See our guide to pricing by weight in WooCommerce instead.

How to sell products by area in WooCommerce: Step-by-step

Step 1: Decide your pricing model

Most stores use one of two models. A flat rate per unit of area is the simplest and works for most flooring and tile stores: One price per square foot, applied to whatever area the customer enters. Tiered pricing is the other, where the rate changes above a certain size, which is common for wallpaper rolls or large-format tiles.

For example, a tile store might charge $6/sq ft for orders under 50 sq ft, then drop to $5.50/sq ft once an order passes that threshold, to reward bigger jobs.

Settle this now, because your choice affects how you set up the plugin in Step 2.

Sell products by area in WooCommerce with a tiered price formula that drops from $6 to $5.50 per sq ft above 50 sq ft

Step 2: Set up your pricing approach in WooCommerce Product Options

I often see store owners use WooCommerce Product Options to sell exactly this kind of product: Made-to-measure curtains and fabric, flooring and wooden panels, even paint, where a customer enters wall measurements and the plugin works out how much paint they need. None of that is possible in native WooCommerce.

For simple tiered or fixed-size pricing, add a 'Number' field for each dimension and set a price-per-unit adjustment on it. That's enough for most flooring and tile stores charging a flat rate per square foot.

For true length × width formula pricing, use the plugin's price formula field. If you build the formula yourself, it takes more setup than ticking a box, so use the plugin's price formula AI bot: Describe the pricing in plain English and it writes the formula for you. For example, a glass supplier can price every custom-cut stove pane straight from a customer's typed-in dimensions.

We know what our profit margin is on every different size of glass... rather than some we're making a slight loss on and then some we're overpricing.

Richard FewingsReplacement-Glass.com

You don't need a dedicated measurement price calculator plugin: Product Options can already do this with a price formula. Product Options also lets you build option types those calculators don't offer, such as clickable image swatches or conditional logic, and feed them into the same price formula. If you want to compare the dedicated calculator plugins anyway, our guide to WooCommerce measurement price calculators covers them.

Number field in WooCommerce Product Options set up as a Length (ft) input for selling flooring by area

Step 3: Configure the plugin on your product

Install WooCommerce Product Options, then go to Products → Edit Product → Product Options and add a 'Number' field for each dimension, such as 'Length (ft)' and 'Width (ft)'. For tiered pricing, set a price-per-unit adjustment directly on the field. For true area pricing, open the price formula field and either write the formula yourself or describe the calculation in plain English to the price formula AI bot.

Full field setup is in the knowledge base.

Length and Width number fields added to a flooring product to sell products by area in WooCommerce

Step 4: Set the price display and rounding rules

I'd round to the nearest whole or half unit, so 10.3 sq ft becomes 10.5, so you're not quoting a fractional price at checkout. Set this rounding rule inside the plugin's settings before you launch, not after the first order comes in.

Add a short helper note near the field too, something like "Enter room length and width in feet", so customers know the expected input format before they start typing.

Price formula in WooCommerce Product Options rounding floor area up to the nearest half square foot

Step 5: Add the product to a catalog or table (optional)

If your store lists many sizes and materials side by side, WooCommerce Product Table can display them in a sortable list. Check which of your option field types are supported inside the table view before you build the layout, since some visual option types display better on a single product page.

WooCommerce Product Table listing flooring products side by side with material, plank size and price per sq ft

Step 6: Test the checkout before going live

Place a test order entering realistic dimensions, and confirm the displayed price matches the manual calculation of unit price × area before you accept live orders. If you test the checkout here, you'll catch a wrong formula variable before a customer does.

Check the cart and the order confirmation email too. Both should show the entered dimensions, not just the final price, so whoever fulfils the order knows exactly what to cut.

WooCommerce cart showing the length, width and floor area entered for a flooring product sold by area

Common mistakes when pricing by area (and how to fix them)

  • No minimum order sizeWithout one, a customer entering 0.5 sq ft can trigger a near-zero order that doesn't cover your handling costs. Fix: Set a minimum area or minimum order value in the plugin settings.
  • Missing unit labelsA field that only says "Length" doesn't tell customers whether to enter feet or meters. Fix: Label every field with the unit explicitly, for example "Length (ft)".
  • Forgetting waste allowanceFlooring and tile orders usually need 5-10% extra material for cuts and offcuts, which the raw area calculation doesn't include. Fix: Build a waste percentage into the price formula, or add a clear note telling customers to order extra.
  • Writing the formula by hand when you don't need toA hand-written price formula is easy to get wrong, especially once tiers or minimums are involved. Fix: Describe the pricing in plain English to the price formula AI bot and check its output against a manual calculation, as covered in Step 2.

Selling specific product types by area

Flooring and tiles are usually priced per square foot or square meter with a waste allowance, and often sold alongside underlay or adhesive as separate line items.

Wallpaper is different again. It's frequently priced per roll rather than pure area, because a roll covers a fixed area regardless of exact wall size. The calculation becomes "wall area ÷ roll coverage = number of rolls" rather than a raw area multiplication, so you need to round your formula up to whole rolls.

Fabric and glass are priced per linear or square unit with minimum cut sizes, which is a good fit for the price formula field in WooCommerce Product Options, since you can set a minimum cut length as part of the same formula.

And as noted earlier, products priced by weight rather than area, such as bulk ingredients, use a different calculation entirely. See the pricing by weight guide for that case.

Frequently asked questions about selling by area in WooCommerce

Can WooCommerce calculate price by square foot automatically?

Not natively. You need a plugin such as WooCommerce Product Options, which can add simple per-unit price adjustments for tiered pricing, or a price formula for true length × width calculations.

What's the difference between WooCommerce Product Options and a measurement price calculator?

Not much in practice. WooCommerce Product Options can match a dedicated measurement calculator's length × width pricing using its price formula field, and it also supports option types calculators don't, such as clickable image swatches and conditional logic.

Can I sell flooring by square foot in WooCommerce?

Yes. Set the price formula field to your per-square-foot rate, and build a waste allowance into the formula or add it as a note to the customer.

Does area-based pricing work with WooCommerce Product Table?

It can. Check that the specific option field types you're using display correctly inside the table view before you build the layout.

How to start selling by area

Install WooCommerce Product Options and decide which pricing model fits your products. For simple, tiered area pricing, set up number fields with per-unit price adjustments as covered in Step 3. For true formula-based pricing where customers can enter any length and width, use the price formula field and describe your pricing to the price formula AI bot in plain English.

For a full comparison of dedicated measurement calculator plugins, see our measurement price calculator comparison.

And if your products are priced by weight rather than area, read the pricing by weight guide instead.

Please share your thoughts...

Your email address will not be published. Required fields are marked *