Understand Advanced Formulas Between Meters
Last updated on Aug 28, 2026
BETA
This feature is currently in beta and may change over time. During the beta period, functionality, availability, and performance may vary.
To join the Beta program, request Beta access.
Combine multiple Maxio Metering signals into one billable quantity for usage-based billing. Advanced Formulas let you calculate charges from related Meters, such as reads, writes, API calls, storage, compute, or included usage thresholds.
Advanced Formulas Between Meters lets you define a mathematical expression that combines multiple Meters into a single billable quantity. Instead of creating separate Products to approximate a blended rate, you write the billing logic directly on the Product:
- Bill on total I/O:
[reads] + [writes] - Blend weighted usage types:
[api-calls] * 0.01 + [storage] * 0.05 - Charge only above an included threshold:
MAX([usage] - [included], 0)
The formula is evaluated at billing time using actual Meter values, producing a single quantity that drives the Invoice line item.
Requirements
Before using Advanced Formulas Between Meters, confirm the following are in place:
- Maxio Metering is enabled on your site. Formula Meters are not compatible with Legacy metering.
- At least one Meter is defined on your site.
- All member Meters belong to the same Stream, share the same Segment Group, and share the same periodicity.
- The
meter_formulafeature is enabled on your site. Contact Maxio Support to request access during Early Access.
Key concepts
| Term | Definition |
|---|---|
| Formula Meter | A saved mathematical expression combining multiple member Meters. When attached to a billing Product, the formula result is used as the charge quantity. |
| Member Meter | An individual Meter referenced within a formula expression, identified by its handle in bracket notation. |
| Formula Expression | The user-authored expression that defines the billing logic, for example [reads] + [writes] or [api-calls] * 0.01 + [storage] * 0.05. |
A Formula Meter must reference Meters that all belong to the same Stream and share the same Segment Group. Cross-stream formulas are not supported.
Related information
To create a Formula Meter, see Use Advanced Formulas Between Meters.
For formula syntax used within a display-only Metered Field instead of a billing Product, see Use Advanced Formulas with Metered Fields.
For general Metering setup, see Understand Maxio Metering.
Still need help?
Reach out and our support team will take it from here.
