Convert throughput in MB/s or Mbps to IOPS, or IOPS to throughput, using the average I/O size (4 KiB by default), with decimal or binary units.
- All Unit Converters
- Mbps Calculator (MB/s to Mbps Conversion)
- Packets Per Second Calculator
- Upload Time Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| IOPS from throughput | Converts a data rate to the number of I/O operations per second it represents | Requires the throughput and the average I/O size |
| Throughput from IOPS (MB/s, Mbps) | Converts an I/O rate to the data rate it needs | Requires the IOPS and the average I/O size |
| Average I/O size | Finds the average amount of data moved per operation | Requires the throughput and the IOPS |
Throughput can be in MB/s, MiB/s, GB/s, GiB/s, Mbps or Gbps, and I/O size in KB, KiB, MB or MiB. The I/O size starts at 4 KiB. An optional comparison takes the average number of outstanding I/Os, the mean latency in milliseconds and a planning percentage, 80% unless changed.
Throughput to IOPS Formulas
| IOPS | Input/output operations per second |
| T | Throughput in bytes per second |
| S | Average I/O size in bytes per operation |
IOPS counts operations and throughput counts data, and the I/O size links them: a volume doing 1,000 IOPS at 256 KiB per operation moves 250 MiB/s [1]. Both inputs are converted to bytes first. Decimal units step by 1,000 and binary units by 1,024, so 1 MB is 1,000,000 bytes and 1 MiB is 1,048,576 bytes [2]. Mbps is megabits per second, and 1 Mbps is 125,000 bytes per second.
IOPS from throughput
The main formula applies directly. 100 MB/s at 50 KB per operation is 100,000,000 ÷ 50,000 = 2,000 IOPS. 100 MiB/s at 4 KiB is 104,857,600 ÷ 4,096 = 25,600 IOPS. Halving the I/O size at the same throughput doubles the IOPS.
Throughput from IOPS (MB/s, Mbps)
500 IOPS at 4 KiB is 500 × 4,096 = 2,048,000 bytes per second, which is 2.048 MB/s or 16.384 Mbps. 3,000 IOPS at 16 KiB is 49,152,000 bytes per second, or 393.216 Mbps. There is no fixed IOPS to MB/s rate, because the answer changes with the I/O size.
Average I/O size
250 MiB/s spread over 1,000 IOPS is 262,144 bytes, or 256 KiB, per operation. Both the throughput and the IOPS must be greater than zero.
Queue and latency comparison
(latency ÷ 1,000) [3]
N is the average number of I/Os outstanding and latency is the mean time per I/O in milliseconds. This is Little's law, L = λW: the average number of items in a system equals the arrival rate multiplied by the average time each spends in it [3]. With 32 outstanding I/Os and 2 ms latency the modeled rate is 32 ÷ 0.002 = 16,000 IOPS, and the planning rate at 80% is 12,800 IOPS. The calculator then reports whether the converted IOPS is above or below that planning rate. 25,600 IOPS is 160% of the modeled rate, so it is above.
MiB/s to IOPS at 4 KiB
| Throughput (MiB/s) | IOPS | Throughput (MiB/s) | IOPS |
|---|---|---|---|
| 1 | 256 | 100 | 25,600 |
| 5 | 1,280 | 250 | 64,000 |
| 10 | 2,560 | 500 | 128,000 |
| 25 | 6,400 | 1,000 | 256,000 |
| 50 | 12,800 | 2,000 | 512,000 |
Each value is the throughput multiplied by 1,024 and divided by 4, so every 1 MiB/s is 256 IOPS at a 4 KiB I/O size. At 8 KiB the IOPS are half these values.
Limits of This Estimate
- The result converts averages. It does not predict what a drive or volume can deliver, which also depends on the device's own IOPS and throughput limits [1].
- Real workloads mix I/O sizes, so one average size hides the spread between small random operations and large sequential ones.
- The queue and latency comparison assumes a steady workload measured over the same period. The 80% planning percentage is a chosen margin, not a measured utilization.
Sources
- Amazon Web Services, Amazon EBS User Guide, I/O characteristics and monitoring: IOPS as operations per second, and throughput as IOPS multiplied by I/O size
- National Institute of Standards and Technology, Prefixes for binary multiples: kibi, mebi and gibi as powers of 1,024 beside the decimal kilo, mega and giga
- John D. C. Little, Little's Law as Viewed on Its 50th Anniversary, Operations Research 59(3), 2011: L = λW and its terms
