Skip to content

Library Glossary

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.

By CentralUpdated 30 November 20263 min read5 sources, checked 30 November 2026
On this page
  1. How the two attributes work
  2. Google's format
  3. Example in a feed
  4. Rules that trip feeds
  5. What it means for a shop

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.

Unit price calculatorFree tool

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_measureunit_pricing_base_measure
StatusOptional, except where local law requires itOptional; the denominator for unit_pricing_measure
ValueA positive number plus a unit, at most 2 decimalsA whole number 1, 10, 100, 2, 4 or 8 plus a unit; also 75cl, 750ml, 50kg and 1000kg
Example750ml100ml

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	100g

Google 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 sqm with sqm.
  • UK feeds in metric. Google reads imperial units as US units, which differ from UK ones.
  • Unit price or energy class. Send unit_pricing_measure or energy_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_id and 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

  1. Unit pricing measure [unit_pricing_measure]Google Merchant Center Helpchecked 30 November 2026
  2. Unit pricing base measure [unit_pricing_base_measure]Google Merchant Center Helpchecked 30 November 2026
  3. How to fix: Missing product measurementGoogle Merchant Center Helpchecked 30 November 2026
  4. How to fix: Missing potentially required valueGoogle Merchant Center Helpchecked 30 November 2026
  5. Product data specificationGoogle Merchant Center Helpchecked 30 November 2026
Start hereProduct feed management: formats, channels and upkeepWhich channels take a product feed, what each one needs, how the feed gets there and how often to update it: Google, Microsoft, ChatGPT and more, November 2026.

You choose what goes in and where it goes out.

Central AI does everything in between. Your first 3 products are free.

  1. Your inputYour shop, your files or your product pages.
  2. Central AIResearches, verifies and writes everything in between. Every value is backed by sources you can check; what the sources do not support is held back.
  3. Your channelsProduct data and listings for the channels you choose.