Short maintenance outage Saturday

This site, docs.bmc.com, will undergo a brief outage for maintenance at 2 A.M. CDT Saturday, April 4. Total downtime will be less than five minutes.

##### Page tree

Short maintenance outage Saturday

This site, docs.bmc.com, will undergo a brief outage for maintenance at 2 A.M. CDT Saturday, April 4. Total downtime will be less than five minutes.

Unsupported content

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Go to start of banner

# Examples of calculations for UoMs supported in Chargeback for BMC Cloud Lifecycle Management

This topic presents some examples of calculation for each supported UoM in Chargeback for BMC Cloud Lifecycle Management. It also shows an illustration of OOTB UoMs in BMC Cloud Lifecycle Management 3.1, and their corresponding BMC Capacity Optimization metrics.

## UoM units and calculations

This section illustrates examples of calculations for the following BMC Cloud Lifecycle Management UoMs present in Chargeback for BMC Capacity Optimization:

## INSTANCE units and calculations

##### Example 1
UoM INSTANCE 200 USD / Instance / Month SOI starts on: July 15, 10:00 AM Number of hours of SOI allocated (also when the VM is powered OFF, and NOT depending on the number of VMs deployed) is calculated as:Consumption for July: 16 days and 14 hours = 16 x 24 + 14 = 398 hours Price per Instance = (Price) / [ (No. of days in July) x (No. of hours in a day) ]= 200 / (31 * 24) = 0.2689 / Instance HourTotal charge for the July = (Price per Instance) x (Consumption for July) = 0.2689 x 398 = 106.989 USD
##### Example 2
UoM INSTANCE 150 USD / Instance / Month SOI starts on: September 1 Number of hours of SOI allocated (also when the VM is powered OFF) is calculated as:Consumption for September: 30 days Price per Instance = (Price) / (No. of days in September) = 150 / 30 = 5.00 / dayTotal charge for September = (Price per Instance) x (Consumption for September) = 5 x 30 = 150.00 USD

## CPU units and calculations

##### Example 1
UoM CPU Avg Usage GHz 1 USD / CPU Avg Usage GHz / Day Hourly Average CPU Utilization in GHz is calculated as:Hourly Average CPU Utilization: 1 vCPU@3 GHz used at 50% every hour in one day = 1.5 GHz Aggregated (SUM) of the hourly average for 24 hours in one day (none when VM is powered OFF). It is calculated as:Consumption for 1 day = (Hourly Average CPU Utilization) x (No. of hours in 1 day) = 1.5 x 24 = 36 GHzHour Price per GHz Hour = (Price) / (No. of hours in 1 day) = 1 / 24 = 0.0416/GHzHourTotal charge for 1 day = (Consumption for 1 day) x (Price per GHz Hour) = 36 x 0.0146 = 1.5 USD
##### Example 2
UoM CPU Count 5 USD / CPU Count / Day Hourly Number of CPUs (logical or virtual, NOT physical CPUs). It is calculated as:Hourly Number of CPUs: 2 vCPUs for every hour in the day Aggregated (SUM) of number of CPU for 24 hours in 1 day (also when the VM is powered OFF). It is calculated as:Consumption for 1 day = (Hourly Number of CPUs) x (No. of hours in 1 day) = 2 x 24 = 48 vCPUsHour Price per vCPUsHour = (Price) / (No. of hours in a day) = 5 / 24 = 0.2084Total charge for the day = (Consumption for 1 day) x (Price per vCPUsHour) = 48 x 0.2084 = 10 USD

## Network units and calculations

##### Example 1
UoM Network GB Upload 5 USD / Network GB Upload Note: Period is irrelevant for this UoM, and the Price is for 'per GB of data sent'. Hourly Average Network send rate in GB/Hour. It is calculated as:Hourly Average Network send rate: 10Mbit/sec used at 1% every hour in the day for OUT traffic = 0.0439 GB/hour Aggregated (SUM) of the hourly average for the 24 hours in a day (none when the VM is powered OFF). It is calculated as:Consumption for 1 day = (Hourly Average Network send rate) x (No. of hours in 1 day) = 0.0439 x 24 = 1.054 GB sent Total charge for the day = (Consumption for 1 day) x (Price per GB of data sent) = 1.054 x 5 = 5.27 USD

## Uptime units and calculations

##### Example 1
UoM Uptime 1.2 USD / Uptime / Day During the day, the VM has been powered ON from 10:00 AM to 2:00 PM. Number of hours of VM powered ON is calculated as:Consumption for the day: (No. of hours between 10:00 AM and 2:00 PM) = 4 Hours Price per Instance = (Price) / (No. of hours in a day) = 1.2 / 24 = 0.05 USDTotal charge for the day = (Price per Instance) x (Consumption for day) = 0.05 x 4 = 0.2 USD

## Memory units and calculations

##### Example 1
UoM Allocated Memory GB 1 USD / Allocated Memory GB / Day Hourly Memory Allocated in GB = 4GB Aggregated (SUM) of memory allocated for 24 hours in a day (also when the VM is powered OFF). It is calculated as:Consumption for 1 day = (Hourly Memory Allocated) x (No. of hours in 1 day) = 4 x 24 = 96 GB Hour Price per GBHour = (Price) / (No. of hours in 1 day) = 1 / 24 = 0.04167Total charge for the day = (Consumption for 1 day) x (Price per GBHour) = 0.04167 x 96 = 4 USD
##### Example 2
UoM Memory Avg Usage GB 1 USD / Memory Avg Usage GB / Day Hourly Average Mem Utilization in GB. For example: 4 GB used at 50% every hour in the day Aggregated (SUM) of the hourly average for the 24 hours in a day (none when the VM is powered OFF). It is calculated as:Consumption for 1 day = (Hourly Average Mem Utilization) x 50% x (No. of hours in 1 day) = 4 x 50% x 24 = 48 GBHour Price per vGBHour = (Price) / (No. of hours in 1 day) = 1/24 = 0.04167Total charge for the day = (Consumption for 1 day) x (Price per vGBHour) = 48 x 0.04167 = 2 USD

## Storage units and calculations

##### Example 1
UoM Allocated Storage GB 0.5 USD / Allocated Storage GB / Month Hourly Storage allocated in GB. For example: 500GB for every hour in the month (month of 31 days).Total Hourly Storage allocated = 500 x 24 = 12000 Aggregated (SUM) of storage allocated for 31 days in a month (also when the VM is powered OFF). It is calculated as:Consumption for 31 days = (Total Hourly Storage allocated) x (No. of days) = 12000 x 31 = 372000 GBHour Price per GBHour = (Price) / (No. of hours in a day) x (No. of days) = 0.5 / (24 * 31) = 0.00067205Total charge for the month = (Consumption for 31 days) x (Price per GBHour) = 372000 x 0.00067205 = 250 USD
##### Example 2
UoM Storage Avg Usage GB 0.05 USD / Storage Avg Usage GB / Day Hourly Average Storage Utilization in GB. For example: 500GB used at 10% every hour in the day.Total Hourly Average Storage Utilization allocated = 500 x 24 = 12000 Aggregated (SUM) of the hourly average for the 24 hours in a day (also when the VM is powered OFF). It is calculated as:Consumption for 1 day = 1200 GBHour Price per GBHour = 0.05 / 24 = 0.002084Total charge for the day = (Consumption for 1 day) x (Price per GBHour) = 1200 x 0.002084 = 2.5 USD

## Related topics

Understanding Chargeback for BMC Cloud Lifecycle Management

Supported platforms and UoM mapping