WooCommerce Price Calculator is essential if you want to sell products based on weight, volume, length, area or custom units instead of simple item quantities. With our free plugin, you can easily create dynamic price calculations in WooCommerce, letting customers buy exactly the amount they need — in kg, liters, square meters, or any custom measurement you set. Build your own WooCommerce price calculator in minutes and start selling products with flexible, measurement-based pricing.
Contents
- What Is a WooCommerce Price Calculator?
- Why Offer Pricing Based on Weight, Size or Volume?
- How WooCommerce Price Calculator Works (Default vs Custom Units)
- WooCommerce Price Calculator — Free Plugin Setup Guide
- Using WooCommerce Price Calculator for Weight-Based Pricing
- How to Let Customers Buy Products by Volume Online
- WooCommerce Price Calculator PRO — Calculate Price from Smaller Units (ml, g)
- Advanced WooCommerce Price Calculator Options — Dynamic Pricing & Shipping Tables
- Summary
- FAQ
- Use Measurement Price Calculator for WooCommerce (free plugin)
- How to set the new unit of measure for WooCommerce products
- WooCommerce measurement price calculator: Free download
- Advanced product quantities, decimals, and new units in WooCommerce
- WooCommerce price per unit and by quantity (guide & free plugin)
What Is a WooCommerce Price Calculator?
A WooCommerce price calculator is a tool or plugin that automatically calculates a product’s price based on measurement units such as weight, volume, length, area, or dimensions (L×W×H). Instead of selling items per piece, you can let customers enter the exact quantity they need — for example kg of produce, liters of liquid, meters of fabric, or custom cubic measurements — and WooCommerce will calculate the final price dynamically.
Why Offer Pricing Based on Weight, Size or Volume?
You need a WooCommerce price calculator if your products cannot be sold as simple “per item” quantities. This applies to businesses that sell by weight (kg, lbs), volume (liters, gallons), length (meters, yards), area (sq ft, sq m), or dimensions (L×W×H). A price calculator helps you:
- provide accurate prices based on measurements
- sell customizable product quantities
- reduce manual calculations
- prevent pricing errors
- automate shipping cost adjustments
Flexible Quantity Calculator for WooCommerce
Enable product price calculation based on dimensions on the product page. Set price and shipping thresholds for product quantities. Support for product variations.
💾 Active Installations: 2,000+ | WordPress Rating:
How WooCommerce Price Calculator Works (Default vs Custom Units)
As you know, by default, WooCommerce uses the standard units of measure & dimensions (kg, g, lbs, oz for the weight and m, cm, mm, in, yd for the dimension). You may use those units for setting the weight and dimensions of the product for shipping purposes.

But you can offer products by their quantity (stock) only. Now, what if you'd like to sell based on more units of measure and calculate the price accordingly? Then, you're in the right place!
Today, I'll show you how to sell lemons by weight and lemon juice by volume. You'll learn how to offer products with the new units of measure (weight and volume).
WooCommerce Price Calculator — Free Plugin Setup Guide
To calculate product prices based on new units of measure:
- First, download and install the Flexible Quantity free plugin from the WordPress repository,
Flexible Quantity plugin for FREE →
- Then, go to the product edit screen and enable the new unit of measure (for example, km for transportation services),
-
Finally, set the new unit for dynamic price calculations.
Using WooCommerce Price Calculator for Weight-Based Pricing
Now, you can use weight as a new unit of measurement as well. The plugin lets you define the unit name, prices, increment value, or minimum and maximum unit quantity. Let's see how the plugin helps you build your WooCommerce price calculator for the weight units.
- The initial steps are similar as shown above: open the product edit screen and enable the new unit of measure,
- Set kg for our lemons as a new unit of measurement, and choose its parameters,
- Finally, see our lemons sold per kg in your WooCommerce store.
As you see, WooCommerce will show the final price per kg based on the dynamic price calculations.
Flexible Quantity Calculator for WooCommerce
Enable product price calculation based on dimensions on the product page. Set price and shipping thresholds for product quantities. Support for product variations.
💾 Active Installations: 2,000+ | WordPress Rating:
How to Let Customers Buy Products by Volume Online
Let's see now how to sell lemon juice by volume.
- First, add a new WooCommerce product and enable the new unit of measure (liters),
- Set the new unit and its parameters,
- That's it! We've just added lemon juice to the store's shelves.
Moreover, there are additional options for inventory below the unit settings. You can decide that the new unit will change the product stock based on the quantity (e.g. kg, or l). You may also allow customers to buy one product only, for example, 3 kg of lemons, without the option to select more 3kg "bags".

The above options are included in the Flexible Quantity - Measurement Price Calculator for WooCommerce free plugin.
WooCommerce Price Calculator PRO — Calculate Price from Smaller Units (ml, g)
There is a way to sell lemons per kilograms or liters, but also let customers enter the smaller units (here grams and milliliters) to calculate the unit quantity and the product prices.
Let's suppose you want to sell lemon juice: for $7 per liter, but let your clients enter the volume every 100 ml up to 10000 ml (10 liters).
To set that option for your WooCommerce product with the price calculator plugin:
- Enable the unit dimensions,
- Choose the dimension's properties (the ml as a smaller unit of measure, the increment, the unit label, and minimum and maximum values too),
- Done! Your customers can now enter the volume in milliliters. The plugin will calculate the price in full liters dynamically.
Advanced WooCommerce Price Calculator Options — Dynamic Pricing & Shipping Tables
Sometimes you may want the product price to depend on the quantity of the new unit of measure. The plugin gives you 2 options: the pricing table and the shipping class table.
Price calculator based WooCommerce product quantity
The pricing table lets you set the ranges for different prices and sale prices based on the quantity.

The product price will now depend on the product quantity (based on your new unit of measurement).

Flexible shipping costs depend on the unit quantity
You can also enable and set the shipping class table. Choose the quantity ranges and choose the shipping classes.

The shipping cost will depend on the quantity of the new unit of measure of your WooCommerce product.

That will give you flexible shipping costs in your WooCommerce store based on the product quantity (and the new unit of measure).

Summary
In this article, you've learned how to use a free measurement price calculator for WooCommerce to sell products based on new units of measure. I've shown you weight and volume-based products with prices based on the new units. Also, how to use the pricing table and shipping class table for dynamic prices of new products with the PRO version of the plugin.
Visit Flexible Quantity - Measurement Price Calculator for WooCommerce PRO to see all features, check the plugin documentation, and run your tests in a free demo!
Flexible Quantity plugin for FREE →
If you have more questions, just let us know!
FAQ
How do I add a price calculator in WooCommerce?
You can add a price calculator in WooCommerce using a plugin such as Flexible Quantity. It lets you define custom measurement units and automatically calculate product prices based on weight, volume, dimensions or length.
Is there a free WooCommerce price calculator plugin?
Yes. The Flexible Quantity plugin includes a free WooCommerce price calculator that supports weight, volume and custom units without additional cost.
Can WooCommerce calculate price by weight?
Yes. With a WooCommerce price calculator plugin, you can sell products per kg, g, lbs, or oz and let the system calculate the price dynamically.
How do I sell products by length, area or volume in WooCommerce?
Install a price calculator plugin, enable new measurement units (m, sq ft, liters, etc.), and set the pricing rules. Customers will be able to enter custom measurements.
Does the WooCommerce price calculator work with shipping costs?
Yes. The PRO version allows dynamic shipping costs based on the quantity of the chosen measurement unit.
Can customers enter their own measurements?
Yes. With PRO features, customers can enter custom values such as grams, milliliters, or centimeters, and the calculator will convert them into the main pricing unit.






