Line three 45 × 35 cm drawers from a 40 cm wide roll; keep each piece in one sheet. Area suggests 118.125 cm, but three 45 cm cuts need 135 cm before trim allowance.

The worked example

Calculation
45 * 35 * 3 = 4725
4725 / 40 = 118.125
45 * 3 = 135

These are constructed inputs. Displayed decimals are rounded; they are not product measurements.

Understand the result before using it

The 35 cm edge can run across the roll; the 45 cm edge must run along it. Each intact piece therefore consumes 45 cm of roll length. The unused 5 cm strip beside each cut is real area but cannot be joined into another intact 45 by 35 cm piece under this rule.

If joining pieces were permitted, the optimisation problem would change. Pattern alignment, adhesive overlap and a damaged starting edge can also increase required length. Mark the orientation on a drawing and count complete cuts before converting roll metres to price. Buying 1.2 m because it barely exceeds the area estimate would still fail the three-cut plan; 1.35 m is the geometric minimum, with actual trimming needs considered separately.

The boundary of this calculation

A rotated 45 cm width does not fit the 40 cm roll. Drawing the cut layout prevents this mistake.

Inspect the example inputs and run the Python checks. They use only the published examples and do not read personal folders.