# measurement

> The measurement Liquid object, which carries the value and unit returned by a dimension, volume or weight metafield in a Shoplazza theme.

Measurement from one of the following metafield types:

* `dimension`
* `volume`
* `weight`

| Properties | Type                                | Description            |
| :--------- | :---------------------------------- | :--------------------- |
| `unit`     | [string](../basics/liquid-types#string) | The measurement unit.  |
| `value`    | [number](../basics/liquid-types#number) | The measurement value. |

```json title="Object"
{
  "unit": "MILLIMETERS",
  "value": 98.2
}
```

This object is returned by a `weight`, `volume`, or `dimension` [metafield](./metafield). Access it through the metafield's `value`:

```liquid title="Code"
{{ product.metafields.custom.net_weight.value.value }} {{ product.metafields.custom.net_weight.value.unit }}
```

```html title="Output"
20 KILOGRAMS
```
