Pricing Formulas
CMP uses consistent formulas to derive all billing cycle prices from a single base value. Define one price and the others are calculated automatically.
Recommended approachโ
Always define the monthly price first. It is the most intuitive unit for customers and forms the basis for all other calculations.
Conversion formulasโ
| Conversion | Formula |
|---|---|
| Monthly โ Hourly | Hourly = Monthly รท (30.5 ร 24) |
| Monthly โ Yearly | Yearly = Monthly ร 12 |
| Hourly โ Monthly | Monthly = Hourly ร (30.5 ร 24) |
| Hourly โ Yearly | Yearly = Hourly ร (30.5 ร 24) ร 12 |
The constant 30.5 ร 24 = 732 represents the average number of hours per month CMP uses for billing calculations.
Example calculationsโ
Example 1 โ Starting from monthly priceโ
| Billing cycle | Price |
|---|---|
| Monthly | $30.00 |
| Hourly | $30 รท 732 = $0.0410/hour |
| Yearly | $30 ร 12 = $360.00/year |
Example 2 โ Starting from hourly priceโ
| Billing cycle | Price |
|---|---|
| Hourly | $0.05/hour |
| Monthly | $0.05 ร 732 = $36.60/month |
| Yearly | $36.60 ร 12 = $439.20/year |
Custom package pricing checkโ
When setting unit pricing for custom packages, verify that the effective monthly price for a custom configuration matches or exceeds the equivalent predefined package:
Example check:
Predefined: 4 vCPU + 8 GB RAM = $20/month
Custom unit pricing:
CPU: $3/vCPU/month โ 4 ร $3 = $12
RAM: $1/GB/month โ 8 ร $1 = $8
Total: $12 + $8 = $20/month โ
(matches predefined)
If custom totalled $15/month โ Customers would always choose custom โ Fix unit pricing โ ๏ธ
Snapshot / Template / ISO pricingโ
These services use hourly billing based on logical storage size:
Hourly cost = size_GB ร hourly_rate_per_GB
Example: 10 GB snapshot ร $0.20/GB/hour = $2.00/hour