# Unit price comparison > How do you find the cheapest pack per kilo or litre? Compare packs of different sizes by price per kilogram, litre or piece. Compare the price per kilogram, litre or piece of two to six packs, even in different units, and see which one is cheapest and by how much. - Page: https://how.box/unit-price/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/unit-price/?k={k}&c={c}&r={r} - `k` (mass, volume or count): What is compared: mass, volume or count. Example: `mass`. - `c` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): ISO 4217 denomination; never converts prices. Example: `EUR`. - `r` (array): Ordered offers, versioned: ~1:price:quantity:unit,… (e.g. ~1:2.5:500:g,4.5:1:kg). Example: `[object Object],[object Object]`. Example answer: https://how.box/unit-price/?k=mass&c=EUR&r=%7E1%3A2.5%3A500%3Ag%2C4.5%3A1%3Akg A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `unit_price_compare`: Compare 2–6 offers by price per kilogram, litre or piece. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"unit_price_compare","arguments":{"kind":"mass","currency":"EUR","rows":[{"id":"p1","price":2.5,"quantity":500,"unit":"g"},{"id":"p2","price":4.5,"quantity":1,"unit":"kg"}]}}}` - GET: https://how.box/mcp/run/unit_price_compare?kind=mass¤cy=EUR&rows=%5B%7B%22id%22%3A%22p1%22%2C%22price%22%3A2.5%2C%22quantity%22%3A500%2C%22unit%22%3A%22g%22%7D%2C%7B%22id%22%3A%22p2%22%2C%22price%22%3A4.5%2C%22quantity%22%3A1%2C%22unit%22%3A%22kg%22%7D%5D ## How it works Packs of different sizes cannot be compared by their price alone. The unit price tells you what one kilogram, one litre or one piece costs, so packs can be ranked fairly. Units may be mixed: 500 g and 1 kg are brought to the same measure. The unit price is the pack's price divided by its quantity in kilograms, litres or pieces. For example, a 500 g pack at €2.50 costs 2.50 ÷ 0.5 = €5.00 per kilogram, and a 1 kg pack at €4.50 costs €4.50 per kilogram, which is 10 % less. The EU price indication directive (98/6/EC) calls the unit price the easiest way to compare products. Pounds and gallons use their exact definitions: 1 lb = 0.45359237 kg and 1 US gal = 3.785411784 l. The comparison only relates price to quantity. It does not account for deposits, multi-buy discounts, quality or whether you can use everything before it expires. ## FAQ **Why is the unit price useful?** Pack sizes vary, so the pack price does not show which is cheaper. A price per kilogram or litre makes packs comparable. **Can I compare grams with kilograms?** Yes. Units of the same kind, such as g, kg, oz and lb, or ml, l and gallons, are converted correctly. **What if the products are measured differently, such as kilograms and litres?** You compare one kind at a time: weight, volume or pieces. Kilograms and litres cannot be compared with each other. **Is the lowest unit price always the best choice?** Not always. If you cannot use a large pack before it expires, a smaller one may save more. **How do I compare a multi-buy offer?** Enter the total price and total quantity you would buy. For three identical packs, multiply each pack’s quantity by three. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)