Assume a constant total stream rate of 5 megabits per second for one hour. The payload is 2250 decimal MB, or 2.25 decimal GB.
The worked example
| Calculation |
|---|
| 5 * 3600 / 8 = 2250 |
| 2250 / 1000 = 2.25 |
These are constructed inputs. Displayed decimals are rounded; they are not product measurements.
Understand the result before using it
Begin with the entire encoded stream, including audio if it is included in the rate. An advertised video-only rate leaves audio uncounted. At 3 Mbps the same hour carries 1.35 GB; at 8 Mbps it carries 3.6 GB. A constant 5 Mbps is a model rather than a normal adaptive-streaming guarantee.
For a 10 GB allowance, dividing by 2.25 gives about 4.44 ideal hours. Leave other traffic outside this video budget instead of assuming the whole allowance is available. A downloaded file may have a different encoding from the streamed version. Compare the app's recorded consumption over a known viewing interval before extrapolating a whole month.
The boundary of this calculation
Adaptive quality, buffering and protocol traffic change actual use. Mbps is not MB/s.
Inspect the example inputs and run the Python checks. They use only the published examples and do not read personal folders.