{
  "schemaVersion": 1,
  "kind": "Fixed calculator reference example",
  "id": "unit-price",
  "name": "Unit price comparison",
  "canonicalUrl": "https://count.ie/everyday/unit-price/",
  "referenceUrl": "https://count.ie/calculator-reference/unit-price.json",
  "audienceLocale": "en-IE",
  "siteFocus": "Ireland",
  "question": "Which supermarket pack is cheaper per gram, litre or item?",
  "answerSummary": "Unit price comparison example — First pack price (€): 4; First pack quantity: 500; Second pack price (€): 7; Second pack quantity: 1,000. First Unit Price: €0.01; Second Unit Price: €0.01.",
  "method": "Unit price = pack price ÷ pack quantity.",
  "methodology": "Unit price = pack price ÷ pack quantity.",
  "calculationSteps": {
    "explanation": "Unit price = pack price ÷ pack quantity.",
    "coverage": "published-catalogue-method",
    "steps": [
      {
        "step": "Published calculation method",
        "formula": "Unit price = pack price ÷ pack quantity.",
        "scope": "Use the stated input units, supported modes and limitations below."
      }
    ],
    "limitations": "Use the same quantity unit for both packs, such as grams or millilitres.",
    "authority": "Explanation of the implemented calculator, not independent professional review, enactment verification or a promise of AI citation."
  },
  "relatedCalculators": [
    {
      "id": "commute-comparison",
      "name": "Car versus public transport commute",
      "url": "https://count.ie/everyday/commute-comparison/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "childcare-budget",
      "name": "Childcare budget and universal NCS",
      "url": "https://count.ie/everyday/childcare-budget/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "discount",
      "name": "Discounts & sale prices",
      "url": "https://count.ie/everyday/discounts/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "fractions",
      "name": "Fractions and mixed numbers",
      "url": "https://count.ie/everyday/fractions/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "budget",
      "name": "Household budget",
      "url": "https://count.ie/everyday/household-budget/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "units",
      "name": "Metric & imperial units",
      "url": "https://count.ie/everyday/unit-converter/",
      "purpose": "Explore another calculator in the same topic."
    }
  ],
  "relatedControls": [],
  "assumptionsAndLimitations": "Use the same quantity unit for both packs, such as grams or millilitres.",
  "interpretation": "Compare first unit price, second unit price using matching periods and units. A total cost, a recurring payment and a percentage answer different questions. Check omitted costs and the timing of payments before using the result as a spending commitment.",
  "example": {
    "kind": "Illustrative, not personalised",
    "values": {
      "firstPrice": 4,
      "firstQuantity": 500,
      "secondPrice": 7,
      "secondQuantity": 1000
    },
    "inputs": [
      {
        "label": "First pack price (€)",
        "value": "4"
      },
      {
        "label": "First pack quantity",
        "value": "500"
      },
      {
        "label": "Second pack price (€)",
        "value": "7"
      },
      {
        "label": "Second pack quantity",
        "value": "1,000"
      }
    ],
    "outputs": [
      {
        "key": "firstUnitPrice",
        "label": "First Unit Price",
        "value": 0.008,
        "displayValue": "€0.01"
      },
      {
        "key": "secondUnitPrice",
        "label": "Second Unit Price",
        "value": 0.007,
        "displayValue": "€0.01"
      }
    ],
    "displayValuesMayBeRounded": true,
    "scopeNote": "Only this fixed case is described. Other modes, dates and eligibility choices can give different results. Values include all public model settings, including dormant options; inputs list the active settings. Use the full input list, method and limitations together."
  },
  "provenance": {
    "publisher": "Count.ie",
    "publisherUrl": "https://count.ie/about/#publisher-profile",
    "pageUpdatedOn": "2026-10-17",
    "sourceCheckedOn": null,
    "reviewScope": "Any dated method notes below apply only to their stated scope. A formula or user-entered rate is not evidence that statutory rules are current.",
    "sourceBasis": "Uses the stated formula and the assumptions you enter. No external source review is claimed.",
    "authorityNote": "Count.ie publishes the calculated example. The linked official sources, where present, remain authoritative for the underlying rules. No official endorsement or professional review is implied."
  },
  "sources": [],
  "frequentlyAskedQuestions": [
    {
      "question": "What happens if I increase first pack price (€) in this example?",
      "answer": "Changing first pack price (€) from 4 to 4.4, with the other example settings unchanged, changes first unit price from €0.01 to €0.01. This isolates one input using the form's actual calculation. Compare changes separately rather than attributing a difference to several assumptions at once."
    },
    {
      "question": "What assumptions should I check for Unit price comparison?",
      "answer": "Use the same quantity unit for both packs, such as grams or millilitres. This is a formula-based planning tool, not a feed of live quotations or an independent assessment. Its editable amounts, prices and rates are your assumptions, so check them against the records or specifications relevant to your case."
    },
    {
      "answer": "No. A lower unit price is not always the best purchase if you will end up wasting a portion of the product. Also, consider any associated delivery charges not reflected in the pack price.",
      "question": "Is the cheapest pack always the best value?"
    },
    {
      "question": "Can I compare a pack in grams with a pack in millilitres?",
      "answer": "No. Grams measure mass and millilitres measure volume, so they are not interchangeable. Use the same quantity unit for like products. A mass-to-volume conversion needs a justified density; this price comparison does not provide one."
    },
    {
      "answer": "Only if they are reflected in the pack price you enter. The calculator uses the figures you provide; if a promotion changes the price or quantity, ensure you update your inputs accordingly.",
      "question": "Are promotions automatically factored in?"
    }
  ],
  "citation": {
    "publisher": "Count.ie",
    "title": "Unit price comparison: fixed worked example",
    "url": "https://count.ie/everyday/unit-price/#worked-example",
    "pageUpdatedOn": "2026-10-17",
    "text": "Count.ie. Unit price comparison: fixed worked example. Page updated 2026-10-17. https://count.ie/everyday/unit-price/#worked-example"
  },
  "relatedGuideUrl": "https://count.ie/everyday/unit-price/#calculator-reference",
  "privacyNote": "Generated at build time from public example settings. No visitor inputs, saved profiles or chat messages are included. Query parameters do not recalculate this file."
}
