Skip to content
All posts

Product dimensions and weight for ecommerce: one unit per column, and what each channel accepts

A supplier’s weight column holds 2.5kg, 2500 g, 2,5 KG, 5.5 lb and approx 2.5, and every channel you sell through reads them differently. Google wants a number and a unit in the cell, Shopify wants whole grams and no unit, and WooCommerce wants a bare number in whatever unit the store is set to. Here is what each accepts, why supplier measurements fail, and how to convert a whole catalogue to one unit per column.

Before2.5kg2500 g2,5 KG
After2.5 kg
Weight

Have a supplier file like this? Send it exactly as it arrived and see the same products before and after.

One weight, five spellings

Open a supplier’s spreadsheet at the Weight column and read down it. The first kettle is “2.5kg”. The next is “2500 g”, then “2,5 KG”, then “5.5 lb”, then “approx 2.5” with no unit at all. Five kettles of about the same weight, written five ways.

Product dimensions and weight in ecommerce data need one number per cell and one unit per column, with the unit named in the header and accepted by the channel the data is going to. Google Merchant Center, Shopify and WooCommerce each want that in a different form, and a supplier file rarely arrives in any of them.

Left as it came, the column fails quietly. With units in the cells, a sort by weight is a text sort, and it puts “12 kg” before “2.5kg”. A clean-up that strips commas turns “2,5” into 25. A store set to kilograms that imports “2500” records a kettle of two and a half tonnes.

Spelling variants and “N/A” entries are covered in normalising attribute values. Measurements have rules of their own.

What each channel accepts

Google has two sets of measurement attributes: one describes the product, the other is used to work out delivery costs. Product length, width and height take cm or in, from 1 to 3,000, and product weight takes lb, oz, g or kg, from 0 to 2,000, with decimals supported in every unit.2 Delivery weight, the shipping_weight attribute, takes the same four units, from 0 to 2,000 lb or 0 to 1,000 kg.1 Delivery length, width and height take cm or inch, from 1 to 400 cm or 1 to 150 inches.3

Two of Google’s rules are easy to break with supplier data. Product dimensions must share one unit, or “the information won’t be displayed”.2 Delivery dimensions are all or nothing, “Include all dimension attributes if you include any of them”, and Google lists that among the minimum requirements it enforces by disapproving the product.3 Over the weight limit, its instruction is to “use the delivery label [shipping_label] attribute instead to configure delivery rates”.1

Shopify’s product CSV wants the weight as a bare number of grams, “without the unit of measurement or decimals”: its examples are 5.125 kilograms entered as 5125, and 4 pounds as 1814.9 A separate column, Weight unit for display, sets the unit shown on the store.9 Packed product length, width and height take cm or in from a fourth column, and the four are filled or left blank together, or the product is not imported.9

WooCommerce keeps the unit out of the file altogether. Under WooCommerce > Settings > Products, the store has one weight unit and one dimensions unit, each chosen from a drop-down.10 The CSV importer’s weight and dimension columns carry the note “Parse only numbers”.11 Nothing in a cell says which unit it is in, so a supplier’s grams imported into a store set to kilograms read as a thousand times the real weight.

FieldGoogle Merchant CenterShopify product CSVWooCommerce
Product weightlb, oz, g or kg; 0 to 2,000 whatever the unitWhole grams, no unit, no decimalsNumber only, in the store’s weight unit
Delivery weightlb, oz, g or kg; 0 to 2,000 lb or 0 to 1,000 kgThe same grams columnThe same weight field
Product dimensionscm or in; 1 to 3,000; one unit for all threeA custom dimension metafield, unit in the cell: 25.0cmNumber only, in the store’s dimensions unit
Delivery dimensionscm or inch; 1 to 400 cm or 1 to 150 inch; one unit, all three or nonePacked size, cm or in from a fourth column; all four or noneThe same dimension fields
Where the unit goesIn the cell: 3 kgFixed as grams; a unit column for packed sizeThe store’s settings
What each platform accepts for weight and dimensions, from Google’s attribute pages213, Shopify’s CSV page9 and WooCommerce’s settings and importer documentation1011, all read on 30 September 2026.

Why supplier measurements fail

Supplier measurements fail in five recognisable ways.

  • The unit is in the cell, missing or misspelt. “2.5kg” carries its unit, “2500” does not, and “approx 2.5” carries a hedge instead. “KG”, “Kgs” and “kilo” all mean kilogram, and none is its symbol: the SI conventions NPL publishes keep kg in lower case, say that “Unit symbols are unaltered in the plural”, and ask for a space, “25 kg, but not 25-kg or 25kg”.12
  • The decimal marker is a comma. “2,5 KG” uses the decimal comma, which the SI allows alongside the point.12 “2,500” is worse: two and a half to one supplier, two and a half thousand to another.
  • Two systems in one column. “5.5 lb” among kilograms, or “5 lb 8 oz” in one cell. The arithmetic is exact, because Schedule 1 to the Weights and Measures Act 1985 defines the pound as 0.453 592 37 kilogram and the ounce as 1/16 pound.14 The hard part is spotting the rows.
  • Compound cells in an unknown order. “30 x 20 x 10 cm”, “300x200x100mm”, “H10 W20 D30”: three numbers, a unit at the end if any, and nothing to say which is the height. The millimetres need converting too, since Google’s dimension attributes take only centimetres and inches.23
  • The carton measured instead of the product. A logistics team measures the box, a marketing team the product, and both call the column Dimensions. Google keeps the two apart, with separate attributes for delivery.2

