# Unit price measurement

The unit_price_measurement object contains information about how the units of a product variant are measured.

The `unit_price_measurement` object contains information about how the units of a product variant are measured. The `unit_price` attribute uses it to calculate unit prices.

The `unit_price_measurement` object has the following properties:

## unit_price_measurement.measured_type

Returns the type of measurement as a string, for example `volume`.

## unit_price_measurement.quantity_unit

Returns the unit used to measure `quantity_value`, for example `l`.

## unit_price_measurement.quantity_value

Returns the quantity of the included unit, for example `2.5`.

## unit_price_measurement.reference_unit

Returns the unit used to measure `reference_value`, for example `ml`.

## unit_price_measurement.reference_value

Returns the reference value used to show the base unit price, for example `100`.

> **VersaCommerce note:** The object is available when base price calculation is enabled for the product or variant.
