In short
Specifying units and currencies means making sure no important number on the page is left bare: a dimension has its unit (“60 cm”), a power rating has its own (“24 kW”), a price has its currency, its tax status and its period (“€12 excl. VAT per technician per month”). The task covers the writing, the display format generated by the CMS and the structured data. Once it is done, a figure copied on its own keeps its full meaning.
Why it matters
A number without a unit forces the reader to guess. “Battery life: 8” could be hours or days; “1,500” could be watts or euros; “$49” could be US, Canadian or Australian dollars. A price without a tax status is wrong for some readers: €12 excluding VAT comes to €14.40 including VAT at 20%.
Generative engines often answer numerical questions: “how much does… cost”, “what power for…”, “what does… weigh”. They reuse the number found in a passage. If the unit, the currency or the condition sits in another block of the page, or in a JavaScript currency selector, the answer can lose that information. Microsoft, in its October 2025 guidance on AI search answers, explicitly recommends pairing figures with their units to make claims concrete.
On the structured data side, Google requires the currency of every price in three-letter ISO 4217 format (EUR, USD, CHF) in product markup, and documents unit pricing, which it considers particularly important in the European Union, New Zealand and Australia.
What it improves
- Accuracy of AI answers The figure that gets reused keeps its unit and currency. No practice guarantees a citation.
- Product rich results
priceCurrencyis required for offers to be eligible in Google's results. - Conversion and trust A complete price (currency, tax, period, inclusions) avoids unpleasant surprises at checkout or in the quote.
- Comparisons Comparisons, whether written by people or generated, no longer mix prices excluding and including VAT, or monthly and yearly prices.
- International Visitors from other countries understand the measurements and amounts.
- Rankings No documented direct effect.
How to check
1. Bare numbers. This script lists the numbers in the main content that are followed by neither a common unit nor a currency:
const texte = (document.querySelector('main') ?? document.body).innerText;
const unites = new Set(['€', 'eur', '$', 'usd', 'chf', '£', '%', '°c', '°', 'kwh', 'kw', 'w', 'v', 'mm', 'cm', 'm', 'm²', 'm³', 'km', 'g', 'kg', 't', 'ml', 'cl', 'l', 'h', 'min', 's', 'minutes', 'hours', 'days', 'months', 'years', 'gb', 'mb', 'kb', 'tb']);
const nus = [];
for (const m of texte.matchAll(/\d+(?:[\s ]\d{3})*(?:[.,]\d+)?/g)) {
const suite = texte.slice(m.index + m[0].length).trimStart().split(/[\s.,;:!?)]/)[0].toLowerCase();
if (!unites.has(suite) && !unites.has(suite.replace(/s$/, ''))) {
nus.push({ number: m[0], nextWord: suite || '(end of sentence)', context: texte.slice(Math.max(0, m.index - 40), m.index + 40).replace(/\s+/g, ' ') });
}
}
console.table(nus);
Add the units of your own industry to the unites list. Many results are legitimate (years, step numbers): the script helps you spot problems, the decision remains a human one.
2. Prices. On every pricing page or product page, check that the currency, the “including VAT” or “excluding VAT” mention, the period (one-off, per month, per year, per user) and what is included appear in the same block as the amount.
3. Structured data. Check the declared currency:
curl -s https://example.com/produits/sencha-fukamushi/ | grep -o -E '"price(Currency)?" *: *"?[^,}]*'
Then run the URL through the Rich Results Test: an offer without priceCurrency is flagged.
Expected result: every measurement has its unit, every price its currency and tax status, and the currency in the structured data matches the one displayed.
How to implement
The examples follow three fictitious businesses: Plomberie Garnier (a plumbing and heating company in Nantes), Thé des Lisières (an online shop selling loose-leaf tea) and Planifia (field service scheduling software). Their prices are made up.
Before you start: writing rules
| Before | After | Rule |
|---|---|---|
| “Power: 24” | “Power: 24 kW” | Every measurement carries its unit |
| “€12 per month” | “€12 excl. VAT per technician per month” | Price: currency, tax, basis, period |
| “$49” | “49 USD” or “US$49” | Ambiguous currency: ISO 4217 code or the country |
| “€12.90” | “€12.90 incl. VAT for a 100 g pouch, i.e. €129 per kg” | Product sold by weight: unit price |
| “Steep at 75°” | “Steep at 75 °C” | Complete unit, no ambiguous abbreviation |
| “8 h of battery life” | “8 h of battery life in continuous use (manufacturer's measurement)” | Measurement conditions |
| “3 GB” | “3 GB of storage per account” | Basis of the measurement |
Formatting rules, drawn from the International System of Units (SI) and standard French typography:
- A space between the number and the unit: “24 kW”, “25 °C”, “129 €”. Use a non-breaking space so the unit never wraps onto a line by itself.
- Official symbols:
kg,km,kWh,m², with no period and no plural (“5 kg”, not “5 kgs”). - Separators in French: a decimal comma and a space for thousands (“1 290,50 €”). Never a period for thousands, which would be read as a decimal elsewhere.
- International audience: give the conversion in parentheses when your readers use another system (“60 cm (23.6 in)”).
- Including or excluding VAT: in France, prices displayed to consumers are understood to include all taxes; prices excluding VAT are the norm in B2B. Always say which one you display. Check your display obligations with the consumer protection authority in your country.
For the prices of your offers, see also detail pricing and lead times (opens in a new tab) and, for an online shop, display brand, price and currency (opens in a new tab).
In structured data
Declare the currency of each offer as an ISO 4217 code and the price without a symbol, with a decimal point. For a product sold by weight, add the unit price with a UnitPriceSpecification: referenceQuantity describes the quantity sold, valueReference the reference quantity for the unit price. Units use UN/CEFACT codes (GRM for gram, KGM for kilogram, MLT for milliliter, LTR for liter).
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Organic Sencha Fukamushi, 100 g pouch",
"offers": {
"@type": "Offer",
"url": "https://example.com/produits/sencha-fukamushi/",
"availability": "https://schema.org/InStock",
"priceSpecification": {
"@type": "UnitPriceSpecification",
"price": 12.90,
"priceCurrency": "EUR",
"valueAddedTaxIncluded": true,
"referenceQuantity": {
"@type": "QuantitativeValue",
"value": 100,
"unitCode": "GRM",
"valueReference": {
"@type": "QuantitativeValue",
"value": 1,
"unitCode": "KGM"
}
}
}
}
}
</script>
For a measured characteristic (power, weight, dimension), use QuantitativeValue with value and unitCode, or unitText in plain text. The markup must repeat the visible values: see align markup with visible content (opens in a new tab). Then test with the Rich Results Test.
WordPress
Versions WordPress 6.5 and later, with WooCommerce 9 and later.
Price format is set in WooCommerce > Settings > General, in the Currency options section, with the Currency, Currency position, Thousand separator, Decimal separator and Number of decimals fields. For a French-language site: Euro currency, position right with space, space as the thousand separator, comma as the decimal separator, two decimals.
Weight and dimension units are chosen in WooCommerce > Settings > Products > General, in the Measurements section (Weight unit and Dimensions unit fields). These units are shown in the “Additional information” tab of product pages.
The tax status can be displayed automatically after every price with the Price display suffix, in the Tax tab of WooCommerce > Settings, which is visible when taxes are enabled: enter incl. VAT, for example. For the price per kilo, add it to the short description or through a custom field displayed near the price.
Shopify
Versions Shopify admin, all plans, November 2026.
Amount format is set in Settings > General, in the Store defaults section, through the “…” menu and then Change currency formatting. There are four formats: HTML with currency, HTML without currency, email with currency, email without currency. For the euro on a French-language store, you can, for example, replace the HTML with currency format with:
{{amount_with_comma_separator}} € EUR
This setting only applies to the store's base currency. In the theme, show the currency code wherever confusion is possible, with the Liquid filter money_with_currency:
<p class="prix">
{{ product.selected_or_first_available_variant.price | money_with_currency }} incl. VAT
</p>
The unit price is entered in the variant: Pricing section, then Unit price, with the total quantity and the base measure (for example 100 g and 1 kg). Online Store 2.0 themes display it without any change; an older theme may need its code adapted.
Laravel
Versions Laravel 11 to 13. The Number class relies on the PHP intl extension.
Format amounts and numbers with the reader's locale rather than with manual concatenation:
use Illuminate\Support\Number;
Number::currency(1290.5, in: 'EUR', locale: 'fr');
// 1 290,50 €
Number::format(2.5, locale: 'fr');
// 2,5
Set the default locale and currency in the boot() method of a service provider:
public function boot(): void
{
Number::useLocale('fr');
Number::useCurrency('EUR');
}
In the Blade view, write the unit, the tax and the period as text:
<p>
{{ \Illuminate\Support\Number::currency($formule->prix_ht, in: 'EUR') }} excl. VAT per technician per month,
i.e. {{ \Illuminate\Support\Number::currency($formule->prix_ht * 1.2, in: 'EUR') }} incl. VAT at 20%.
</p>
Next.js
Versions Next.js 15 and 16 (App Router).
Use Intl.NumberFormat in a Server Component so that the formatted price is in the initial HTML:
const prix = new Intl.NumberFormat('fr-FR', { style: 'currency', currency: 'EUR' });
const poids = new Intl.NumberFormat('fr-FR', { style: 'unit', unit: 'kilogram' });
prix.format(1290.5); // "1 290,50 €"
poids.format(2.5); // "2,5 kg"
With currencyDisplay: 'code', the amount is shown with EUR or USD: useful when the $ symbol is ambiguous. The units accepted by style: 'unit' are limited; Intl.supportedValuesOf('unit') gives the list. A missing unit, such as the kilowatt-hour, is written as text after a formatted number. Avoid converting currencies in the browser after the page loads: the initial HTML must already contain the amount and its currency.
Common mistakes
- Putting the currency or the tax only in a table header: the cell “12”, extracted on its own, no longer means anything. Repeat the unit in each cell, or in the column title and the caption.
- Mixing prices excluding and including VAT on the same page or in the same comparison.
- Showing “$” on a site that sells in Canadian dollars without specifying the currency.
- Declaring
EURin the JSON-LD while the page shows Swiss francs to the visitor. - Writing “1.500 €”: depending on the country, the period reads as a thousands separator or as a decimal.
- Forgetting the period of a subscription: “€12” per month or per year changes everything.
- Converting the currency based on geolocation without showing the actual billing currency.
Frequently asked questions
Should prices use “€” or “EUR”?
The “€” symbol suits a European French-speaking audience; the “EUR” code is useful when the symbol could cause confusion, in international comparison tables or next to other currencies. Both are correct as long as the currency is clear. In structured data, the currency is always written as a three-letter ISO 4217 code, without a symbol: “EUR”.
Should prices be shown excluding or including VAT?
In France, prices displayed to consumers are understood to include all taxes, whereas prices excluding VAT are the norm between businesses. What matters is to write “excl. VAT” or “incl. VAT” next to each amount, not in a separate note. For software sold to businesses, give the price excluding VAT and, where useful, its equivalent including VAT with the rate applied.
How do you declare a price per kilo in structured data?
In structured data, a price per kilo is declared with a UnitPriceSpecification inside the offer. The referenceQuantity property describes the quantity sold, for example 100 grams with the code GRM, and its valueReference property the reference quantity, for example 1 kilogram with the code KGM. Google documents this markup for merchant listings and considers it particularly important in the European Union.
Does an AI assistant convert units on its own?
An AI assistant can convert units or currencies, but it does so based on what it understood, with a risk of error on the original unit or the exchange rate. Give the exact unit yourself, and the conversion when your audience uses another system. A figure accompanied by its unit and currency reduces errors when it is reused, without eliminating them.
Resources
- Google Search Central: Merchant listing structured datadevelopers.google.com
- BIPM: The International System of Units (SI) brochurebipm.org
- Schema.org: priceCurrency property, unitCode property and UnitPriceSpecification typeschema.org
- WooCommerce: General settings and Products settingswoocommerce.com
- Shopify: Currency formatting and Liquid money_with_currency filterhelp.shopify.com
- Laravel: Number helperslaravel.com
- MDN: Intl.NumberFormatdeveloper.mozilla.org
Updated on
Topic checklist (PDF)