Data Rate Unit Converter
Convert data rates instantly: bps ↔ kbps ↔ Mbps ↔ Gbps and bytes/sec. Includes presets for UART (9600 bps), CAN (1 Mbps), Ethernet (100 Mbps), and GbE. Also converts baud rate to kbps.
Formula
How It Works
This calculator converts between bits per second (bps), bytes per second (B/s), and their kilo/mega/giga multiples for network engineers, firmware developers, and systems architects. Per IEEE 802 and IEC 80000-13, the critical distinction is bits (b) vs bytes (B): 1 byte = 8 bits exactly. Network speeds use bits (100 Mbps Ethernet), while storage uses bytes (100 MB/s SSD). SI prefixes follow decimal convention for networks (1 Mbps = 10^6 bps per IEEE) but binary for storage (1 MiB = 2^20 bytes per IEC). A '100 Mbps' connection downloads at 12.5 MB/s maximum (100/8), minus protocol overhead. Shannon's theorem sets theoretical limits: C = B × log2(1 + SNR), giving 10 Gbps maximum for a 1 GHz channel at 30 dB SNR.
Worked Example
A LoRa sensor transmits 20-byte packets every 60 seconds using SF7 (5.47 kbps). Calculate daily data usage, compare with SF12 (293 bps), and determine battery impact.
- Packet size: 20 bytes = 160 bits (payload only)
- SF7 air time: 160 bits / 5470 bps = 29.3 ms
- SF12 air time: 160 bits / 293 bps = 546 ms (18.6x longer)
- Daily packets: 24 × 60 = 1440 packets
- Daily data: 1440 × 20 bytes = 28,800 bytes = 28.8 kB = 230.4 kb
- Daily TX time at SF7: 1440 × 29.3 ms = 42.2 s
- Daily TX time at SF12: 1440 × 546 ms = 786 s = 13.1 min
- Battery impact: at 40 mA TX current, SF7 uses 0.47 mAh/day, SF12 uses 8.7 mAh/day (18x more)
Practical Tips
- ✓Serial protocol speeds per IEEE/TIA: UART 9600-115200 bps typical, SPI 1-50 Mbps, I2C 100 kbps (standard) / 3.4 Mbps (HS), CAN 1 Mbps, RS-485 10 Mbps, USB 2.0 480 Mbps, USB 3.2 20 Gbps, PCIe 4.0 16 GT/s per lane
- ✓Wireless data rates per IEEE 802.11: WiFi 6 (802.11ax) up to 9.6 Gbps theoretical (1201 Mbps single stream), Bluetooth 5.0 2 Mbps PHY, LoRa 0.3-50 kbps, 5G NR up to 20 Gbps. Actual throughput is 30-70% of PHY rate due to overhead
- ✓Buffer sizing: bytes_needed = rate_Bps × latency_s. For 100 Mbps with 10 ms jitter buffer: 12.5 MB/s × 0.01 s = 125 kB minimum. Add 2-3x margin for burst handling
Common Mistakes
- ✗Confusing Mbps (megabits/sec, lowercase 'b') with MB/s (megabytes/sec, uppercase 'B') - 100 Mbps = 12.5 MB/s, not 100 MB/s. ISPs advertise Mbps; download managers show MB/s - a 100 Mbps connection shows ~12 MB/s downloads
- ✗Ignoring protocol overhead - UART 8N1 uses 10 bits per byte (start + 8 data + stop), so 115200 baud = 11,520 bytes/s maximum, not 14,400. TCP/IP adds 40-byte headers per packet, reducing effective throughput by 3-5%
- ✗Mixing decimal (SI) and binary (IEC) prefixes - 1 MB = 10^6 bytes (SI), 1 MiB = 2^20 = 1,048,576 bytes (IEC). A '1 TB' drive is 1,000 GB (SI) = 931 GiB (binary), appearing '7% smaller' in OS
Frequently Asked Questions
Related Calculators
Convert
Time Converter
Convert time between seconds, milliseconds, microseconds, nanoseconds, picoseconds, and femtoseconds for digital and RF applications.
Comms
UART Baud Rate
Calculate UART frame timing, throughput, and USART BRR register divisor from baud rate, data format, and MCU clock frequency. Identify baud rate error for reliable serial communication.
Convert
Frequency ↔ Wavelength
Convert frequency to wavelength instantly: 150 MHz = 2.0 m, 2.4 GHz = 12.5 cm, 5.8 GHz = 5.2 cm. Calculates full, half, and quarter wavelengths for any medium — antenna design, coax, and RF planning.
Convert
dBm ↔ Watts
Instant dBm ↔ watts conversion: 0 dBm = 1 mW, 10 dBm = 10 mW, 20 dBm = 100 mW, 30 dBm = 1 W. Also converts dBW, dBμV, and RMS volts for 50 Ω RF systems.