CalculatorMasters

A/B Testing Video Bitrate Monthly Formula

Learn how monthly video data transfer and CDN delivery cost are estimated for two bitrate variants in an A/B test.

This calculation estimates the video data delivered each month when traffic is split between two bitrate variants. It helps quantify the bandwidth and CDN cost effect of testing a higher- or lower-bitrate stream against a Variant A baseline.

  • 100% Free
  • No Sign-Up Required
  • Private & Secure
  • Mobile Friendly

Total Monthly Test Data Transfer

Total GB = [P × (1 − S/100) × W × 60 × A ÷ 8 ÷ 1000] + [P × (S/100) × W × 60 × B ÷ 8 ÷ 1000]

Where:

Split monthly plays between the two variants, multiply each group by watch time and bitrate, convert megabits to decimal gigabytes, and add both delivery totals.

Variables Explained

VariableWhat It MeansUnit
P - monthlyPlaysExpected number of video plays during the month.number
W - averageWatchTimeAverage minutes watched for each video play.minutes
A - bitrateAAverage delivered bitrate for Variant A.Mbps
B - bitrateBAverage delivered bitrate for Variant B.Mbps
S - variantBSharePercentage of monthly plays assigned to Variant B.percent
C - cdnCostPerGbEstimated CDN delivery charge per decimal gigabyte.currency

Step-by-Step Calculation

1

Convert watch time to seconds

Bitrate is measured per second, so the average viewing duration must be converted from minutes to seconds.

averageWatchSeconds = averageWatchTime * 60

2

Allocate plays to Variant A

Variant A receives the portion of traffic not assigned to Variant B.

variantAPlays = monthlyPlays * (1 - variantBShare / 100)

3

Allocate plays to Variant B

Variant B receives the selected test share of monthly plays.

variantBPlays = monthlyPlays * (variantBShare / 100)

4

Calculate Variant A transfer

Multiplying plays, seconds watched, and Mbps gives megabits; dividing by 8 converts to megabytes and dividing by 1000 expresses the estimate in decimal GB.

variantADataTransfer = variantAPlays * averageWatchSeconds * bitrateA / 8 / 1000

5

Calculate Variant B transfer

The same conversion is applied using Variant B's assigned plays and bitrate.

variantBDataTransfer = variantBPlays * averageWatchSeconds * bitrateB / 8 / 1000

6

Add test transfer and calculate cost

The two transfer totals are combined and multiplied by the entered CDN price per GB.

monthlyDeliveryCost = (variantADataTransfer + variantBDataTransfer) * cdnCostPerGb

7

Compare with an all-Variant-A baseline

This shows the estimated cost change relative to serving Variant A for every play.

additionalMonthlyCost = monthlyDeliveryCost - (monthlyPlays * averageWatchSeconds * bitrateA / 8 / 1000 * cdnCostPerGb)

Example: Equal split between 3 Mbps and 5 Mbps video

Monthly video plays100,000 plays
Average watch time5 minutes
Variant A bitrate3 Mbps
Variant B bitrate5 Mbps
Traffic assigned to Variant B50%
CDN cost per GB$0.08
1

Convert watch time

5 * 60

300 seconds

2

Split plays

100,000 * 50%

50,000 plays per variant

3

Variant A transfer

50,000 * 300 * 3 / 8 / 1000

5,625 GB

4

Variant B transfer

50,000 * 300 * 5 / 8 / 1000

9,375 GB

5

Total test transfer

5,625 + 9,375

15,000 GB

6

Monthly delivery cost

15,000 * 0.08

$1,200

7

Cost change versus all Variant A

1,200 - (11,250 * 0.08)

$300 more per month

Final Result

The 50/50 bitrate test is estimated to transfer 15,000 GB and cost $1,200 per month, or approximately $300 more than serving the 3 Mbps Variant A to every viewer.

Try the Calculator →

Assumptions

  • Each variant's entered bitrate represents its average delivered bitrate across watched seconds.
  • Average watch time is the same for Variant A and Variant B.
  • One decimal GB is treated as 1,000 MB.
  • The entered CDN price applies uniformly to all delivered video data.
  • The calculation measures viewer delivery transfer only.

Limitations

  • !Adaptive bitrate streaming can cause delivered bitrate to differ by viewer, device, connection, and content.
  • !Viewer behavior may differ between variants, making a shared average watch time inaccurate.
  • !CDN prices may vary by region, delivery tier, contract, or volume.
  • !The estimate excludes storage, transcoding, requests, origin transfer, platform fees, and minimum commitments.

Common Mistakes to Avoid

1

Entering full video duration instead of the average time viewers actually watch.

2

Using an encoded rendition bitrate when the delivered average bitrate is materially different.

3

Treating a 50% Variant B share as 50% for each variant rather than 50% for B and 50% for A.

4

Forgetting that Mbps is megabits per second, so the conversion requires division by 8.

5

Using binary storage units when the calculator and CDN rate use decimal GB.

6

Comparing the test cost with a baseline that does not use the same monthly plays and watch time.

Related Formulas

Frequently Asked Questions

How do you calculate video bandwidth from bitrate and watch time?

Multiply plays by average watched seconds and delivered Mbps, then divide by 8 and by 1,000 to estimate decimal GB.

Why is the formula divided by 8?

Bitrate is in megabits per second, while delivery volume is expressed in bytes. Eight bits equal one byte.

How does the traffic split affect monthly video transfer?

It determines the number of plays receiving each bitrate. Increasing the share of a higher-bitrate variant generally raises total transfer.

What does cost change versus all Variant A mean?

It is the estimated test delivery cost minus the estimated cost if every monthly play used Variant A.

Can the additional monthly cost be negative?

Yes. It can be negative when Variant B has a lower bitrate than Variant A and receives a positive share of traffic.

Should I use Mbps or MBps for bitrate?

Use Mbps, meaning megabits per second. MBps means megabytes per second and would need conversion before use.

Ready to calculate your result?

Use the calculator to get instant results with your own inputs.

Try A/B Testing Video Bitrate Monthly