Box office

Storage and bandwidth estimator

Two quick sums for planning a Jellyfin server at home. Type in your own numbers: the hours of video in your library, the bitrate of your files or streams, and how many people watch at once. Every result is an estimate worked out only from what you enter, using the formulas listed below the calculators.

Library storage

How much disk space a library takes at the average bitrate you enter.

Arithmetic help: 120 films of 2 hours each is 240 hours.

Enter the hours and the bitrate to see the estimate.

Streaming upload

The upload speed your server needs to send several streams at once, at the bitrate you enter.

Left empty, no margin is added. The streams are assumed to run at the same bitrate for the whole hour.

Enter the stream bitrate and the number of streams to see the estimate.

How the numbers are worked out

  • Storage in bytes = bitrate in bits per second × hours × 3,600 ÷ 8
  • 1 Mbps = 1,000,000 bits per second, and 1 kbps = 1,000 bits per second
  • 1 kB = 1,000 bytes, 1 MB = 1,000 kB, 1 GB = 1,000 MB and 1 TB = 1,000 GB; 1 GiB = 230 bytes and 1 TiB = 240 bytes
  • Stream payload in bits per second = bitrate of one stream × number of streams
  • Planned upload in bits per second = stream payload × (1 + margin ÷ 100), where the margin is your own optional percentage
  • Megabytes per second = planned upload in Mbps ÷ 8
  • Stream data in one hour, in bytes = stream payload in bits per second × 3,600 ÷ 8 (no margin)

There are 8 bits in a byte and 3,600 seconds in an hour, and a percentage is a part in a hundred. The streaming sums assume every stream has the same bitrate and runs for the full hour. Mega, giga and tera are the decimal SI prefixes (106, 109, 1012). Gibi and tebi are the binary prefixes (230, 240), so the same file looks smaller when it is counted in GiB than in GB.

What the estimate leaves out

  • The bitrate you enter is treated as the whole file or stream. If your figure covers video only, audio and subtitle tracks add to it.
  • Bitrates change within a file, so an average bitrate gives an average size.
  • File system overhead, artwork and metadata, and Jellyfin's own cache and transcoding files are not counted.
  • Network protocol overhead and other traffic on your connection are not counted. Use the margin box to add your own allowance.

Sources for the units