Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

QuantitativeValue: Units, Ranges, and Physical Dimension Properties

How Schema.org expresses measurements with QuantitativeValue, unitCode, Distance strings, ranges, and common dimension and vehicle properties.

This page summarizes Schema.org documentation on numeric and physical characteristics: the QuantitativeValue type, related quantity types, and widely used properties such as height, width, weight, and vehicle measurements. Publishers use these fields when product pages, vehicles, media, lodging, or offers need machine-readable sizes, capacities, or limits—not only human-readable text.

QuantitativeValue: point values, intervals, and structured measurements

Section titled “QuantitativeValue: point values, intervals, and structured measurements”

QuantitativeValue is the main structured way to express a single number, a bounded range, or a measured characteristic with units.

A point value or interval for product characteristics and other purposes.

— Schema.org, QuantitativeValue

Typical members on a QuantitativeValue node:

Property Role
value The main number (or text/boolean where the type allows). For QuantitativeValue and MonetaryAmount, the recommended type for values is Number.
minValue / maxValue Lower and upper bounds when the characteristic is a range (for example adjustable belt sizes or a vehicle speed range).
unitCode Unit via UN/CEFACT Common Code (three characters) or a URL; non-standard codes may use a prefix and colon.
unitText Human-readable unit when there is no suitable unitCode.
valueReference Extra context for the primary value (test conditions, reference speeds, qualitative detail).

Schema.org asks publishers to use ASCII digits 0–9 and . as the decimal separator—not comma thousands separators inside the structured number fields.

When to use QuantitativeValue instead of a plain property

Section titled “When to use QuantitativeValue instead of a plain property”

Many types expose dedicated properties (for example cargoVolume on Vehicle or floorSize on Accommodation). Values are often a QuantitativeValue, a Distance string, or a number plus unit, depending on the property.

For flexible or certified measurements on products, hasMeasurement wraps a measurement (inseam, wheel size, screw gauge, carbon footprint for certification). It is usually exact but may be a range for adjustable items.

A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.

— Schema.org, hasMeasurement

For apparel or audience sizing without a dedicated property, suggestedMeasurement can express body measurement ranges on size charts.

Generic size may be plain text (XL, 32Wx34L), a QuantitativeValue, or SizeSpecification; when precise shipping or catalog data matters, height, width, depth, and weight are often clearer than a single size string.

Units: unitCode, unitText, Distance, and Quantity

Section titled “Units: unitCode, unitText, Distance, and Quantity”

The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.

— Schema.org, unitCode (on QuantitativeValue)

A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for unitCode.

— Schema.org, unitText

Use unitText when documentation notes missing UN/CEFACT codes—for example fuelConsumption (L/100 km), fuelEfficiency (mpg, km/L), or emissionsCO2 (g/km in unitText because there is no Common Code for g/km).

Distance strings vs embedded QuantitativeValue

Section titled “Distance strings vs embedded QuantitativeValue”

Distance values use the form '<Number> <Length unit of measure>', e.g. 7 ft.

Properties that take Distances as values are of the form '<Number> <Length unit of measure>'. E.g., ‘7 ft’.

— Schema.org, Distance

depth, height, width, distance, flightDistance, and geoRadius accept Distance. For geoRadius, metres are assumed unless the Distance notation says otherwise.

elevation (WGS 84) may look like NUMBER UNIT_OF_MEASUREMENT; a bare number is treated as metres.

Quantity covers broader physical quantities (distance, time, mass, weight) and may appear as strings such as 3 kg or 4 milligrams.

Product and shipping dimensions: height, width, depth, and weight

Section titled “Product and shipping dimensions: height, width, depth, and weight”

height, width, and depth state the item’s height, width, and depth. They appear on types including Product, MediaObject, OfferShippingDetails, ShippingConditions, VisualArtwork, and Person (height only).

weight is the weight of the product or person on similar shipping and product types.

These dedicated properties are preferable to stuffing dimensions into additionalProperty when consumers expect the canonical names—Schema.org notes that apps built for specific properties usually expect those properties, not only generic name/value pairs.

Media and software sizes: contentSize, fileSize, and bitrate

Section titled “Media and software sizes: contentSize, fileSize, and bitrate”
Property Meaning Typical context
contentSize File size in (mega/kilo)bytes MediaObject
fileSize Application or package size (e.g. 18MB); if no unit is given, KB is assumed SoftwareApplication
bitrate Bitrate of the media object MediaObject
videoFrameSize Frame size of the video VideoObject
storageRequirements Free disk space required SoftwareApplication
memoryRequirements Minimum memory requirements (software-related types in vocabulary)

Lodging and floor area: floorSize and servingSize

