AES Block Size

Calculate AES Block Size instantly with the exact formula and a worked example.

AES Block Size

Plaintext lengthbytes
Key lengthbits
Mode with PKCS#7 padding, ECB/CBC (1 = yes)
Ciphertext size
112bytes
The AES block size is always 128 bits (16 bytes)Without padding (CTR, GCM) the ciphertext equals the plaintext length; IV and tag are stored separatelyCalculate AES Block Size instantly with the exact formula and a worked example.
16-byte blocks
7
Padding bytes
12bytes
Encryption rounds
14

More about: AES Block Size

What it calculates

The “AES Block Size” calculator computes Ciphertext size in bytes from 3 parameters: plaintext length (bytes), key length (bits), mode with pkcs#7 padding, ecb/cbc (1 = yes).

Standard IT calculations for developers and sysadmins.

Example calculation

With parameters Plaintext length = 100 bytes, Key length = 256 bits, Mode with PKCS#7 padding, ECB/CBC (1 = yes) = 1 the result is 112 bytes (The AES block size is always 128 bits (16 bytes)).

How to use

  1. Enter plaintext length, key length and mode with pkcs#7 padding, ecb/cbc (1 = yes) — each field above is adjustable with a slider.
  2. Ciphertext size (bytes) is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is AES Block Size calculated?
The AES Block Size calculator computes Ciphertext size (in bytes) from plaintext length, key length, mode with pkcs#7 padding, ecb/cbc (1 = yes). Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the AES Block Size calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

CSS px ↔ rem ↔ emAspect RatioViewport (vw/vh)CSS GridFlexboxPageSpeed (TTI / FCP)One-Time PadRSA Key StrengthSHA-1 / SHA-256 / SHA-512Password EntropyBrute-Force Crack TimeRandom Password Generator