Throughput Calculator
Find the data throughput in bits or bytes per second from a data size and elapsed time, with goodput after overhead.
What it does
Throughput describes how much data actually crosses a link in a given time. The IETF defines it in RFC 1242 as the maximum rate at which none of the offered frames are dropped by a device, measured in frames per second or in input bits per second. That definition is the reason network engineers quote throughput in bits per second rather than in megabytes copied.
A related word, goodput, means the rate that delivers useful payload to the application. Headers, acknowledgements and retransmissions consume part of the raw link rate, so goodput is always lower. This page lets you enter that overhead as a percentage and shows both figures side by side.
Prefixes are a common source of confusion. NIST Special Publication 330 says the SI prefixes refer strictly to powers of ten, so a megabit is 1,000,000 bits and not 1,048,576 bits. NIST also lists the binary prefixes kibi, mebi and gibi for powers of two. The tool accepts both families of units but always reports the rate on a decimal basis, which is how network equipment reports it.
Enter a data size, choose the unit it is expressed in, add the transfer time and set the overhead. The calculator returns the raw bit rate, the raw byte rate, the goodput, the total bit count and the resulting efficiency. It is meant for a quick reading of a measured copy, a download or a benchmark result.
The arithmetic assumes a steady transfer. Real flows start slowly, share the path with other traffic and can stall, so a single average rate will not describe every second of the run.
How to use
- Enter the amount of data that moved during the transfer.
- Choose the unit of that size, taking care to pick MB for decimal megabytes and MiB for binary mebibytes.
- Enter the elapsed time in seconds, using decimals for fractions of a second.
- Set the protocol overhead as a percentage. Use 0 if you only want the raw rate.
- Read the raw bit rate and byte rate, then the goodput that remains after overhead.
- Check the total bit count and efficiency to confirm the conversion before you compare two links.
Formula
- R_bits
- Raw transfer rate in bits per second.
- size
- Amount of data moved, in the selected size unit.
- bytes_per_unit
- Number of bytes in one selected unit, for example 1,000,000 for MB and 1,048,576 for MiB.
- time
- Elapsed transfer time in seconds.
- overhead
- Percentage of the raw rate spent on protocol traffic.
Rate scaling uses decimal steps of 1000, so 1,000,000,000 bit/s is shown as 1000.00 Mbit/s. One byte is eight bits. Binary size units such as MiB still convert to bytes first, and the resulting byte stream is then divided by the decimal time base. With zero overhead the goodput equals the raw bit rate.
Worked example
Example: 1000 MB copied in 10 seconds with 5 percent overhead
Defaults: 1000 MB of data, the MB unit, an elapsed time of 10 s and 5 percent protocol overhead.
- Convert the payload to bytes: 1000 x 1,000,000 = 1,000,000,000 bytes.
- Convert bytes to bits: 1,000,000,000 x 8 = 8,000,000,000 bits.
- Divide by time: 8,000,000,000 / 10 = 800,000,000 bit/s, shown as 800.00 Mbit/s.
- Byte rate: 1,000,000,000 / 10 = 100,000,000 B/s, shown as 100.00 MB/s.
- Efficiency: 100 percent minus 5 percent overhead = 95.00 percent.
- Goodput: 800.00 Mbit/s x 0.95 = 760.00 Mbit/s.
- The tool shows 800.00 Mbit/s, 100.00 MB/s, 760.00 Mbit/s, 8,000,000,000 bits and 95.00 %.
Reference table
| Elapsed time | Raw bit rate | Raw byte rate | Goodput |
|---|---|---|---|
| 5 s | 1,600.00 Mbit/s | 200.00 MB/s | 1,520.00 Mbit/s |
| 10 s | 800.00 Mbit/s | 100.00 MB/s | 760.00 Mbit/s |
| 60 s | 133.33 Mbit/s | 16.67 MB/s | 126.67 Mbit/s |
| 5 min | 26.67 Mbit/s | 3.33 MB/s | 25.33 Mbit/s |
Limits
- Reports an average over the whole interval, so it cannot show bursts or a link that slows down part way through.
- Uses decimal prefixes for the reported rate, even when the input size was given in KiB, MiB or GiB.
- Treats overhead as one flat percentage and does not model packet loss, window limits or protocol round trips.
- Measures the payload you enter, so a file size that includes extra metadata will change the answer.
Common mistakes
- Comparing a megabyte per second figure with a megabit per second figure without multiplying by eight.
- Assuming 1 Mbit means 1,048,576 bits when the network device is using the decimal SI prefix.
- Applying the overhead percentage to the byte rate and then again to the goodput.
- Including the time spent setting up the transfer when only the steady copy interval was meant.
- Entering the file size in MiB while the size unit is set to MB, which changes the bit count by about 4.9 percent.
Try it yourself
Quick checks. Answers sit tucked under each question.
A 500 MB file copies in 8 s with no overhead. What is the rate?
500 x 1,000,000 x 8 = 4,000,000,000 bits over 8 s, which is 500.00 Mbit/s or 62.50 MB/s.
A raw link runs at 800 Mbit/s and 5 percent is overhead. What goodput remains?
800.00 Mbit/s x 0.95 = 760.00 Mbit/s of useful data rate.
A 2 GB file takes 4 minutes. What average bit rate is that?
2 GB is 16,000,000,000 bits over 240 s, so the rate is 66.67 Mbit/s.
Questions
What is throughput in networking?
It is the rate at which data is transferred, usually stated in bits per second. RFC 1242 defines it as the maximum rate at which no offered frames are dropped.
How is goodput different from throughput?
Throughput counts all bits sent on the link, while goodput counts only the payload that reaches the application after headers and retransmissions are removed.
Why does the tool use 1,000,000 bits for a megabit?
NIST Special Publication 330 states that SI prefixes such as mega strictly mean powers of ten. A megabit is 1,000,000 bits, while 1,048,576 bits is a mebibit.
How do I convert MB/s to Mbit/s?
Multiply by eight. A rate of 100.00 MB/s is the same as 800.00 Mbit/s, because one byte holds eight bits.
Does overhead depend on the protocol?
Yes. Ethernet, IP and TCP each add headers, and wireless links add retries. Treat the percentage as a measured or estimated figure rather than a fixed constant.
Can I use this for a measured benchmark?
Yes, as long as you know the payload size and the elapsed time. For device benchmarks, the IETF method in RFC 2544 uses frame loss to find the zero loss rate.
Sources
- IETF RFC 1242: Benchmarking Terminology for Network Interconnection Devices, section 3.17
- NIST: Definitions of the SI units, the binary prefixes
- NIST Special Publication 330, Section 3: SI prefixes