You can add a measurement price calculator to any product by adding one or more number fields, plus a price formula field.
For example, you might add number fields for 'Width' and 'Length'. Then, you might create a custom price formula which multiples the width and length by the price per meter to calculate the correct cost for the product. This is an excellent way to sell made-to-measure or cut-to-size products.