unit_pricing_measure and unit_pricing_base_measure in Google feeds
How Google's unit_pricing_measure and unit_pricing_base_measure work, the units and base measures Google accepts, where they are required and a feed example.
On this page
unit_pricing_measure is the Google Merchant Center attribute for the quantity of a product as it is sold, such as 750ml, from which Google calculates the unit price together with unit_pricing_base_measure, the quantity the price is shown for.
How the two attributes work#
Google does not take a finished unit price. It calculates one from three values: price (or the sale price while it is active), unit_pricing_measure and unit_pricing_base_measure. The measure is the quantity you sell, without packaging. The base measure is the quantity the unit price refers to. At 3 USD, a measure of 150ml and a base of 100ml, the specification's own example shows 2 USD per 100 ml.
Google's format#
As of November 2026, per the pages for the measure and the base measure:
unit_pricing_measure | unit_pricing_base_measure | |
|---|---|---|
| Status | Optional, except where local law requires it | Optional; the denominator for unit_pricing_measure |
| Value | A positive number plus a unit, at most 2 decimals | A whole number 1, 10, 100, 2, 4 or 8 plus a unit; also 75cl, 750ml, 50kg and 1000kg |
| Example | 750ml | 100ml |
Units for both: oz, lb, mg, g, kg (weight); floz, pt, qt, gal (US volume); ml, cl, l, cbm (metric volume); in, ft, yd, cm, m (length); sqft, sqm (area); ct (count). The attribute pages add sheet and item, for Australia and New Zealand only; the specification lists ct as the only count unit.
Where Google says the law requires them: certain products shown in Shopping ads and free listings in the EU, the EFTA countries, the United Kingdom, Australia and New Zealand, including products sold by weight, volume, length and area.
Example in a feed#
Northpeak sells its stove gas canister singly and as a 4-pack. Google asks for the total amount that makes up the product, so the 4-pack carries 920 g, not 230 g:
id title price unit_pricing_measure unit_pricing_base_measure
NP-GAS-230 Northpeak Stove Gas Canister, 230 g 6.50 EUR 230g 100g
NP-GAS-4 Northpeak Stove Gas Canister, 4 x 230 g 19.96 EUR 920g 100gGoogle calculates 6.50 EUR / 230 g x 100 g = 2.83 EUR per 100 g for the single canister and 19.96 EUR / 920 g x 100 g = 2.17 EUR per 100 g for the 4-pack. In XML the values are <g:unit_pricing_measure>230g</g:unit_pricing_measure> and <g:unit_pricing_base_measure>100g</g:unit_pricing_base_measure>.
Rules that trip feeds#
- Same type of unit. Google recommends the same unit type in both attributes, such as
sqmwithsqm. - UK feeds in metric. Google reads imperial units as US units, which differ from UK ones.
- Unit price or energy class. Send
unit_pricing_measureorenergy_efficiency_class, not both. With both, only the energy class is shown. - Variants. Each pack size is its own product with the same
item_group_idand its own measure. - The base measure shown may differ. Google may switch it to make listings on one page comparable.
Google's pages differ on one point. The specification calls unit_pricing_base_measure optional when you send unit_pricing_measure; the issue Missing product measurement flags exactly that case and asks for the base measure. Sending both avoids the issue.
What it means for a shop#
The two values follow from one fact: the net content of each variant, as a number and a unit. Store that in its own field and calculate both attributes from it. The unit price calculator at the top of this page writes both values for one product or a whole file, and how to calculate a unit price shows the arithmetic for every pack size. The legal rules behind the attributes are in unit prices online. When the values are missing where the law may require them, Merchant Center shows Missing potentially required value, with a perfume sold by the fluid ounce as Google's own example.
Questions
What is the difference between unit_pricing_measure and unit_pricing_base_measure?
unit_pricing_measure is how much of the product you sell, such as 125ml. unit_pricing_base_measure is the quantity the unit price refers to, such as 100ml. Google divides the price by the first and multiplies by the second: 19.90 EUR for 125 ml shows as 15.92 EUR per 100 ml.
Are the unit pricing attributes required in Google Merchant Center?
Optional, except where local law requires a unit price. As of November 2026, Google names certain products sold by weight, volume, length or area in the EU, the EFTA countries, the United Kingdom, Australia and New Zealand.
Why does Google show another base measure than the one I sent?
Google says it may show a different base measure to make unit prices comparable across the ads and free listings on a page.
Sources
- Unit pricing measure [unit_pricing_measure]Google Merchant Center Helpchecked 30 November 2026
- Unit pricing base measure [unit_pricing_base_measure]Google Merchant Center Helpchecked 30 November 2026
- How to fix: Missing product measurementGoogle Merchant Center Helpchecked 30 November 2026
- How to fix: Missing potentially required valueGoogle Merchant Center Helpchecked 30 November 2026
- Product data specificationGoogle Merchant Center Helpchecked 30 November 2026
- Availability [availability]Glossary
- Broken image link in Merchant Center: why Google cannot load the imageGuides
- Certification [certification]Glossary
- Condition mismatch in Merchant Center: new, used or refurbishedGuides
- Disapproved products in Google Merchant Center: causes and fixesGuides
- Excessive capitalization in Merchant Center titles: what Google allowsGuides
- Feed management software compared: Channable, Productsup, Feedonomics and moreComparisons
- Generic or dysfunctional landing pages in Merchant Center: how to fix themGuides
- Google Merchant Center account suspension: warnings, reviews and fixesGuides
- Google product category: how to choose the right oneGuides
- Google Shopping feed: how to create, submit and optimize oneGuides
- Google Shopping feeds from Magento, BigCommerce and ShopwareGuides
- Google vs Microsoft Merchant Center vs ChatGPT product feedsComparisons
- google_product_categoryGlossary
- How to fix misrepresentation in Google Merchant CenterGuides
- How to fix missing identifiers and GTIN issues in Merchant CenterGuides
- Image too small in Merchant Center: the 500 x 500 minimum and the fixGuides
- Inaccurate shipping costs in Merchant Center: make the feed match the checkoutGuides
- Invalid brand value in Merchant Center: what Google accepts as a brandGuides
- Invalid sale price in Merchant Center: what Google checks and how to fix itGuides
- Microsoft Merchant Center: product feed requirements for Bing ShoppingGuides
- Mismatched domains in Merchant Center: product links outside your websiteGuides
- Mismatched product availability in Merchant Center: how to fix itGuides
- Mismatched product price in Merchant Center: causes and fixesGuides
- Missing contact information on your online store: Merchant Center fixGuides
- Missing return and refund policy in Merchant Center: what to showGuides
- Missing shipping costs in Merchant Center: settings or the shipping attributeGuides
- Missing size, color, gender or age group in Merchant Center: the fixGuides
- Product feedGlossary
- Product feed vs API: how to send product data to channelsComparisons
- Product page unavailable in Merchant Center: crawl errors and fixesGuides
- product_detailGlossary
- product_highlightGlossary
- Shopify to Google Merchant Center: connect, sync and fix product issuesGuides
- Text on image in Merchant Center: overlays, watermarks and placeholdersGuides
- Unable to check product pages in Merchant Center: robots.txt and GooglebotGuides
- Website needs improvement in Merchant Center: make your store functionalGuides
- What is Google Merchant Center (and is it free)?Guides
- WooCommerce product feed for Google Merchant Center: setup and fixesGuides