Calcylator
Bandwidth

Streaming bandwidth:
sizing the pipe for a live audience

Work out the capacity a live stream or video-on-demand service needs, the data it moves, and why the upload side is a separate sum.

Calcylator Editorial Team

Updated · 4 min read

Capacity and volume are two different questions

Planning a stream involves two quantities that are easy to confuse. Bandwidth is a rate: how many megabits per second must flow at the busiest moment. Data volume is a total: how many gigabytes leave your servers over an hour or a month, which is what hosting and CDN bills are based on.

Both come from the same two inputs, the bitrate of each stream and the number of people watching at once. Peak concurrent viewers set the size of the pipe; total watch time sets the monthly volume.

A single upload from the encoder to the platform is a different thing again. It needs one copy of each quality rendition, not one per viewer, so the origin side is small compared with the delivery side.

The bandwidth formula, step by step

Peak delivery bandwidth =bandwidth = viewers × bitrate
viewers:
peak concurrent viewers, not total unique viewers
bitrate:
average bitrate each viewer receives, in Mbps
Add 20–30% headroom for spikes, protocol overhead and retransmissions.
  • Concurrent viewers

    1,000

  • Bitrate per viewer

    5 Mbps

  • Multiplication

    1,000 × 5

Peak bandwidth

5,000 Mbps = 5 Gbps

With 25% headroom the delivery capacity to plan for is 6,250 Mbps, or 6.25 Gbps.

Remember the unit trap. Network capacity is quoted in bits per second while file sizes are in bytes, and a byte is eight bits. A 5 Mbps stream is 0.625 megabytes per second, not 5.

Bursty content such as a match, a product launch or a webinar concentrates viewers into a short window, so the peak can be several times the average. Use the audience at the busiest minute, and if you have no history, take the registrations or ticket count and apply a realistic attendance rate.

How much data an hour of viewing moves

Data per viewer =gigabytes = bitrate (Mbps) × seconds ÷ 8 ÷ 1,000
÷ 8:
converts megabits to megabytes
÷ 1,000:
converts megabytes to gigabytes (decimal)

One viewer at 5 Mbps for an hour: 5 × 3,600 ÷ 8 = 2,250 MB, which is 2.25 GB. For 1,000 viewers that is 2,250 GB, or 2.25 TB leaving your delivery network in that single hour.

Scale this to a month by multiplying by total hours watched. A catalogue site with 20,000 watch-hours a month at the same bitrate moves 45,000 GB, which is the figure to compare with a CDN price sheet.

Rough ranges only; the real figure depends on codec, frame rate and content.
Quality tierTypical bitrate rangeData per viewer-hour
Low (about 480p)1 to 2 Mbps0.45 to 0.9 GB
Medium (720p)2.5 to 4 Mbps1.1 to 1.8 GB
High (1080p)5 to 8 Mbps2.25 to 3.6 GB

Adaptive bitrate, mixed audiences and CDNs

Most streams use adaptive bitrate, in which players switch between renditions depending on their connection. That means your average bitrate per viewer is below the top rung of the ladder. If 60% of the audience watches at 5 Mbps, 30% at 3 Mbps and 10% at 1.5 Mbps, the average is 0.6 × 5 + 0.3 × 3 + 0.1 × 1.5 = 4.05 Mbps, and 1,000 viewers need about 4,050 Mbps, not 5,000.

A content delivery network changes where the bandwidth is consumed. Viewers pull from nearby edge servers, so your origin serves each rendition once per edge location rather than once per viewer. The total volume is unchanged, and it is the CDN that carries it, which is what you pay for.

Mobile audiences deserve a separate line in the plan. Many viewers sit on shared cell towers where a 5 Mbps rendition buffers constantly, so a ladder that starts at 1 Mbps and includes an audio-only fallback keeps them watching. Their lower bitrates also lower your total, which is why a mixed audience nearly always needs less capacity than a top-rung estimate.

The encoder's upload line and your origin

Everything so far describes the delivery side. The person or the studio sending the stream has a different problem: their upload connection must carry one copy of the output, and that copy is often several renditions packaged together. A broadcaster sending 1080p at 6 Mbps, 720p at 3 Mbps and 480p at 1.2 Mbps pushes 10.2 Mbps up the line.

Home and office connections are frequently asymmetric, with a download speed far above the upload speed. Testing the upload rate at the actual venue, at the actual time of day, is worth more than reading the plan's headline figure. Leave generous slack; a line that is 100% used drops frames the moment anything else on the network sends data.

The origin server behind a CDN also sees little traffic by comparison. It serves each segment to each edge location once, so its bandwidth is the number of rendition segments per second multiplied by the number of edge locations pulling them, not the viewer count.

From watch-hours to a monthly volume

Providers bill by gigabytes delivered, so convert audience behaviour into watch-hours first. Total watch-hours equal the number of viewing sessions multiplied by their average length.

  • Sessions per month

    12,000

  • Average session

    35 minutes (0.583 h)

  • Average bitrate

    3 Mbps (1.35 GB per hour)

Monthly data delivered

about 9,450 GB

12,000 × 0.583 h = 7,000 watch-hours; 7,000 × 1.35 GB = 9,450 GB, or roughly 9.5 TB.

At that volume, a few cents per gigabyte difference between CDN plans is a noticeable monthly line. It also shows why lowering the average bitrate by 10% through better encoding saves the same 10% on delivery, without touching the audience size.

Checks before you commit to a capacity figure

  • Use the peak concurrent number from past events or a realistic ceiling, not the average audience.
  • Include audio and any extra tracks, since they add several hundred kilobits per second on top of video.
  • Remember viewers' own connections. A 5 Mbps rendition is useless to someone on a 3 Mbps mobile link, so the lower rungs must exist.
  • For the encoder uplink, add up the bitrates of every rendition you send and keep the line at about twice that for stability.
  • Check the provider's definition of a month's quota. Some count both directions, some only egress.

Common questions

How much bandwidth do I need to stream to 100 viewers?

Multiply 100 viewers by the stream's bitrate. At 4 Mbps that is 400 Mbps at the delivery side. With about 25% headroom, plan for roughly 500 Mbps. Your own upload line only needs enough for the encoder's output, perhaps 8 to 12 Mbps.

How many GB does one hour of streaming use?

Multiply the bitrate in Mbps by 3,600 and divide by 8 to get megabytes, then by 1,000 for gigabytes. A 5 Mbps stream uses 2.25 GB per hour; 2.5 Mbps uses about 1.1 GB; 8 Mbps uses 3.6 GB.

What is the difference between Mbps and MBps?

Mbps means megabits per second and is used for network speed. MBps means megabytes per second and is used for file sizes and transfer rates. One byte holds 8 bits, so 40 Mbps is 5 MBps.

Does a CDN reduce the bandwidth I need?

A CDN lowers the load on your own origin servers by serving cached segments from edge locations. The total amount of data delivered to viewers stays the same, so the capacity and volume are carried and billed by the CDN rather than eliminated.

Why should I add headroom to the bandwidth figure?

Real traffic is not flat. Viewers arrive in bursts at the start, packets are retransmitted, and protocol headers add a few percent. Planning for exactly peak means the first surge causes buffering, so teams usually add 20 to 30 percent on top.

Was this guide helpful?

Continue reading

View all blogs