Flaem

Bandwidth calculator: TB, Mbit/s and the 95th percentile

Turn monthly transfer into an average speed and back, work out the 95th percentile from your own samples, how long sending data takes and how much transfer a link gives at the utilization you choose. We keep GB and GiB apart, because they are different units.

01Transfer and speed

Monthly transfer and average speed

This is an example: every starting number on this page, including the traffic samples, is made up and describes no real link. Enter your own and the result updates straight away.

What you know
Unit
days

From 28 to 31. It changes every monthly result on this page.

Result

Average across the whole month30.864 Mbit/s
Mbit/s
30.864
Gbit/s
0.030864
MB/s
3.858
GB
10,000
TB
10
GiB
9,313.2
TiB
9.095
Seconds in the month
2,592,000

This is an average: traffic spread evenly over the month. The 95th percentile below tells you about the peaks.

0395th percentile

The 95th percentile of your samples

Sort the samples, drop the top 5% and take the highest one left. A short peak then does not change the result, while steady high traffic does.

Separate them with a space, a new line or a semicolon. A comma inside a number is a decimal mark, and only separates values when nothing else does.

Unit
Samples from lowest to highest
Counted95th percentileDropped

Result

95th percentile262 Mbit/s
Samples
40
Top samples dropped
2
Highest sample
402 Mbit/s
Mean of the samples
177.425 Mbit/s

Samples every 5 minutes in a 30-day month: 8,640. Of those, 432 drop out, or 36 h of traffic.

04Send time

How long sending the data takes

Size and speed give the time with the link fully used. Handy for migrations, backups and restores.

Unit
Unit

Result

Send time1 h 6 min 40 s
Bits to send
4,000,000,000,000

Without protocol overhead and retransmissions, so in practice it takes longer.

The same amount at other speeds

100 Mbit/s
11 h 6 min 40 s
1 Gbit/s
1 h 6 min 40 s
2.5 Gbit/s
26 min 40 s
10 Gbit/s
6 min 40 s
25 Gbit/s
2 min 40 s
05Units

GB and GiB, bits and bytes

The same amount of data in every unit, so you do not confuse what a panel shows with what a contract says.

Unit
UnitThis amountOne unit in bytes
BThis amount500,000,000,000One unit in bytes1 B
MbitThis amount4,000,000One unit in bytes125,000 B
GbitThis amount4,000One unit in bytes125,000,000 B
MBThis amount500,000One unit in bytes1,000,000 B
MiBThis amount476,837.2One unit in bytes1,048,576 B
GBThis amount500One unit in bytes1,000,000,000 B
GiBThis amount465.661One unit in bytes1,073,741,824 B
TBThis amount0.5One unit in bytes1,000,000,000,000 B
TiBThis amount0.454747One unit in bytes1,099,511,627,776 B

GB and GiB

1 GB is 1,000,000,000 bytes, or 10^9. 1 GiB is 1,073,741,824 bytes, or 2^30. A GiB is 7.37% larger than a GB and a TiB is 9.95% larger than a TB, so 1 TB is 931.32 GiB.

Bits and bytes

1 byte is 8 bits. Links are quoted in bits per second and files in bytes, so 1 Gbit/s is at most 125 MB/s, or 119.21 MiB/s.

06How to read the result

Where these numbers come from

The five formulas behind the calculator. Put them in a spreadsheet and you will get the same result.

Transfer to speedbytes x 8 / seconds in the month
10 TB in a 30-day month is 10,000,000,000,000 x 8 / 2,592,000, or about 30.86 Mbit/s.
Speed to transferbits per second x seconds in the month / 8
100 Mbit/s for 30 days is 100,000,000 x 2,592,000 / 8, or 32.4 TB.
Link at a utilizationspeed x utilization x seconds in the month / 8
1 Gbit/s at 40% for 30 days is 129.6 TB, and at 100% it is 324 TB.
95th percentilesample number ceil(n x 0.95) after sorting
Out of 40 samples, sample 38 counts and the top 2 drop out. Out of 8,640 samples, 432 drop out. This is the nearest-rank method, with no interpolation between samples.
Send timebytes x 8 / bits per second
500 GB at 1 Gbit/s is 4,000 seconds, or 1 h 6 min 40 s.

What the calculator leaves out

  • Protocol overhead: TCP, IP and Ethernet headers take up the link too
  • Traffic direction: enter samples from the direction your contract bills
  • Prices and any minimum commitment in your contract
  • Billing periods other than a month
07Questions

Questions about the bandwidth calculator

Units, the percentile and what happens to the data you enter.

Links are quoted in bits and data in bytes, and a byte has 8 bits. 1 Gbit/s is at most 125 MB/s, and a little less once protocol overhead is taken off.

Your provider's contract or price list says which. Check it, because the difference grows with size: 7.37% for GiB and already 9.95% for TiB. The units section converts a value both ways.

The average spreads all traffic evenly over the month, while the 95th percentile looks at the level that 95% of samples stayed under. With uneven traffic the percentile is above the average, and short peaks do not raise it while they fit in the dropped 5%.

Below 20 samples nothing drops out, so the result is the highest sample. With samples every 5 minutes, a 30-day month gives 8,640 samples and drops 432, or 36 hours of traffic. Take the sampling interval and method from your contract, because the calculator does not know them.

The calculator takes one series of numbers. If your contract bills the higher of the two directions or their sum, prepare the samples the way the contract describes and paste the finished series.

That is the starting value, and you can change it in the form to anything from 28 to 31. In a 31-day month the same 1 TB gives a lower average speed than in a 28-day month, because the same data spreads over more seconds.

The result assumes the whole speed goes to data. In practice, protocol headers and retransmissions take a share, and the disk and the other end of the connection limit the speed too.

No. Your browser does all the calculating. The data is stored in the page address after the # sign, and browsers do not send that part to the server, so it is not in our logs. With thousands of samples the link gets very long, and anyone who gets it sees what you entered.

Sell transfer in plans and see p95 next to every service

In Flaem, a VPS plan includes transfer and the panel adds any overage at renewal. Every chart shows p50, p90, p95 and p99. 14-day trial with every feature.