A procurement manager in Germany opens your pump listing and sees "Weight: 12 lb". She forwards the page to an engineer who asks for the figure in kilograms. Until someone works out that 12 lb is about 5.44 kg, the page offers no metric value at all. (Hypothetical example) That small friction makes a buyer wonder how carefully the rest of the specification was prepared. This article expands the measurements section of our B2B product pages guide: how to present metric and imperial units on the same page accurately, consistently and in a way that can be scanned, covering conversion errors, rounding, table layout, unit selectors and the data structure behind them.
Key Takeaways
- Keep one canonical source for each measurement, usually the SI value, and derive the imperial display from it.
- Convert with defined constants: 1 inch is exactly 25.4 mm, so never use a rounded approximation.
- Define one rounding policy for the whole site so that displayed and calculated values never contradict each other.
- On most B2B pages, showing both units side by side causes fewer errors than a unit selector and needs no extra click from the buyer.
- Label units clearly in both visible text and data structure, and let search and filters run on a single numeric field.
Why does one page need two unit systems?
Most goods shipped from Turkey are designed and manufactured in metric units. But the buyer's specification, field equipment or purchase form may be written in inches, feet, pounds and gallons. Pumps, fittings, pipe, building products and packaging for North American buyers often carry this double structure. The goal is not to declare one system correct and bury the other in a footnote; it is to let the buyer find the unit they decide in within seconds.
In practice, two readers look at the same page. The engineer wants tolerances, dimensions and material values. The buyer wants packed weight, capacity and commercial context. Both want to see their own unit first. A measurement written in only one unit often means a lost reader, especially on B2B pages where the specification is forwarded between departments.
One distinction is worth keeping in mind: language and unit preference are not the same decision. Whether to show imperial values prominently should depend on the markets your buyers operate in, which you can judge from competitor pages, RFQ forms and buyer correspondence. Country-specific legal or trade labelling requirements are outside the scope of this article and should be confirmed with specialists in the target market.
Conversion errors: keep one source of truth
Most conversion errors come from the same value being typed twice in two places. A part recorded as 2.5 inches in the product system, then retyped as "6 cm" in the description text, creates a gap. (Hypothetical example) 2.5 inches is exactly 63.5 mm; 6 cm is 60 mm. The written value looks plausible, yet it does not match the part, and the mismatch surfaces at quotation or on site.
Store the canonical value, derive the imperial one
Store each measurement once in a canonical unit, usually SI (mm, kg, L). Generate the imperial display value from that stored number when the page is rendered. Two hand-typed values drift apart over time; a derived value cannot drift.
Use exact conversion constants
The constants below are defined exactly or derived directly from SI definitions, so each one can be checked independently. Keep them in a single shared module instead of scattering factors through templates.
| Unit | Metric equivalent | Note |
|---|---|---|
| 1 inch | 25.4 mm | Exact by definition |
| 1 foot (12 inches) | 0.3048 m | Exact by definition |
| 1 yard (3 feet) | 0.9144 m | Exact by definition |
| 1 pound (lb) | 0.45359237 kg | Exact by definition |
| 1 ounce (oz, avoirdupois) | 28.349523125 g | 1/16 lb |
| 1 US gallon | 3.785411784 L | Exact by definition |
| 1 US fluid ounce (fl oz) | 29.5735295625 mL | 1/128 US gallon |
| 1 psi | 6894.757293168 Pa | lbf/in2; the lbf is derived from the SI definition |
| Fahrenheit (°F) | °C × 9/5 + 32 | Temperature needs an offset; a factor alone is not enough |
Watch the temperature row: 0 °C equals 32 °F, so multiplying alone gives the wrong answer. Write a dedicated function that applies both the scale and the offset, and never reuse the length multiplier for temperature.
Rounding: displayed and calculated values must agree
Rounding is one of the fastest ways to lose a buyer's trust. 12 lb can be shown as 5.443 kg; rounded to "5 kg" it leads a reader comparing with a competitor's 5 kg product to the wrong conclusion. Define one rounding policy for the whole site and apply it consistently across product types.
- Set precision by product type. Mechanical parts with tolerances may need 0.01 mm or 0.001 in; general packing weight may only need whole units.
- Apply the same precision logic in both systems. 1/8 inch is 3.175 mm. If millimetres show three decimals, inches should show a comparable three-decimal figure (0.125 in), not two decimals in one unit and six in the other.
- Show fractional inches as decimals too. A 3/16 inch dimension should read 3/16 in (0.1875 in), so buyers searching either form find it.
- State the rounding in a short note. "Values rounded to the nearest 0.1 mm" answers many dimension questions before they are asked.
Rounding errors compound in chained calculations. Keep the high-precision number in the data and round only at display time. Re-computing from an already rounded figure enlarges the error at every step.
Table layout: how to arrange both units
The specification table is where two unit systems most often collide. The reader should find their unit in a column within seconds. The table below compares three layouts. For the wider question of specification structure, see our guide to writing a technical specification table.
| Layout | Advantage | Drawback |
|---|---|---|
| Two separate columns (mm | in) | Fast to scan, easy to compare | Needs horizontal scrolling on narrow screens |
| One column, second unit in brackets: 63.5 mm (2.5 in) | Looks clean on narrow screens | The bracketed value is easy to overlook |
| Stacked rows: metric first, imperial below | Both values readable on mobile | The table gets longer |
On desktop, two columns is the clearest arrangement. On narrow screens, split each row into two stacked lines and keep the unit label visible in both. Put the unit in every column header: "Diameter (mm)" and "Diameter (in)" are safer than "Diameter" with the unit hidden in the cell. If variants also differ by size, colour or material, the approach in our product variants article applies to unit display as well.
Unit selectors: when they help and when they hurt
A dropdown or toggle that switches between millimetres and inches looks like a simplification. It carries three risks. A buyer who never touches the toggle never sees the second value. Without proper labelling, screen reader users do not hear that the displayed values have changed. And if values are generated only after a click, crawlers and some tools may never see them.
If you use a selector
- Render both values in the server-side HTML. The selector should only change visibility, never create the values.
- Build the selector as a radio group or as buttons with
aria-pressed, and announce the change to assistive technology. - Pick the default from the page's language and target market, and remember the buyer's choice in local storage only as a convenience.
What works better for most B2B pages
For most product pages the simplest solution is to show both values side by side. No extra click is needed, a printed page keeps both units, and a screenshot forwarded to a technical team cannot lead to the wrong unit by accident. Reserve the selector for pages with dozens of dimensions where two columns no longer fit.
Search and data structure: keeping unit labels honest
Site search must understand the unit a buyer types. "1/2 in", "12 lb" and "5 kg" may point to different products, or to the same product written in different systems. Store measurements as structured fields rather than free text.
Value, canonical unit, display unit and precision in separate fields
For each measurement keep four pieces of information: the numeric value, the canonical unit (mm, kg, L), the display unit and the display precision. When filtering and sorting run on one numeric field, "2.5 in" and "63.5 mm" resolve to the same product and results stay consistent. Converting the unit in the search query to the canonical unit before matching is more reliable than matching text strings.
Structured data and unit codes
On schema.org, measurements are described with QuantitativeValue, and the unit is given in the unitCode field. Those codes come from UN/CEFACT Recommendation 20: for example INH for inch, LBR for pound, MTR for metre and KGM for kilogram. Confirm codes against the schema.org and UN/CEFACT documentation before publishing, because a wrong code makes the markup misleading.
Pre-publication test: verifying both units
Reading a checklist once is not enough; the page has to be tested the way a buyer would use it. A simple team practice is three independent checks per product. The person checking should not be the one who wrote the page, so that the source values and the rendered text are compared rather than trusted.
- Source check. Take the canonical value from the database, calculate the other unit with the constant, and compare it with what the page shows. A difference outside your rounding policy is an error.
- Page check. Open the product on desktop and at a narrow mobile width. Note whether both values are visible, whether column headers carry the unit, and whether the table needs horizontal scrolling.
- Search check. Search for the product with a metric query and with an imperial query. Does it appear for both? If the ranking swings widely, the unit mapping is not working.
Consider a hypothetical case. An equipment maker with a 40-product catalogue has descriptions written by one team and the technical table filled in by another, using different sources. (Hypothetical example) During the source check, one product shows 2.5 in on one page and 6 cm on another. Nobody had read the two pages side by side, and the test caught the gap. The fix was to derive both pages from one record and bind the description text to the template. The scenario is illustrative only and does not describe a real company.
Implementation checklist
- Does every measurement have one canonical value and unit record?
- Are imperial values derived from the canonical value, or typed by hand?
- Does conversion use defined constants, with no shortcuts such as "about 2.54"?
- Is the rounding rule one policy across the site, applied consistently by product type?
- Do tables label both units, and are they readable on mobile?
- If a unit selector exists, are both values in the HTML and are the controls accessible?
- Do search and filters work regardless of the unit used in the query?
- Have the relevant points from the market-specific content checklist been covered for measurements and packaging data?
Conclusion and next step
Showing metric and imperial units on one product page is a matter of data discipline, not translation. One canonical source, exact conversion constants, consistent rounding, a table layout that reads at a glance in both units and a unit-labelled data structure together give the buyer the same confidence whichever unit they think in. As a next step, pick five product pages from your catalogue and run the checks above. For the broader structure of the product page, our product detail page SEO template is a useful companion.
If you want a team to review how units behave across your whole catalogue, you can contact the DeltaWeb team.




No comments yet
Leave a Comment