Adjust the settings and inspect the live result and working.
Copy the result or save a local report.
What the inputs mean
Quantity type
Choose Mass, Volume, Length.
Pack A price
Enter pack a price. Minimum: 0.
Pack A quantity
Enter pack a quantity. Minimum: 0.000001.
Pack A unit
Choose metres, kilometres, centimetres, millimetres, inches, feet, yards, miles or another listed option.
Pack A discount (%)
Enter pack a discount (%). Minimum: 0. Maximum: 100.
Pack B price
Enter pack b price. Minimum: 0.
Pack B quantity
Enter pack b quantity. Minimum: 0.000001.
Pack B unit
Choose metres, kilometres, centimetres, millimetres, inches, feet, yards, miles or another listed option.
Pack B discount (%)
Enter pack b discount (%). Minimum: 0. Maximum: 100.
A WORKED STARTING POINT
See the working.
Inputs used in this example
These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.
Input
Example value
Quantity type
Mass
Pack A price
5
Pack A quantity
500
Pack A unit
grams
Pack A discount (%)
0
Pack B price
8
Pack B quantity
1
Pack B unit
kilograms
Pack B discount (%)
0
Better unit value
Pack B is cheaper
Discounted pack price ÷ quantity converted to the same base unit
Unit-price saving against the more expensive pack: 20%.
Quantities must use compatible units. Ingredient density and quality differences are not inferred.
Amounts use decimal display rounding (half away from zero) to 2 places; intermediate calculations retain precision. No currency-specific cash rounding or tax rules are assumed.
Your inputs stay here
Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.
Compare two packs after discounts using one consistent measurement group.
What does the unit price comparison example show?
With Quantity type: Mass; Pack A price: 5; Pack A quantity: 500, the example returns Pack B is cheaper. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.
What should I check before using the result?
Unit-price saving against the more expensive pack: 20%. Quantities must use compatible units. Ingredient density and quality differences are not inferred.