# Units of measurement in product data: one unit, one format

> Why mixed units break filters and feeds, exact conversion factors from NIST, how to write a value, what Google, ChatGPT and eBay accept, and a recipe to normalize.

Source: https://central.to/guides/units-of-measurement-product-data · Updated 2026-11-23 · Published by Central (https://central.to)

## In short

- One inch is exactly 25.4 millimeters and one pound is exactly 0.45359237 kilograms, according to the conversion tables of the US National Institute of Standards and Technology (NIST).
- A US fluid ounce is 29.57353 milliliters and a UK fluid ounce is 28.41306 milliliters, so a volume in fluid ounces needs its country before it can be converted.
- As of November 2026, Google accepts lb, oz, g and kg for product and shipping weight and cm and in for dimensions, and shows product dimensions only when all of them use the same unit.
- Google reads imperial units in its unit pricing attributes as US units and asks for metric values for products sold to the United Kingdom.
- Council Directive 80/181/EEC makes the units of its Annex, Chapter I (the SI units, with the liter and the tonne) the legal units for expressing quantities in the EU; other units may accompany them as supplementary indications that are no larger.
- NIST's style rules put a space between the number and the unit symbol, add no plural s and no period to a symbol, and express a value in one unit only.

Free tool: [Unit normalizer](https://central.to/tools/unit-normalizer). Convert a column of mixed units (cm and inches, kg and pounds, liters and fluid ounces) into one unit and number format.

## The short version

Mixed units are a consistency problem, one of the six dimensions in our guide to [product data quality](https://central.to/guides/product-data-quality). Six rules fix it:

1. **One target unit per attribute.** For example grams for net weight, millimeters for product dimensions, milliliters for volume.
2. **Convert with the exact factor, round once.** The factors are in the table below.
3. **Write number, space, symbol:** `410 g`. No plural s, no period.
4. **Use a point as the decimal mark in files and feeds.** Show a comma only where the reader's language uses one.
5. **Keep the original value** in a second column, so a wrong conversion can be traced.
6. **Hold a value without a unit.** "72" is not 72 cm until the supplier says so.

The unit normalizer near the top of this page does steps 2 to 5 for one column at a time.

## Why mixed units break filters, comparisons and feeds

- **Filters and sorting.** A filter "under 500 g" cannot place `14.1 oz`. Sorted as text, `85 g` comes after `430 g`.
- **Comparisons.** A jacket with a back length of `29.9 in` looks shorter than one with `74 cm`. It is about 2 cm longer.
- **Feeds.** Channels accept a short list of units per field and do not guess. Google's [product measurement page](https://support.google.com/merchants/answer/11018531) says to use the same unit for product length, width and height; its specification adds that the information is not displayed otherwise. OpenAI's [product feed schema](https://developers.openai.com/commerce/specs/file-upload/products) tells sellers to convert measurements before uploading, because units are not inferred from the market.
- **Shipping.** Google and eBay calculate carrier rates from the weight and dimensions you send. A weight in the wrong unit gives a wrong rate.

## Exact conversion factors

The factors come from Appendix B.8 of NIST's [Guide to the SI](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8). NIST prints exact factors in bold; the others are rounded to seven digits. Multiply the value by the factor.

| From | To | Multiply by | Exact? |
| --- | --- | --- | --- |
| inch (in) | millimeter (mm) | 25.4 | Exact |
| foot (ft) | meter (m) | 0.3048 | Exact |
| yard (yd) | meter (m) | 0.9144 | Exact |
| square inch | square centimeter (cm²) | 6.4516 | Exact |
| square foot | square meter (m²) | 0.09290304 | Exact |
| cubic inch | cubic centimeter (cm³) | 16.387064 | Exact |
| ounce (oz, avoirdupois) | gram (g) | 28.34952 | Rounded |
| pound (lb, avoirdupois) | kilogram (kg) | 0.45359237 | Exact |
| ounce (troy) | gram (g) | 31.10348 | Rounded |
| ton, short (2,000 lb) | kilogram (kg) | 907.1847 | Rounded |
| ton, long (2,240 lb) | kilogram (kg) | 1016.047 | Rounded |
| fluid ounce (US) | milliliter (ml) | 29.57353 | Rounded |
| pint (US liquid) | liter (l) | 0.4731765 | Rounded |
| gallon (US) | liter (l) | 3.785412 | Rounded |
| fluid ounce (UK, imperial) | milliliter (ml) | 28.41306 | Rounded |
| gallon (UK, imperial) | liter (l) | 4.54609 | Exact |

Temperature has no single factor. NIST's exact formula: subtract 32 from the degrees Fahrenheit, then divide by 1.8.

In the table NIST rounds the pound to 0.4535924 kg and the cubic inch to 16.38706 cm³; the exact values above are in its [footnotes](https://www.nist.gov/pml/special-publication-811/nist-guide-si-footnotes). The ounce has no exact entry at NIST. The UK's [Weights and Measures Act 1985](https://www.legislation.gov.uk/ukpga/1985/72/schedule/1) defines it as one sixteenth of a pound, which gives 28.349523125 g.

Two worked conversions:

```
14.1 oz x 28.34952 = 399.73 g   -> 400 g
29.9 in x 25.4     = 759.46 mm  -> 76 cm
```

## US customary and imperial are not the same

The inch, foot, yard, pound and ounce are the same in the United States and the United Kingdom. Volumes differ, and the ton has three meanings.

| Unit | US | UK (imperial) | Difference |
| --- | --- | --- | --- |
| Fluid ounce | 29.57353 ml | 28.41306 ml | The UK unit is about 4% smaller |
| Pint | 0.4731765 l (liquid pint) | 0.56826125 l | The UK unit is about 20% larger |
| Gallon | 3.785412 l | 4.54609 l | The UK unit is about 20% larger |
| Ton | 907.1847 kg (short ton) | 1016.047 kg (long ton) | The metric ton (tonne) is exactly 1,000 kg |

The US and UK columns come from NIST; the UK pint is from Schedule 1 of the Weights and Measures Act 1985, which also defines the fluid ounce as one twentieth of a pint.

What this does to a product record: a UK supplier lists a bottle with 20 fl oz. That is 20 x 28.41306 = 568 ml, one UK pint. Read as US fluid ounces, the same value becomes 591 ml, 23 ml more than the bottle holds.

Two more traps:

- **Troy ounces.** Precious metals are weighed in troy ounces of 31.10348 g, not in ounces of 28.34952 g.
- **Google reads imperial as US.** Google's [unit pricing measure page](https://support.google.com/merchants/answer/6324455) says the imperial units in that attribute are interpreted as US units, which differ from those used in the UK, and asks for metric values for products sold to the UK.

## How to write a value

These rules are from NIST's Guide to the SI, [chapter 6](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-6-rules-and-style-conventions-printing-and-using), [chapter 7](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-7-rules-and-style-conventions-expressing-values) and [chapter 10](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-10-more-printing-and-using-symbols-and-numbers).

| Rule | Write | Not | NIST section |
| --- | --- | --- | --- |
| A space between number and unit symbol | `410 g`, `30.2 °C` | `410g`, `30.2°C` | 7.2 |
| The space stays when the value is used as an adjective | `a 2 m cable` | `a 2-m cable` | 7.2 |
| Symbols do not change in the plural | `75 cm` | `75 cms` | 6.1.3 |
| No period after a symbol, unless the sentence ends | `75 cm long` | `75 cm. long` | 6.1.4 |
| Symbols, not abbreviations | `s`, `cm³` | `sec`, `cc` | 6.1.8 |
| One unit per value | `10.234 m` | `10 m 23 cm 4 mm` | 7.3 |
| Do not mix a spelled-out number with a symbol | `5 m` | `five m` | 7.6 |
| A zero before the decimal marker | `0.25 kg` | `.25 kg` | 10.5.2 |
| Groups of three digits get a thin space, never a comma | `43 279.168` | `43,279.168` | 10.5.3 |

**Decimal point or decimal comma.** Both are correct. The General Conference on Weights and Measures decided in 2003 that the decimal marker is either the point or the comma on the line, and that neither dots nor commas go between groups of digits ([Resolution 10](https://www.bipm.org/en/committees/cg/cgpm/22-2003/resolution-10)). NIST recommends the point for the United States and notes that the comma is widely used elsewhere. For product data that means: store and send `0.41 kg`, and show `0,41 kg` only on a page in a language that writes it that way. A value such as `1,250 g` is the risk: it is 1.25 g to one reader and 1250 g to the next. A four-digit number needs no separator at all.

**Liter.** NIST recommends the capital `L` in the United States. The EU directive below allows both `l` and `L`.

**Feeds have their own spelling.** Google's unit pricing attributes use codes such as `floz`, `sqm`, `cbm` and `ct`, and its example is `750ml` without a space. Keep the standard form in your own data and write each channel's form on export.

## What each channel accepts

As of November 2026, read on each channel's own page on November 23, 2026:

| Channel and field | Units | What the page adds |
| --- | --- | --- |
| Google `product_weight` | lb, oz, g, kg | 0 to 2,000, decimals allowed. The weight of the assembled product |
| Google `product_length`, `product_width`, `product_height` | cm, in | 1 to 3,000. The same unit for all of them |
| Google [`shipping_weight`](https://support.google.com/merchants/answer/6324503) | lb, oz, g, kg | 0 to 2,000 lb or 0 to 1,000 kg. Required for carrier-calculated rates |
| Google [`shipping_length`, `shipping_width`, `shipping_height`](https://support.google.com/merchants/answer/6324498) | in, cm | 1 to 150 in or 1 to 400 cm. Send all three, in the same unit |
| Google `unit_pricing_measure` | Weight: oz, lb, mg, g, kg. Volume: floz, pt, qt, gal, ml, cl, l, cbm. Length: in, ft, yd, cm, m. Area: sqft, sqm. Count: ct | A positive number with at most 2 decimals. `sheet` and `item` only in Australia and New Zealand |
| Google [`unit_pricing_base_measure`](https://support.google.com/merchants/answer/6324490) | The same units | 1, 10, 100, 2, 4 or 8 plus the unit; also 75cl, 750ml, 50kg and 1000kg. The same type of unit as the measure |
| ChatGPT product feed (OpenAI) `weight` with `item_weight_unit` | g, kg, oz, lb | Net weight without packaging. The unit field is required with the weight |
| ChatGPT product feed (OpenAI) `dimensions` | in, cm, ft, m, mm | At least two of length, width and height, one unit for all. The product, not the shipping package |
| eBay package weight (Inventory API) | POUND, OUNCE, KILOGRAM, GRAM | Needed for calculated shipping |
| eBay package dimensions (Inventory API) | FEET, INCH, METER, CENTIMETER | All fields are required once dimensions are given |

Google does not list millimeters for product or shipping dimensions, so a catalog stored in mm is exported in cm. The other attributes of both feeds are in our [Merchant Center specification reference](https://central.to/guides/google-merchant-center-product-data-specification) and the guide to the [ChatGPT Shopping product feed](https://central.to/guides/chatgpt-shopping-product-feed).

We found no public Amazon page that lists accepted units, so Amazon is not in this table.

Unit prices build on the same values. The two `unit_pricing` attributes take the content of the product and the quantity the price refers to; when a listing must show a price per kilogram or liter is covered in [unit prices online](https://central.to/regulations/unit-prices-online), the arithmetic in [how to calculate a unit price](https://central.to/guides/how-to-calculate-unit-price), and the [unit price calculator](https://central.to/tools/unit-price-calculator) returns both feed values.

## The EU rule: metric first

> [!NOTE] This section explains what the directive says; it is not legal advice. The directive is addressed to the Member States, so your national law decides.

[Council Directive 80/181/EEC](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:01980L0181-20200613) sets the legal units of measurement in the EU. The [European Commission](https://single-market-economy.ec.europa.eu/single-market/goods/building-blocks/legal-metrology/units-measurement_en) names Commission Directive (EU) 2019/1258 as its latest amendment; the consolidated text is dated June 13, 2020. It says:

- **Article 1.** The legal units that must be used for expressing quantities are those listed in Chapter I of the Annex: the SI units with their prefixes, plus named units such as the liter (symbol l or L), the tonne and the bar. Chapter II lists a few other units for specific uses, only in Member States where they were authorized on April 21, 1973.
- **Article 2.** The obligation relates to measuring instruments used, measurements made and indications of quantity expressed in units of measurement.
- **Article 3.** A supplementary indication is a quantity in another unit that accompanies the quantity in a Chapter I unit. Supplementary indications are authorized. The Chapter I unit must predominate, and the other one appears in characters no larger.

For a listing aimed at the EU, the pattern that follows the text is metric first, the other unit after it and no larger: "Back length: 76 cm (29.9 in)".

## A normalization recipe

1. **Pick a target unit per attribute.** Net weight in g, dimensions in mm, volume in ml: the unit in which most values need no decimals.
2. **Split number and unit.** `85g` becomes 85 and g. Read a decimal comma as a decimal mark.
3. **Stop at what you cannot know.** No unit, `fl oz`, `gal`, `pt` or `ton` without a country, and ounces of precious metal go back to the supplier.
4. **Convert with the factor from the table.** Convert from the original value every time, never from an earlier conversion.
5. **Round once, at the end.** A sensible rule is to keep the precision of the source: 14.1 oz has three digits, so 399.73 g becomes 400 g. Channels set their own limits: Google rounds a unit pricing measure to 2 decimals.
6. **Keep the original.** Store `14.1 oz` next to `400 g`.
7. **Check the range.** A jacket of 400 kg is a unit error.
8. **Format on export.** `400 g` in your catalog, the channel's units and codes in each feed.

The unit normalizer works on a pasted or uploaded table. You choose the column, the target unit (mm, cm, m, in, ft; mg, g, kg, oz, lb; ml, cl, dl, l, fl oz, gal), 0 to 3 decimals and the decimal mark. It adds a new column next to the original, such as `weight_g`, and exports CSV, Excel or JSON. Three things to know: it treats `fl oz` and `gal` as US units, it reads a comma between two digits as a decimal mark, and it leaves a value empty when it has no unit or a unit of another kind.

Where the units come from in the first place is a matter of the request you send: the [supplier product data template](https://central.to/guides/supplier-product-data-template) asks for number and unit in every measure, and [product data onboarding](https://central.to/guides/product-data-onboarding) shows the step in a whole file.

## Before and after

Values as a supplier of the fictional brand Northpeak might send them:

| Supplier value | Problem | Normalized | Note |
| --- | --- | --- | --- |
| `14.1 oz` | Ounces | `400 g` | 399.73 g, rounded |
| `0,41 kg` | Decimal comma, kilograms | `410 g` | |
| `85g` | No space | `85 g` | |
| `2 lbs 3 oz` | Two units in one value | `992 g` | 907.18 g + 85.05 g. Convert by hand; the tool leaves it empty |
| `29.9 in` | Inches | `76 cm` | 759.46 mm |
| `10"` | A mark as unit | `254 mm` | |
| `6.2 x 4.1 x 3.8 cm` | Three values in one cell | `62 mm`, `41 mm`, `38 mm` | Split into three columns first |
| `1.5 Ltr.` | An abbreviation | `1500 ml` | Replace `Ltr.` with `l` first |
| `16 fl oz` | US or UK not stated | Held | 473 ml if US, 455 ml if UK |
| `72` | No unit | Held | Ask the supplier |

## Common mistakes

**Converting back and forth.** Inches to centimeters and back to inches adds a rounding error each time. Keep the original and convert from it.

**The unit only in the column header.** A column named "Weight (kg)" loses its unit on the first export. Put the unit in the cell or in its own column.

**Product weight sent as shipping weight.** OpenAI asks for net weight without packaging, Google's shipping weight is the basis for the shipping cost. They are two fields with two values.

## Where Central helps

Central researches measurements such as weight, dimensions and net quantity in your own data, on the open web and in verified databases, and backs every value with sources you can check. A value the sources do not support, such as a number without a unit, is held back and not guessed. From the verified record, Central writes titles, descriptions and attributes within each channel's limits and flags texts when a fact behind them changes.

## Questions

### How many millimeters are in an inch?

Exactly 25.4. NIST marks the factor as exact, so 10 inches are 254 mm and 29.9 inches are 759.46 mm, or 76 cm rounded to whole centimeters.

### Is a US fluid ounce the same as a UK fluid ounce?

No. NIST gives 29.57353 ml for the US fluid ounce and 28.41306 ml for the UK (imperial) fluid ounce. The US gallon is 3.785412 liters, the UK gallon exactly 4.54609 liters. Ask the supplier which one is meant before you convert.

### Should there be a space between the number and the unit?

Yes, in the form you store and show: NIST's Guide to the SI writes 410 g and 30.2 °C, with a space, no plural s and no period after the symbol. Feeds can differ: Google's own example for unit pricing is 750ml without a space.

### Which units does Google Merchant Center accept for weight and dimensions?

As of November 2026, lb, oz, g and kg for product_weight and shipping_weight, and cm and in for the product and shipping dimensions. All dimensions of a product must use the same unit, and Google does not list millimeters for them.

### Do I have to use metric units when I sell in the EU?

Council Directive 80/181/EEC says the legal units that must be used for expressing quantities are those of its Annex, Chapter I, which are the SI units with a few additions such as the liter. Other units may be added as supplementary indications in characters no larger than the metric value. The directive is addressed to the Member States, so national law applies; this is not legal advice.

## Sources

1. [NIST Guide to the SI (SP 811), Appendix B.8: Factors for units listed alphabetically](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8), checked 2026-11-23
2. [NIST Guide to the SI (SP 811), footnotes](https://www.nist.gov/pml/special-publication-811/nist-guide-si-footnotes), checked 2026-11-23
3. [NIST Guide to the SI (SP 811), Chapter 6: Rules and style conventions for printing and using units](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-6-rules-and-style-conventions-printing-and-using), checked 2026-11-23
4. [NIST Guide to the SI (SP 811), Chapter 7: Rules and style conventions for expressing values of quantities](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-7-rules-and-style-conventions-expressing-values), checked 2026-11-23
5. [NIST Guide to the SI (SP 811), Chapter 10: More on printing and using symbols and numbers](https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-10-more-printing-and-using-symbols-and-numbers), checked 2026-11-23
6. [Resolution 10 of the 22nd CGPM (2003): Symbol for the decimal marker](https://www.bipm.org/en/committees/cg/cgpm/22-2003/resolution-10), checked 2026-11-23
7. [Council Directive 80/181/EEC on units of measurement, consolidated version of 13 June 2020](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:01980L0181-20200613), checked 2026-11-23
8. [Units of measurement](https://single-market-economy.ec.europa.eu/single-market/goods/building-blocks/legal-metrology/units-measurement_en), checked 2026-11-23
9. [Weights and Measures Act 1985, Schedule 1: Definitions of units of measurement](https://www.legislation.gov.uk/ukpga/1985/72/schedule/1), checked 2026-11-23
10. [Product data specification](https://support.google.com/merchants/answer/7052112), checked 2026-11-23
11. [Product length, width, height and weight attributes](https://support.google.com/merchants/answer/11018531), checked 2026-11-23
12. [Shipping weight [shipping_weight]](https://support.google.com/merchants/answer/6324503), checked 2026-11-23
13. [Shipping length, width and height](https://support.google.com/merchants/answer/6324498), checked 2026-11-23
14. [Unit pricing measure [unit_pricing_measure]](https://support.google.com/merchants/answer/6324455), checked 2026-11-23
15. [Unit pricing base measure [unit_pricing_base_measure]](https://support.google.com/merchants/answer/6324490), checked 2026-11-23
16. [Product feed schema](https://developers.openai.com/commerce/specs/file-upload/products), checked 2026-11-23
17. [Inventory API specification](https://developer.ebay.com/develop/api/spec/inventory_api.json), checked 2026-11-23

## More on this topic: Product data and files

- [Product data quality: how to measure and improve it](https://central.to/guides/product-data-quality.md)
- [Duplicate product descriptions: when they hurt and how to fix them](https://central.to/guides/duplicate-product-descriptions.md)
- [item_group_id](https://central.to/glossary/item-group-id.md)
- [PIM software compared: Akeneo, Salsify, Pimcore, Inriver, Plytix and more](https://central.to/compare/pim-software.md)
- [Product data enrichment: what it adds, where it comes from, how to check it](https://central.to/guides/product-data-enrichment.md)
- [Product data onboarding: from supplier files to a clean catalog](https://central.to/guides/product-data-onboarding.md)
- [Product data sources: manufacturers, data pools, standards and public databases](https://central.to/guides/product-data-sources.md)
- [Product variants: how to structure colors, sizes and options](https://central.to/guides/product-variants.md)
- [Shopify product CSV: columns, template and import errors](https://central.to/guides/shopify-product-csv.md)
- [Supplier product data template: the fields to ask every supplier for](https://central.to/guides/supplier-product-data-template.md)
- [WooCommerce product CSV import: columns, mapping and errors](https://central.to/guides/woocommerce-product-csv-import.md)
- [XML to CSV: how to convert a product feed, and back](https://central.to/guides/xml-to-csv-product-feed.md)
- [Product file converter](https://central.to/tools/product-file-converter.md) (Free tool)
- [Unit normalizer](https://central.to/tools/unit-normalizer.md) (Free tool)
- [Variant matrix builder](https://central.to/tools/variant-matrix-builder.md) (Free tool)
- [Duplicate description finder](https://central.to/tools/duplicate-description-finder.md) (Free tool)
- [Product page checker](https://central.to/tools/product-page-checker.md) (Free tool)

## Try Central on your own products

Central is the AI-first product content operating system: you choose the input (your shop, files or product pages) and the channels; Central AI researches, verifies and writes the product data and content in between, every value backed by sources you can check. The first 3 products are free. To start with a shop, open https://central.to/users/sign_up?onboarding_url=SHOP_ADDRESS (replace SHOP_ADDRESS with the shop's website address).
