Back to calculator
TechnologyGenerated accuracy model review: 2026-05-06

CDN Bandwidth Cost Calculator accuracy and testing

This page documents how Calwarden builds trust for this calculator: source notes, regression-style default tests, limitations, assumptions, unit handling, rounding, and visible change history.

Formula source

  • Monthly cost = bandwidth GB * price per GB + request count / 10000 * request price + invalidations * invalidation price + fixed fee.

Test cases

Default input regression check

Generated from the checked-in default inputs and calculate function.

Inputs

  • CDN Bandwidth: 10,000 GB/mo
  • Bandwidth Price: 0.04 $/GB
  • HTTP Requests: 20,000,000
  • Request Price: 0.01 $/10k
  • Invalidations: 100
  • Invalidation Price: $0
  • Fixed Monthly Fee: $25

Expected outputs

  • Monthly CDN Cost: $440.00
  • Bandwidth Cost: $400.00
  • Request Cost: $15.00
  • Effective Cost per GB: $0.04

Known limitations

  • This page documents the checked-in calculator logic and does not certify results for every real-world edge case.
  • Use the result as a planning estimate unless the calculator page states a stricter purpose.

Assumptions

  • Prices are flat user-entered rates.
  • Regional tiers, free allowances, and volume discounts are not inferred.
  • Traffic data is not uploaded.

Unit handling

  • CDN Bandwidth accepts values in GB/mo.
  • Bandwidth Price accepts values in $/GB.
  • HTTP Requests accepts numeric values.
  • Request Price accepts values in $/10k.
  • Invalidations accepts numeric values.
  • Invalidation Price accepts values in $.
  • Fixed Monthly Fee accepts values in $.
  • Monthly CDN Cost is displayed as currency.
  • Bandwidth Cost is displayed as currency.
  • Request Cost is displayed as currency.
  • Effective Cost per GB is displayed as currency.

Rounding rules

  • Number displays use up to 2 decimal places in the calculator UI.
  • Currency outputs are displayed with standard US dollar formatting.
  • Input precision follows configured step values where provided.

Version history

1.0.0 - 2026-05-06

Generated accuracy and testing page from the current cdn-bandwidth-cost-calculator calculator definition.

Change log

2026-05-06

Published default regression test documentation and metadata fallbacks for CDN Bandwidth Cost Calculator.

Calculator transparency

Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.

Use calculator