Section titled “Lodging and floor area: floorSize and servingSize”

floorSize is accommodation size (square metres or square feet). Typical unitCode values include MTK (square metre), FTK (square foot), and YDK (square yard).

servingSize describes serving size in terms of volume or mass—useful for nutrition-related markup where the vocabulary provides this property.

Vehicle and engine measurements: payload, fuel, power, and limits

Section titled “Vehicle and engine measurements: payload, fuel, power, and limits”

Auto-related properties frequently use QuantitativeValue with documented unit codes and notes about ranges and references.

fuelConsumption and fuelEfficiency describe the same underlying idea in reciprocal form (e.g. 8 L/100 km vs 30 mpg). Document one consistently, or both with clear units in unitText. Schema.org recommends tying values to driving speed or usage pattern through valueReference when the bare number is ambiguous.

mileageFromOdometer uses KMT or SMI. wheelbase is the distance between wheel centres (CMT, MTR, INH, FOT).

speed is a range; if the vehicle has an engine, maxValue should be the maximum speed under regular conditions (KMH, HM, KNT). Use minValue/maxValue with minimum typically zero.

Property What it measures
payload Permitted weight of passengers and cargo excluding empty vehicle (KGM, LBR)
weightTotal Permitted total loaded weight including vehicle, passengers, and cargo
roofLoad Permitted weight on the roof (rack, cargo)
trailerWeight Permitted trailer weight
tongueWeight Permitted vertical load on the hitch (TWR / TLR / VLR)

The permitted weight of passengers and cargo, EXCLUDING the weight of the empty vehicle.

— Schema.org, payload

Many databases specify the permitted TOTAL weight instead, which is the sum of weight and payload

— Schema.org, payload (Note 1)

Map your source data to the property that matches gross vs payload semantics; mixing them misstates legal load limits.

Commerce quantities: eligibleQuantity and referenceQuantity

Section titled “Commerce quantities: eligibleQuantity and referenceQuantity”

eligibleQuantity defines the order quantity interval for which an offer or price applies (for example freight valid only within a quantity band).

referenceQuantity on UnitPriceSpecification is the amount of goods the unit price refers to—e.g. 1 EUR per 4 kWh—when the price does not map to a standard unit alone.

valueReference, ranges, and statistical values

Section titled “valueReference, ranges, and statistical values”

Use minValue and maxValue wherever the vocabulary allows ranges (cargoVolume, engine specs, towing limits, speed, incentives, and more).

valueReference links a secondary value or definition: how power was measured, fuel economy at 80 km/h, or a qualitative note via QualitativeValue. enginePower and fuelEfficiency explicitly mention linking determination methodology through valueReference.

Observation-related properties in this cluster—marginOfError, median, normalRange, and percentile fields percentile10 through percentile90—attach statistical detail to observations rather than everyday product dimensions.

Common mistakes when publishing measurements

Section titled “Common mistakes when publishing measurements”
  • Wrong weight semantics: Storing gross vehicle weight in payload or omitting weightTotal when the datasheet gives GVWR.
  • Missing units for compound rates: Using fuelConsumption or fuelEfficiency without unitText when no unitCode exists.
  • Locale in numbers: Commas as decimal separators or non-ASCII digits in value / minValue / maxValue.
  • Ambiguous efficiency numbers: Publishing L/100 km or mpg without speed or cycle context when your source is conditional—use valueReference.
  • Ignoring defaults: fileSize without MB/KB is interpreted as kilobytes; elevation without a unit is metres.
  • Bypassing canonical properties: Putting width only in generic additionalProperty when width on Product is what downstream tools expect.

Point value with UN/CEFACT code (floor area):

"floorSize": {
"@type": "QuantitativeValue",
"value": 85,
"unitCode": "MTK"
}

Range with text unit (fuel economy):

"fuelEfficiency": {
"@type": "QuantitativeValue",
"minValue": 4.5,
"maxValue": 5.2,
"unitText": "L/100 km",
"name": "combined cycle"
}

Distance-style depth on a product (string form allowed by Distance):

"depth": "40 cm"
  1. For each measurement you publish, open the canonical Schema.org property page (for example height, payload, QuantitativeValue) and confirm allowed types, typical unitCode values, and notes match your JSON-LD.

  2. Inspect numeric fields in your markup: ASCII digits, . decimals, and explicit unitCode or unitText wherever the property documentation requires it.

  3. For vehicles, cross-check payload vs weightTotal against your manufacturer data and ensure towing fields (trailerWeight, tongueWeight, roofLoad) use consistent units (KGM or LBR).

  4. Re-read Distance and elevation if you mix string distances with bare numbers, and confirm defaults (metres for bare elevation numbers; KB default for unitless fileSize).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.