Byte and Storage Converter — Convert All 11 Units at a Glance

💾

Byte and Storage Converter

Decimal (SI) ↔ Binary (IEC)  ·  Bitrate ↔ File Size

⚖️

Storage Converter

Please enter a valid positive number.
Decimal (SI) 1 KB = 1,000 B
B
KB
MB
GB
TB
PB
Binary (IEC) 1 KiB = 1,024 B
KiB
MiB
GiB
TiB
PiB
📡

Bitrate Calculator

Duration
Enter a valid bitrate and a duration greater than 0.
Duration
Enter a valid file size and a duration greater than 0.
✓ Copied!

If you run a NAS, a Proxmox server, or any kind of homelab, you’ll hit the byte and storage converter problem constantly: your drive shows 1 TB in Windows, your ZFS pool reports 931 GiB, and your backup tool logs 850 GB — all pointing at the same data. This byte and storage converter clears up that confusion instantly. Enter any value, pick your unit, and all 11 decimal and binary equivalents appear at once.


What This Byte and Storage Converter Does

This tool covers two separate calculators in one page:

Storage Converter (fan-out mode)

Enter a value in any unit and see every other unit recalculated live:

  • Decimal (SI): B, KB, MB, GB, TB, PB — powers of 1,000
  • Binary (IEC): KiB, MiB, GiB, TiB, PiB — powers of 1,024

No need to select source and target separately — the full table updates as you type. Each row has a 📋 copy button, and “Copy All Results” dumps everything to the clipboard in one click. The current value is saved to the URL hash, so you can bookmark or share any conversion directly.

Bitrate Calculator (two directions)

  • 📡 Bitrate → File Size: enter a bitrate (bps / Kbps / Mbps / Gbps) and a duration (HH:MM:SS) — get the resulting file size in MB, GB, TB, MiB, GiB, and TiB simultaneously.
  • 💾 File Size → Bitrate: enter a file size and a duration — get the required bitrate in bps, Kbps, Mbps, and Gbps. Useful for figuring out whether your NAS or WireGuard connection can handle a given stream without buffering.

Why Decimal and Binary Units Are Different

This is the classic “why does my 1 TB drive only show 931 GiB” question. 🤔

Hard drive manufacturers define 1 TB as 1,000,000,000,000 bytes (powers of 1,000), following the SI decimal prefixes standardised by NIST. Operating systems like Linux report in binary units — GiB, which are powers of 1,024, defined by the IEC 80000-13 standard and the binary prefix specification. So 1,000,000,000,000 bytes ÷ 1,073,741,824 = 931.32 GiB.

This matters a lot in homelab contexts:

  • ZFS reports pool and dataset sizes in GiB/TiB — if you’re setting up a ZFS mirror for something like OneDrive sync on Proxmox, you’ll want to know how much space ~15 TB of files actually occupies in GiB.
  • OpenMediaVault and Linux tools like df, du, and lsblk default to binary units, while drive manufacturers advertise decimal sizes.
  • Backup tools sometimes flip between GB and GiB depending on the version, which makes capacity planning confusing.

The byte and storage converter handles both systems side by side so you can always see the actual values without doing the math in your head.


How to Use It

  1. Type a value in the “Value” field and select the unit from the dropdown.
  2. All 11 unit conversions appear immediately in the two columns below.
  3. The row for your input unit is highlighted in blue for quick orientation.
  4. Click 📋 next to any row to copy just that value, or use Copy All Results to grab everything.
  5. The URL updates automatically — bookmark it to save a frequently-used conversion.

For the bitrate calculator, click the correct tab (Bitrate → File Size or File Size → Bitrate), fill in the value and the HH:MM:SS duration, and the results update as you type.


Practical Use Cases 🔧

📼 Video archive planning on a NAS Working out how much space a video collection will need? The byte and storage converter lets you see the answer in GB and GiB simultaneously — no guessing whether your media server reports in one or the other. If you’ve ever moved a Jellyfin or qBittorrent library between drives, you’ll know the pain of size mismatches. See also: how to move qBittorrent downloads without losing seeding.

🌐 WireGuard and stream bitrate Running a WireGuard VPN on your Proxmox server and want to know if a 25 Mbps upload can handle a 1-hour 4K stream? Enter 25 Mbps + 1:00:00 in the Bitrate → File Size mode — the answer is 11.25 GB. Then switch to File Size → Bitrate and verify the reverse.

💾 SSD capacity benchmarking When you benchmark SSDs — checking real read/write speeds in MB/s — the byte and storage converter helps you sanity-check throughput figures and map them to binary MiB/s that Linux tools report. Useful context from this guide: how to test SSD and HDD speed on OpenMediaVault.

🖥️ Proxmox LXC / VM disk sizing Proxmox storage shows sizes in GiB. When you buy a disk sold as “2 TB”, you actually get 1.82 TiB. The byte and storage converter gives you the exact GiB number before you provision a container or VM.


Privacy, Ads, and Data Policy

✅ 100% free — no registration, no account required ✅ No data storage — everything you type stays in your browser ✅ No ads in results — no watermarks, no tracking pixels ✅ Client-side only — no API calls, no telemetry, no external requests


Open Source and Self-Hosting

The tool is a single folder: index.html, style.css, and script.js. Zero dependencies — no npm, no bundler. Drop the folder on any static host or a Nginx server on your homelab and it works.

Want to explore more tools like this byte and storage converter? Check out the full VahaC Tools page — all tools are free, client-side only, and built for homelab and self-hosting workflows.