---
title: UnitSystem - Storefront API
description: Systems of weights and measures.
api_version: 2025-07
api_name: storefront
type: enum
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/2025-07/enums/UnitSystem'
  md: 'https://shopify.dev/docs/api/storefront/2025-07/enums/UnitSystem.md'
---

# Unit​System

enum

Systems of weights and measures.

## Valid values

* IMPERIAL\_​SYSTEM

  Imperial system of weights and measures.

* METRIC\_​SYSTEM

  Metric system of weights and measures.

***

## Fields

* [Country.unitSystem](https://shopify.dev/docs/api/storefront/2025-07/objects/Country#field-Country.fields.unitSystem)

  OBJECT

  A country with localization settings for a storefront. Includes the country's currency, available languages, default language, and unit system (metric or imperial).

  Access countries through the [localization](https://shopify.dev/docs/api/storefront/current/queries/localization) query, which returns both the list of available countries and the currently active country. Use the [`@inContext`](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/in-context) directive to change the active country context.

***

## Map

### Fields with this enum

* [Country.unitSystem](https://shopify.dev/docs/api/storefront/2025-07/objects/Country#field-Country.fields.unitSystem)
