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.
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
- NIST Guide to the SI, Chapter 4: The Two Classes of SI Units and the SI Prefixes (decimal prefixes kilo, mega, giga, tera)
- NIST: Prefixes for binary multiples (kibi, mebi, gibi, tebi; 8 bits in a byte)
- NIST Guide to the SI, Chapter 5: Units Outside the SI (the hour as 3,600 seconds)
- NIST Guide to the SI, Chapter 7: Rules and Style Conventions for Expressing Values of Quantities (section 7.10.2, percent)