Flooring Calculator for WooCommerce

Flooring Calculator for WooCommerce

Details
View on WordPress

Flooring Calculator for WooCommerce turns the area a customer needs into the number of packs, rolls, panels, pieces or containers your shop sells, and shows the total price while they type. It is built for shops selling laminate, vinyl, parquet, tiles, underlay, adhesives, skirting boards and wall panels, where customers know their room in square meters but the product is sold per pack.

No calculate button and no formulas to write: choose a quantity type, enter the size of one pack, done. The calculation works in both directions, so changing the number of packs updates the area as well.

Think of it as a free measurement price calculator made for flooring: an m2 calculator (m² to packs), a box calculator for tiles, a roll calculator for underlay and a coverage calculator for adhesives, all in one plugin and without per square meter pricing tricks.

How it works

A customer needs 37.5 m² of laminate. One pack holds 1.74 m².

  • 37.5 m² ÷ 1.74 m² = 21.6, rounded up to 22 packs, which cover 38.28 m².
  • With 10 % waste ticked: 41.25 m² ÷ 1.74 m² = 23.7, rounded up to 24 packs.
  • The total price updates instantly, the cart shows “Area: 38.28 m²” next to the line item.

The same logic covers the other product groups:

  • Skirting boards: a 5 × 4 m room has an 18 m perimeter, at 2.40 m per board that is 8 boards.
  • Adhesive: 50 m² at 1 kg per m² in 25 kg buckets is 2 containers.
  • Underlay rolls and wall panels: area divided by the size of one roll or panel, rounded up.

Quantity types

Each product gets one quantity type. The type decides which fields the customer sees.

  • Square meters / packs: laminate, vinyl, parquet, tiles, carpet tiles
  • Square meters / rolls: underlay, insulation, rolled goods
  • Square meters / panels: acoustic and wall panels, sizes per variation supported
  • Meters / pieces: skirting boards and profiles sold per piece of fixed length
  • Meters: goods sold by the running meter
  • Coverage / container: adhesives and fillers, from coverage in kg per m² and container size
  • Pieces: the plain WooCommerce quantity field

Who it is for

  • Flooring shops: laminate, vinyl and LVT, parquet, linoleum, carpet tiles, cork
  • Tile shops selling tiles per box
  • Building material shops: underlay, insulation, adhesives, fillers, levelling compound
  • Shops selling skirting boards, profiles, transition strips and wall or acoustic panels
  • Any WooCommerce shop that sells per pack, roll, box or bucket while customers think in square meters or running meters

Formulas used

  • Packs = area ÷ size per pack, rounded up
  • With waste = area × (1 + waste %) ÷ size per pack, rounded up
  • Skirting boards = 2 × (room length + room width) ÷ length per board, rounded up
  • Adhesive containers = area × coverage in kg per m² ÷ container size in kg, rounded up
  • Delivered area = packs × size per pack (shown in cart and saved with the order)

Features on the product page

  • Two way calculation: enter the area to get packs, or change the packs to see the area they cover
  • Always rounded up to whole packs, rolls, panels, pieces or containers, so the customer never orders too little
  • Plus and minus buttons on the area field step by exactly one pack
  • Hint below the quantity field, for example “1 pack = 1.74 m²” or the required adhesive weight “Required: 50 kg”
  • Waste checkbox, for example “Add 10% for waste”, with a line showing the area and packs including waste
  • Room calculator: length × width for floors and panels, perimeter for skirting boards, area for adhesives
  • Live total price including tax; on sale items also the regular total and the saving
  • Notices when a minimum quantity applies or when stock is lower than the requested amount
  • Variable products: each variation can have its own size per unit, the calculator switches with the selection
  • Price suffix per unit on variations, for example “29.50 € / pack”
  • Goods sold by the meter: a fixed note such as “Sold by the meter. Length per piece approx. 2.40 to 2.70 meters.”
  • The entered area is remembered during the visit, so comparing floors or adding the matching underlay and adhesive is instant
  • Prefilled fields are selected on tap, typing replaces the old value
  • Mobile friendly: the calculator stacks into one column with large touch targets

Features in cart, checkout and orders

  • Delivered area, length or weight shown with every line item, for example “Area: 38.28 m²” or “equals 77.00 kg”
  • Works in the classic cart and checkout and in the block based cart and checkout
  • The value is saved with each order line, so it appears in the order screen, in order emails and on invoices
  • Stock shown in m² instead of packs, for example “534.06 m² in stock” (optional)
  • Respects minimum and maximum quantities and stock limits set by WooCommerce or other plugins

Features for shop managers

  • Quantity type, size per unit and waste percentage per product, in the product data panel
  • Waste percentage per product, for example 15 % for herringbone and 5 % for click vinyl, with shop defaults for area products and for skirting boards
  • Product list column showing type and size, plus a filter “Size per unit missing” to find incomplete products
  • Quick edit and bulk edit for quantity type, size per unit and waste, for hundreds of products at once
  • Settings: waste defaults, total price on or off, stock display, note for goods sold by the meter, available quantity types
  • Existing custom fields from a previous solution can be migrated once with a filter
  • Uninstalling removes only the plugin’s settings, product data stays

For developers

  • Filters caqc_types (own quantity types), caqc_waste_percent (waste per product or group), caqc_stock_in_size (stock display) and caqc_migration_map (migration of old meta keys)
  • No template overrides: the calculator uses the standard add to cart hooks
  • Compatible with High-Performance Order Storage (HPOS) and the cart and checkout blocks
  • PHP 7.4 to 8.5, WordPress 6.5 or later, WooCommerce 8.0 or later
  • Translation ready, German included (formal and informal)

Works with your theme

The calculator uses the standard WooCommerce add to cart hooks and wraps the theme’s quantity field instead of replacing it, so the theme’s plus and minus buttons keep working. Tested with Storefront and Woodmart, on desktop and mobile.

Privacy

No external requests, no tracking, no personal data stored. The entered area is kept in the browser’s session storage for the current visit only. There is no Pro version and no upsell.

Support

Questions and bug reports are welcome in the support forum on wordpress.org. For anything else, write to flooring-calculator@cms-admins.de. Setup help and custom development for WooCommerce shops: CMS ADMINS.

Disclaimer

The calculator gives an estimate based on the sizes, coverage values and waste percentages entered by the shop. Shop owners are responsible for correct product data and prices and should advise customers to check quantities before laying. The plugin is provided “as is”, without warranty of any kind, as stated in the GNU General Public License.

Trademarks

WooCommerce is a registered trademark of Automattic Inc. This plugin is not affiliated with or endorsed by Automattic or WooCommerce.

Copyright

Copyright (C) 2026 Patrick Schlesinger, cms-admins.de. Released under the GNU General Public License v2 or later.

Details

Plugin code:
flooring-calculator
Plugin version:
1.0.4
Outdated:
No
WP version:
6.5 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1.3
Total installations:
0
Last updated:
2026-10-11
Rating:
Times rated:
0
area-calculator
coverage-calculator
flooring
square-meter-calculator
woocommerce