Many WooCommerce stores don’t sell products with a fixed price.
Instead, the final cost depends on the size the customer orders.
Whether you sell fabric by the metre, flooring by the square metre, timber by length or custom-made products, customers expect to enter their measurements and receive an instant price.
In this guide, we’ll show you how to calculate product costs by size in WooCommerce and automate the entire process.
Why Calculate Product Cost by Size?
Selling by size allows customers to purchase exactly what they need while ensuring your pricing remains accurate.
This approach is commonly used for:
- Flooring
- Carpet
- Fabric
- Wallpaper
- Artificial grass
- Timber
- Steel beams
- Cladding
- Roofing materials
- Concrete
- Gravel
- Topsoil
- Ribbon and trimming
Rather than creating hundreds of product variations, customers simply enter their measurements and WooCommerce calculates the correct price automatically.
Common Pricing Methods
Different businesses calculate prices in different ways.
Some of the most common methods include:
Area Pricing
Perfect for:
- Flooring
- Tiles
- Wallpaper
- Artificial grass
Formula:
Length × Width × Price per Unit
Length Pricing
Ideal for:
- Timber
- Ribbon
- Fabric
- Fencing
- Steel
Formula:
Length × Price per Unit
Volume Pricing
Commonly used for:
- Concrete
- Gravel
- Topsoil
- Screed
Formula:
Length × Width × Depth × Price
Custom Formula Pricing
Some businesses need more advanced calculations that include:
- Waste percentages
- Minimum charges
- Fixed setup costs
- Multiple dimensions
- Custom mathematical formulas
Can WooCommerce Calculate Product Cost by Size?
Not by default.
WooCommerce can sell products with fixed prices or variations, but it doesn’t calculate prices using customer-entered measurements.
Without additional functionality, store owners often have to:
- Calculate prices manually
- Request quotations
- Create thousands of variations
- Develop custom code
For businesses selling made-to-measure products, this quickly becomes difficult to manage.
Automatically Calculate Prices with Woo State Calculator
Woo State Calculator extends WooCommerce by allowing customers to enter their own measurements directly on the product page.
The plugin supports pricing by:
- Square metres
- Square feet
- Linear metres
- Linear feet
- Cubic metres
- Cubic feet
- Area
- Length
- Volume
- Perimeter
- Custom formulas
Prices update instantly as customers change their measurements.
Learn more:
Example
Imagine you sell decorative wall panels.
Price:
£32 per square metre
Customer enters:
- Width: 2.4m
- Height: 1.8m
Woo State Calculator calculates:
2.4 × 1.8 = 4.32m²
Final price:
4.32 × £32 = £138.24
The customer immediately sees the final price before adding the product to their basket.
Benefits of Size-Based Pricing
Automating size calculations helps you:
- Eliminate manual quotations
- Reduce pricing mistakes
- Sell made-to-measure products
- Improve customer confidence
- Speed up checkout
- Reduce administration
- Support custom manufacturing
For many businesses, this creates a much smoother purchasing experience.
Frequently Asked Questions
Can WooCommerce calculate prices using customer measurements?
Not by default. WooCommerce requires additional functionality to calculate prices from customer-entered dimensions.
Can customers enter width and height?
Yes. Woo State Calculator allows customers to enter measurements such as width, height, length and depth depending on your pricing requirements.
Can I charge using my own pricing formula?
Yes. Woo State Calculator supports custom formulas, making it suitable for many different industries and pricing models.
Can I apply minimum charges?
Yes. You can configure minimum pricing rules to ensure every order remains profitable.
Continue Reading
WooCommerce Formula Pricing: How to Price Products by Area, Volume or Length
WooCommerce Minimum Charge: How to Set a Minimum Order Value
WooCommerce Calculate Square Feet: Sell Products by Area
WooCommerce Calculate Square Metres: Sell Products by Area
WooCommerce Flooring Price Calculator
The Ultimate Guide to WooCommerce Product Configurators
Final Thoughts
Selling products by size shouldn’t require complicated spreadsheets or manual quotations.
By allowing customers to enter their own measurements and receive an instant price, you can improve the buying experience while reducing administration.
Woo State Calculator makes it easy to calculate product costs by size in WooCommerce, supporting area, length, volume, perimeter and fully custom pricing formulas for virtually any measurement-based product.
Get started with Woo State Calculator:


Leave a Reply