# Determining capacity and usage for your license

Use [SHOW STATUS EXTENDED](https://docs.singlestore.com/db/v9.1/reference/sql-reference/show-commands/show-status-extended.md) to view license unit capacity against current usage.

For unit-based licenses, output similar to the following is displayed.

```sql
SHOW STATUS EXTENDED LIKE "%capacity%";

```

```output

+--------------------------+---------+
| Variable_name            | Value   |
+--------------------------+---------+
| License_capacity         | 4 units |
| Maximum_cluster_capacity | 4 units |
| Used_cluster_capacity    | 2 units |
+--------------------------+---------+

```

Where:

* `License_capacity` and `Maximum_cluster_capacity` reflect the total license unit capacity for the cluster
* `Used_cluster_capacity` reflects the number of license units used against this capacity&#x20;

In this example, two of the four available license units have been used. License units, which are calculated against a host's vCPU, RAM, and persistent cache (block storage) dimensions, only apply to hosts that run leaf nodes. To understand how license units are calculated, refer to [What are license units and how do they apply to my cluster?](https://docs.singlestore.com/db/v9.1/introduction/faqs/general.md).

***

Modified at: September 9, 2024

Source: [/db/v9.1/user-and-cluster-administration/maintain-your-cluster/setting-or-replacing-a-license/determining-capacity-and-usage-for-your-license/](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/maintain-your-cluster/setting-or-replacing-a-license/determining-capacity-and-usage-for-your-license/)

(An index of the documentation is available at /llms.txt)
