Toolvito

Works on this device

Upload Limit Calculator

Do the arithmetic of upload limits: the largest file that fits in a time limit at your upload rate, the time a file takes, what a size limit such as "2M" or "50 GB" means in bytes with powers of 1000 and of 1024, and how many parts a file needs. You type every figure; nothing is uploaded.

Enter your values

The biggest file that can be uploaded in a time limit at your upload rate.

Your values

The upload rate of the connection. Upload is often much slower than download. Mbit/s is megabits per second; MB/s is megabytes per second, 8 times smaller in number.

For example the time limit of a request on the server, or the time you have.

The share of the bits that are headers, not your file. Your own figure: 0 leaves it out.

Other traffic takes part of the connection. Type the share left for the upload, or 100.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out. Largest file for a time and an upload rate is the first choice.
  2. Type the upload rate of your connection and its unit. Links are sold in Mbit/s (megabits); programs often show MB/s (megabytes), which is 8 times smaller in number.
  3. Type the time allowed, such as the time limit of the server.
  4. Choose Calculate. The result is shown in decimal units (MB, GB) and in binary units (MiB, GiB).

The formulas

  • Largest file = upload rate × share you can use × (1 − protocol overhead) × time in seconds ÷ 8 bytes.
  • Time = file size in bits ÷ (upload rate × share you can use × (1 − protocol overhead)).
  • Decimal meaning: k = 1,000, M = 1,000,000, G = 1,000,000,000 bytes. Binary meaning: K = 1,024, M = 1,048,576, G = 1,073,741,824 bytes.
  • Parts = file size ÷ largest part, rounded up. The last part holds the rest.

Worked examples

Largest file: at 20 Mbit/s for 5 minutes, 20,000,000 × 300 ÷ 8 = 750,000,000 bytes can be uploaded: 750 MB, about 715.26 MiB.

Time: a 750 MB file at 20 Mbit/s takes 750,000,000 × 8 ÷ 20,000,000 = 300 seconds, which is 5 minutes.

A limit: "2M" is 2,000,000 bytes with the decimal meaning and 2,097,152 bytes with the binary meaning, 97,152 bytes (about 4.86%) more. A file of 2.05 MB (2,050,000 bytes) fits only under the binary meaning.

Parts: a 12 GB file with parts of at most 100 MB needs 12,000,000,000 ÷ 100,000,000 = 120 parts.

Other tools for the same subject

Limits you should know

  • The rate, the overhead and the share you can use are your own figures. Real uploads vary with the network and the server.
  • Settings read the letters K, M and G in different ways. Check the documentation of the setting you use.
  • A limit on an upload often counts the whole request, which is a little larger than the file.
  • The tool uploads nothing and checks no server.

Related tools