Skip to main content

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.

Always define the monthly price first. It is the most intuitive unit for customers and forms the basis for all other calculations.

Conversion formulasโ€‹

ConversionFormula
Monthly โ†’ HourlyHourly = Monthly รท (30.5 ร— 24)
Monthly โ†’ YearlyYearly = Monthly ร— 12
Hourly โ†’ MonthlyMonthly = Hourly ร— (30.5 ร— 24)
Hourly โ†’ YearlyYearly = 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 cyclePrice
Monthly$30.00
Hourly$30 รท 732 = $0.0410/hour
Yearly$30 ร— 12 = $360.00/year

Example 2 โ€” Starting from hourly priceโ€‹

Billing cyclePrice
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