RSA Key Size Explainer

An RSA key is part of a public-key pair used for signatures or encryption. Check a public key's bit length, then compare 1024–8192-bit sizes by NIST strength, signature size and ECC equivalent.

An RSA key is one half of an RSA key pair: the public key can be shared to encrypt data or verify signatures, while the private key stays secret to decrypt or sign.

Use the RSA Key Size Explainer

What an RSA key size means

An RSA key pair has a public key that can be shared and a private key that must remain secret. “2048-bit RSA” describes the modulus size—not 2,048 bits of effective security. NIST maps RSA-2048 to 112-bit and RSA-3072 to 128-bit classical security strength. The hash, padding, key generation, storage and protocol also matter.

Never paste a private key into a website. The checker below accepts public keys and certificates only, decodes them in your browser and refuses anything labelled PRIVATE KEY.

Select RSA Key Size

Choose a key size to explore its security properties.

51210242048307240968192

Check an RSA Public Key's Size

Paste an ssh-rsa line, a PEM PUBLIC KEY / RSA PUBLIC KEY block or a PEM certificate. Nothing is uploaded.

RSA Key Size 2048

Symmetric Equivalent 112 bits
Security Level
NIST Status
NIST PQC Timeline
Relative Sign Speed
Modulus Length
Signature / Ciphertext
Comparable ECC Key

Generate this size


            

Strength values are NIST comparison tiers, not a probability, score or predicted cracking time.

Recommendation

Suitable For

    Full Comparison Table

    Key Size Sym. Equiv. Security Rating NIST Status ECC equiv. PQC timeline (draft) Best For

    Use-Case Finder

    Pick the decision you are making. These are standards checkpoints, not universal protocol settings.

    Standards note: strength values are classical-security comparisons, not expiry predictions. See NIST SP 800-57 Part 1 Rev. 5, NIST SP 800-131A Rev. 2, NIST IR 8547 (initial public draft), and NIST post-quantum guidance. Always follow the profile for your TLS, SSH, signing, PKI or regulated environment; modulus size alone does not make a deployment secure.

    Quick answer

    An RSA key is one half of an RSA key pair: the public key can be shared to encrypt data or verify signatures, while the private key stays secret to decrypt or sign. Its size, such as 2048 or 4096 bits, is the length of the modulus, not its security level.

    Examples

    RSA key sizeNIST security strength
    1024-bit≤ 80 bits (legacy only)
    2048-bit112 bits (current minimum)
    3072-bit128 bits
    4096-bit128–192 bits (slower)

    Tap 2048, 3072 or 4096 to see its NIST strength, speed and best uses.

    Summary

    RSA uses a public key and a mathematically related private key. The modulus length—commonly 2048, 3072 or 4096 bits—is not the same as symmetric-key strength: NIST maps RSA-2048 to 112-bit and RSA-3072 to 128-bit classical security strength. Larger RSA keys cost more bandwidth and computation, and no RSA size is post-quantum secure; NIST's IR 8547 draft proposes deprecating RSA-2048 after 2030 and all RSA after 2035. Paste a public key or certificate to read its exact size, then follow the requirements of your TLS, SSH, signing or PKI implementation.

    How it works

    1. Select an RSA key size using the slider or preset buttons at the top.
    2. The tool displays the equivalent symmetric strength in bits (e.g., AES-112 for RSA-2048).
    3. A security rating shows whether the key size meets current NIST guidance.
    4. Each size also shows its modulus length in decimal digits and bytes, its signature size, the comparable elliptic-curve size, the dates proposed in the NIST IR 8547 draft and the OpenSSL and ssh-keygen commands to generate it.
    5. The key size checker decodes public keys locally: it reads the modulus from the ssh-rsa wire format or the DER SubjectPublicKeyInfo and counts its bits. Anything labelled PRIVATE KEY is refused and cleared without being parsed.
    6. Scroll down to the full comparison table to see all key sizes ranked side by side.
    7. The use-case panel highlights which key size is appropriate for your specific scenario.

    Use cases

    • Choose the right RSA key size when generating TLS/SSL certificates.
    • Understand why 1024-bit RSA keys are no longer considered secure.
    • Decide between 2048-bit and 4096-bit keys for email signing (PGP/GPG).
    • Learn the performance trade-offs between different RSA key lengths.
    • Verify that your SSH key configuration meets current security standards.
    • Educate teams on public-key cryptography fundamentals.
    • Audit existing infrastructure key sizes against NIST recommendations.
    • Plan migration timelines as computing power grows over time.

    Frequently Asked Questions

    Last updated: 2026-10-09 · Reviewed by Nham Vu