For an apportionable measured commodity, use:
Actual quantity ÷ Agreed quantity × Total price
Case 1: 75 of 100 qafiz, originally 100 dirhams → 75 dirhams.
Case 2: 30 of 40 measures, originally 2,000 rupees → 1,500 rupees.
Case 3: 45 of 50 measures, originally 5,000 rupees → 4,500 rupees.
These calculations are illustrations of divisible, measured goods. Do not apply the formula automatically to every item described by size.