Calculate total price, overall length, or price per length from any two values, with support for meters, feet, inches, yards, and more.

Price Per Length Calculator

Enter any 2 values to calculate the missing variable

Price Per Length Formula

The price per length calculation relates total price, total length, and unit price. The calculator can solve for any one missing value when you enter the other two.

P = (L*C_L)*(R/C_R)
L = (P/(R/C_R))/C_L
R = (P/(L*C_L))*C_R
  • P = total price
  • L = overall length in the selected length unit
  • R = price per length in the selected price unit
  • CL = meters per selected length unit
  • CR = meters per selected price unit

If you leave Total Price blank, the calculator multiplies the converted length by the converted price per length.

If you leave Overall Length blank, it divides total price by the converted unit price, then converts the result back to your selected length unit.

If you leave Price Per Length blank, it divides total price by the converted length, then converts the result to your selected price unit.

Length Unit Conversion Factors

The calculator converts length values through meters before calculating the result.

Unit Meters per unit Units per meter
Millimeter 0.001 m 1000 mm
Centimeter 0.01 m 100 cm
Meter 1 m 1 m
Kilometer 1000 m 0.001 km
Inch 0.0254 m 39.3701 in
Foot 0.3048 m 3.28084 ft
Yard 0.9144 m 1.09361 yd

Common Price Per Length Comparisons

Given price Equivalent price Use case
$1.00 per foot $3.28 per meter Comparing rolls, cable, rope, or trim sold in metric units
$1.00 per meter $0.30 per foot Comparing metric pricing to imperial pricing
$1.00 per yard $1.09 per meter Comparing fabric, flooring, or landscaping material
$1.00 per inch $39.37 per meter Small parts, strips, tubing, or custom cuts

Example Problems

Example 1: Find total price

You buy 25 feet of material at $2.40 per foot.

P = 25*2.40 = 60.00

The total price is $60.00.

Example 2: Find price per length

You paid $84 for 12 yards of fabric.

R = 84/12 = 7.00

The price per length is $7.00 per yard.

FAQ

How do you calculate price per length?

Divide the total price by the total length. For example, if 10 feet costs $35, the price per foot is $35 divided by 10, which equals $3.50 per foot.

Can the length unit and price unit be different?

Yes. You can enter length in one unit and price per length in another unit. For example, you can enter a length in feet and a price in dollars per meter. The calculator converts the units before solving the missing value.

Why does the calculator require exactly two values?

The formula has three main values: total price, length, and price per length. You need any two of them to calculate the third. If more than one value is missing, there is not enough information to solve the calculation.