The same rows, before and after

Here are a supplier’s Weight and Dimensions columns for seven kitchen products as they arrived, and the same rows converted to kilograms and centimetres, one measurement per column.

SKUWeight sentWeight (kg)Dimensions sentLength (cm)Width (cm)Height (cm)
KT-1002.5kg2.530 x 20 x 10 cm302010
KT-1012500 g2.5300x200x100mm302010
KT-1022,5 KG2.5H10 W20 D30 cm302010
KT-1035.5 lb2.4912 x 8 x 4 in30.4820.3210.16
KT-1045 lb 8 oz2.4912 x 8 in30.4820.32Missing
KT-105approx 2.5No unit35 x 25 x 15 cm (boxed)352515
KT-106blankblankblankblankblankblank
Seven supplier rows before and after conversion. Bold is the value after conversion, amber a value that needs a decision, grey a value the supplier never sent. Imperial weights are rounded here to two decimal places: 5.5 lb is 2.494758035 kg, from the pound’s definition as 0.453 592 37 kg.14

The three metric rows collapse to one set of values, so a filter or a sort treats them as the same. The inch rows convert exactly: 12 inches is 30.48 cm by definition.14 KT-104 sent two dimensions for three columns, and KT-105 needs a person twice over: “approx” is a hedge rather than a unit, and its dimensions are the box’s.

The blank stays blank. Shopify records 0 for a weight that is not entered, and asks for accurate weights wherever carrier-calculated shipping is used.9 A blank you can see is a gap to fill; a zero looks like an answer.

How to convert product units in a spreadsheet

Conversion is nine steps, and each depends on the one before.

  1. Keep the supplier’s column. Work on a copy, so every converted value traces back to the cell it came from.
  2. Split the number from the unit. One column for the number, one for whatever followed it: the second is your list of what needs converting.
  3. Fix the decimal marker. Before any arithmetic, replace a comma between digits with a point, in the measurement columns only. A comma before exactly three digits needs the supplier’s other rows to settle it.
  4. Map every unit spelling to one symbol. kg, g, lb and oz for weight; cm, mm and in for length; lower case, never plural.12
  5. Choose one target unit per column, and name it in the header. “Weight (kg)”, not “Weight”. For a UK catalogue that means kilograms and centimetres, as the section on the UK explains.
  6. Convert with exact factors, into a new column. Pounds times 0.45359237 give kilograms, and ounces divided by 16 give pounds. Inches times 2.54 give centimetres, because the Weights and Measures Act 1985 defines the yard as 0.9144 metre and the inch as 1/36 yard.14 Divide grams by 1,000 and millimetres by 10.
  7. Round last, once per destination. Keep the full result and round on the way out. 5.5 lb is 2.494758035 kg, which Shopify’s whole grams make 2495; round to 2.49 kg first and Shopify receives 2490.9 For Google’s delivery weight, send whole grams: its attribute page supports decimals, with “1.25 kg” as its example, but its page on weights that are too high says “Decimal values (such as 20.25) are not accepted”.14
  8. Range-check the result. Sort each converted column and read both ends. A 2,500 kg kettle is grams read as kilograms, and Google reports a delivery weight over 1,000 kg or 2,000 lb as too high.4 A 300 cm kettle is millimetres read as centimetres, yet well inside Google’s product dimension limit of 3,000: only the sort will catch it.2
  9. Write the unit in the form each channel wants. Google gives product weight one range, 0 to 2,000, whatever the unit, so a 2.5 kg kettle goes as “2.5 kg” rather than “2500 g”; its delivery weight goes as “2500 g”.21 Shopify gets “2500” in its grams column, and WooCommerce the bare number.910

Which dimension is which, and whose measurement it is

One supplier writes L × W × H, another H × W × D, and a wardrobe at 200 × 60 × 50 is a different object from one at 50 × 60 × 200. Only the column header can fix the order, so a compound cell becomes three columns, not a tidier compound cell.

Google and schema.org do not even share a name for the first of the three. schema.org’s Product has depth, width, height and weight, and no length property at all.15 Google’s page notes that “schema.org property Product.depth maps on attribute product_length”.2

A written convention is enough if every row follows it: length is the longer horizontal side, width the shorter, height the vertical as the product stands in use, and a supplier’s depth is your length. For weight, Google asks for the assembled product, and for a bundle “the complete weight of all of the pieces in the listing”.2

Unit pricing, and metric for the UK

Google’s unit pricing measure states how much a product contains, measured “without packaging”, and its base measure the amount the price is shown per.586 Certain products advertised in the EU and EFTA countries, the UK, Australia and New Zealand “must be displayed with the unit price based on local regulations and therefore require this attribute”, including products sold by weight, volume, length or area.5 The base measure is a whole number plus unit: 1, 10, 100, 2, 4 or 8, or one of four metric combinations, 75cl, 750ml, 50kg and 1000kg.6 Without one, Merchant Center reports “Missing product measurement”.7

