Pricing calculator formulas
Tiered Pricing Calculator Formula: Graduated vs Volume
Choose the correct tier model, calculate every threshold without a pricing cliff and verify the result with twelve executed boundary fixtures.
Direct answer
Choose the pricing model before writing the formula. For volume pricing, find the tier containing the quantity and multiply every unit by that tier's rate. For graduated pricing, calculate the units inside each reached tier, multiply each slice by its rate and add the slices. Validate that tiers are ordered, contiguous and non-overlapping, then test immediately below, at and above every threshold.
Definition
A tiered pricing calculator maps a quantity to a versioned price schedule. Volume pricing applies the selected tier's unit rate to the whole quantity. Graduated pricing prices each slice of the quantity at its own tier rate and adds the slices.
Key findings
Verified 20 November 2026
- At 250 units, the fictional graduated total is $210.00 while the volume total is $150.00. The difference comes from the model, not rounding.
- A volume discount can make the total decrease at a threshold because the new rate applies to every unit. That cliff must be an intentional published rule.
- Graduated pricing needs an itemized slice calculation so every unit belongs to exactly one tier and the total can be audited.
- Flat charges, tax, minimums and rounding are separate policy decisions. A calculator must state their order instead of hiding them inside a tier rate.
What is the difference between graduated and volume pricing?
Volume pricing selects one rate from the tier containing the final quantity. That rate applies to the entire quantity. Stripe's current documentation warns that the total can decrease when a lower rate begins because the rate is recalculated across every unit.
Graduated pricing keeps the earlier units at their earlier rates. Only the units inside each later tier use the later rate. The final total is the sum of those tier slices.
The same thresholds can therefore produce two correct but different answers. The published offer, calculator label and implementation must name the model. Terms such as tiered, bulk and volume discount are not precise enough by themselves.
Sources: Stripe tiered pricing documentation; Stripe recurring pricing models
| Model | Rule | 250-unit result |
|---|---|---|
| Volume | All 250 units use the $0.60 rate selected by the final quantity | $150.00 |
| Graduated | 100 units at $1.00, 100 at $0.80 and 50 at $0.60 | $210.00 |
What formulas should a tiered pricing calculator use?
For volume pricing, select exactly one tier that contains quantity q. The subtotal is q multiplied by that tier's unit rate, plus any flat charge that the published policy applies. If no tier or more than one tier contains q, stop and report a schedule defect.
For graduated pricing, calculate the number of units inside every reached tier, multiply that slice by the tier's unit rate and add the slice amounts. With inclusive whole-number thresholds, the units in a tier are max(0, min(q, tier end) minus tier start plus 1). A half-open interval contract is equally valid if it is used consistently.
Store money in the smallest currency unit where practical. Apply the published rounding rule at the documented stage. Do not repeatedly round each intermediate value unless the commercial policy explicitly requires it.
| Quantity | Unit rate | Whole-number interval |
|---|---|---|
| 1 through 100 | $1.00 | Both endpoints included |
| 101 through 200 | $0.80 | Both endpoints included |
| 201 and above | $0.60 | Lower endpoint included |
How does the 250-unit worked example calculate?
Under volume pricing, 250 falls in the third tier. The calculation is 250 multiplied by $0.60, which equals $150.00.
Under graduated pricing, the first 100 units cost $100.00, the next 100 cost $80.00 and the remaining 50 cost $30.00. The total is $210.00.
Neither result is a universal pricing rule. These rates are fictional. The example exists to make the model difference reproducible and to expose a threshold cliff before it reaches a customer.
| Slice | Calculation | Amount |
|---|---|---|
| Units 1 through 100 | 100 multiplied by $1.00 | $100.00 |
| Units 101 through 200 | 100 multiplied by $0.80 | $80.00 |
| Units 201 through 250 | 50 multiplied by $0.60 | $30.00 |
| Total | $100.00 + $80.00 + $30.00 | $210.00 |
What did the twelve tiered-pricing fixtures test?
The executable reference test used the schedule above and integer cents. All twelve fixtures returned the documented outcome on 20 November 2026. TIERED-PRICING-FIXTURES
The last fixture applies a separate, explicit policy after the graduated total: add one $5.00 flat charge, calculate 10 percent tax on the $215.00 subtotal, then produce $236.50. This demonstrates order of operations. It does not recommend a tax rule.
| ID | Case | Expected outcome |
|---|---|---|
| T01 | Quantity 0 | $0.00 under the published zero policy |
| T02 | Quantity 1, graduated | $1.00 |
| T03 | Quantity 100, graduated | $100.00 |
| T04 | Quantity 101, graduated | $100.80 |
| T05 | Quantity 101, volume | $80.80 |
| T06 | Quantity 200, graduated | $180.00 |
| T07 | Quantity 201, graduated | $180.60 |
| T08 | Quantity 250, graduated | $210.00 |
| T09 | Quantity 250, volume | $150.00 |
| T10 | Overlapping schedule | Reject before calculation |
| T11 | Negative, fractional or non-numeric quantity | Reject the quantity |
| T12 | $5.00 charge, then 10 percent tax | $215.00 subtotal, $21.50 tax, $236.50 total |
How do you prevent gaps, overlaps and threshold cliffs?
Validate the complete schedule before accepting it. Sort tiers by their lower boundary, require one interval convention and confirm that each new tier begins exactly where the previous tier ends under that convention. A gap leaves some quantities unsupported. An overlap gives some quantities two possible rates.
Then test one quantity immediately below every threshold, the threshold itself and one immediately above it. Show the expected total change to the product owner. In the fictional volume schedule, moving from 100 to 101 units changes the total from $100.00 to $80.80. That $19.20 decrease is mathematically consistent with the chosen model but may contradict the intended offer.
Keep an immutable schedule version with every completed result. If rates change, preserve enough input, model and schedule data to reproduce a historical quote rather than silently recalculating it with new tiers.
What should the calculator show and validate?
State whether the model is volume or graduated beside the result. Show the quantity, reached tier or tier breakdown, subtotal, flat charges, discount, tax basis and final rounding. A line-item explanation is easier to review than a single unexplained number.
Give the quantity field a visible label and persistent instructions that state whole-number, range and unit rules. W3C guidance says form instructions should identify required inputs, formats and relevant constraints in a way assistive technology can read. A placeholder alone is not a label.
When an input is invalid, remove any stale total, identify the affected field and preserve other valid answers. A plausible old price must not remain on screen after the quantity no longer meets the contract.
Sources: W3C form instructions
Tiered pricing calculator release checklist
Release the calculator only after the pricing owner, implementation and fixtures agree on the same model and schedule version.
- Name the model as volume or graduated in the pricing policy and interface.
- Define quantity type, zero behavior, all thresholds, rates, minimums and maximums.
- Use one interval convention and reject gaps, overlaps and ambiguous tiers.
- Keep flat charges, discounts, tax and rounding as explicit ordered rules.
- Test immediately below, at and above every threshold for both applicable models.
- Display an itemized breakdown and clear correction text for invalid input.
- Store the model and schedule version with the final result.
- Reconcile the screen, quote, CRM and invoice against one authoritative total before launch.
Method and evidence
Evidence type: Two explicit formulas, a line-item worked example and twelve executed deterministic boundary fixtures
- Defined one fictional, contiguous schedule in integer cents: units 1 through 100 at $1.00, units 101 through 200 at $0.80 and units 201 and above at $0.60.
- Implemented separate volume and graduated functions, validated the schedule before calculating and rejected negative, fractional and non-numeric quantities.
- Executed twelve deterministic fixtures covering zero, both sides of every threshold, the 250-unit worked example, an overlap defect and one explicit flat-charge and tax-order policy.
- Checked Stripe's current tiered-pricing and recurring-pricing documentation plus W3C form instructions on 20 November 2026. No Stripe account, invoice or commercial calculator product was tested.
Topic score: 4.59 / 5. Business fit 4.8, verified demand 4.5, distinct intent 4.5, original evidence 4.7, citation usefulness 4.5, feasibility 4.6.
Primary sources
- Stripe: set up tiered pricing ↗Primary definitions and examples for volume, graduated and flat-rate tier behavior, checked 20 November 2026.
- Stripe: recurring pricing models ↗Primary overview distinguishing recurring pricing models, checked 20 November 2026.
- W3C WAI: form instructions ↗Primary accessibility guidance for persistent labels, instructions, formats and constraints, checked 20 November 2026.
Limitations
- The schedule, rates, flat charge and tax example are fictional editorial fixtures, not pricing, billing, tax or legal advice.
- The executed tests validate deterministic arithmetic and rejection rules. They do not test a Stripe account, invoice, named calculator product, browser, CRM, email platform or assistive technology.
- The model excludes proration, metering corrections, credits, minimum commitments, retroactive tiers, currencies, tax jurisdictions and contract amendments.
- Stripe documentation defines the two common models and its own behavior. It does not prescribe this fictional schedule or prove parity with another provider.
Verification and corrections
Stripe tiered-pricing definitions, W3C form instructions and twelve deterministic formula fixtures verified 20 November 2026.
Recommended retest: Recheck after changing the tier model, threshold, unit rate, flat charge, minimum, tax order, rounding rule or schedule version.
Found an error or a changed standard? Use the correction process and include the page URL and primary evidence.
Next step
Apply the evidence to your next release
Use the published method, keep a dated test record and revisit the result after the calculator or its operating rules change.
Open the testing protocol