For the UK, Google’s instruction is plain: “Submit metric values if you sell products to the UK”, because imperial units such as fl oz, pt, qt and gal “are interpreted as US imperial units, which are different from the imperial units used in the UK”.5 GOV.UK’s guidance points the same way for the goods themselves: “You must use metric measurements (grams, kilograms, millilitres or litres) when selling packaged or loose goods in England, Scotland or Wales.”13 An imperial figure may sit alongside but “cannot stand out more than the metric measurement”, and Northern Ireland has different rules.13

Metric first, with imperial at most as a second figure, is the safe default for every measurement column in a UK catalogue.

What to do next

Converting every measure to one unit is one of the specification steps in RefynData’s product data enrichment service. Compound cells are split, each weight and dimension is converted to the catalogue’s unit, and the review cross-checks numbers against their category, which is where a 2,500 kg kettle gets flagged. Every value keeps a link to its source, so “approx 2.5” can be checked against the product page rather than trusted. Measurements are one part of what product data enrichment covers.

Start with the headers: decide each measurement column’s unit, write it in, and move every unit out of the cells. Convert the heaviest and largest products first, since Google’s limits and delivery costs bite hardest there. Keep the supplier’s column beside the converted one, and finish before the file is built, because a weight imported in the wrong unit reaches every channel the store feeds. One unit per column is also a line in the product data quality checklist, and the easiest to test.

Questions

What units does Google Shopping accept for shipping weight?

Google’s delivery weight attribute, shipping_weight, takes lb, oz, g or kg after the number, as in 3 kg, up to 2,000 lb or 1,000 kg. Google’s own pages disagree about decimals, so whole grams are safest. For a heavier product, Google says to use the delivery label attribute to configure delivery rates.

What weight unit does Shopify use for products?

Shopify’s product CSV takes weight as a whole number of grams, with no unit and no decimals: 5.125 kg is entered as 5125 and 4 lb as 1814. A separate column, Weight unit for display, sets whether the store shows g, kg, lb or oz. A weight left blank defaults to 0.

Should product dimensions be written as length by width by height?

Yes, in three columns rather than one cell, with the unit in each header. Nothing in 30 x 20 x 10 says which number is the height, and suppliers write both L × W × H and H × W × D. Google maps schema.org’s depth to its product length, so treat depth as length.

What is the difference between product dimensions and shipping dimensions?

Product dimensions describe the item you sell; shipping dimensions describe the parcel it travels in. Google has separate attributes for each, and Shopify’s standard CSV columns hold only the packed size. A supplier column called Dimensions can be either, so find out which before you map it.

Should a UK store use metric or imperial units?

Metric. GOV.UK’s guidance is that you must use metric measurements when selling packaged or loose goods in England, Scotland or Wales, with any imperial figure no more prominent; Northern Ireland has different rules. Google asks for metric unit pricing values for the UK, as it reads imperial units such as fl oz as US measures.

How do I convert product units in a spreadsheet?

Split the number from the unit, fix decimal commas and map every unit spelling to one symbol. Then convert into a new column with exact factors: pounds times 0.45359237 for kilograms, inches times 2.54 for centimetres. Round only on export, to what each destination needs, and keep the supplier’s column so every value can be traced.

Sources

  1. Google Merchant Center Help. Delivery weight [shipping_weight]. Read .
  2. Google Merchant Center Help. Product length [product_length], product width [product_width], product height [product_height], product weight [product_weight]. Read .
  3. Google Merchant Center Help. Delivery length [shipping_length], delivery width [shipping_width], delivery height [shipping_height]. Read .
  4. Google Merchant Center Help. How to fix: Delivery weight value too high. Read .
  5. Google Merchant Center Help. Unit pricing measure [unit_pricing_measure]. Read .
  6. Google Merchant Center Help. Unit pricing base measure [unit_pricing_base_measure]. Read .
  7. Google Merchant Center Help. How to fix: Missing product measurement. Read .
  8. Google Merchant Center Help. Product data specification. Read .
  9. Shopify Help Center. Using CSV files to import and export products. Read .
  10. WooCommerce documentation. Products Settings. Read .
  11. WooCommerce documentation. Product CSV Importer and Exporter. Read .
  12. NPL (National Physical Laboratory). SI units. Read .
  13. GOV.UK. Weights and measures: the law: Units of measurement. Read .
  14. legislation.gov.uk. Weights and Measures Act 1985, Schedule 1: Definitions of Units of Measurement. Read .
  15. schema.org. Product. Read .
  16. Microsoft Support. Stop automatically changing numbers to dates. Read .

Try it on a fileyour supplier sent

Nothing goes live without your sign-offEvery value keeps its sourceYour data is never shared

Send one supplier spreadsheet exactly as it arrived. We will show you the same products before and after, with a source on every value we add.

One email with the upload link. Nothing else lands in your inbox.