RSA Key Size Calculator

Determine equivalent security strength for RSA key sizes. RSA-2048 equals 112-bit, 3072 equals 128-bit, 4096 equals 152-bit security.

Security Strength
112-bit
Status
Acceptable (until ~2030)
Current state assessment
AES Equivalent
AES-112
ECC Equivalent
ECC-224

RSA Key Size Reference

RSA BitsSecurityAES Eq.ECC Eq.Status
1,02480-bitAES-80ECC-160Deprecated
2,048112-bitAES-112ECC-224Acceptable (until ~2030)
3,072128-bitAES-128ECC-256Recommended
4,096152-bitAES-152ECC-305High Security
7,680192-bitAES-192ECC-384Very High Security
15,360256-bitAES-256ECC-521Maximum
Planning notes, formulas, and examples

About the RSA Key Size Calculator

RSA key size directly determines the security level of RSA encryption and digital signatures. However, RSA key bits do not map one-to-one with security bits โ€” RSA-2048 provides only about 112 bits of security, not 2048. This is because RSA can be attacked more efficiently than brute force using number field sieve algorithms for factoring large numbers.

This calculator shows the equivalent security strength in bits for any RSA key size, along with the corresponding AES and ECC key sizes that provide equal protection. It helps certificate administrators, security architects, and developers choose appropriate RSA key sizes and plan migrations to stronger keys or alternative algorithms like ECC.

When This Page Helps

RSA key size recommendations evolve as computing power and cryptanalysis improve. Understanding the actual security level helps you avoid both under-provisioning (RSA-1024 is broken) and over-provisioning (RSA-8192 is extremely slow). It gives the concrete numbers needed for certificate planning, migration work, and security reviews.

How to Use the Inputs

  1. Enter an RSA key size in bits (common baselines: 1024, 2048, 3072, 4096).
  2. View the equivalent security strength in symmetric bits.
  3. See the corresponding AES and ECC key sizes.
  4. Check whether the key size lines up with the planning baseline shown on the page.
  5. Review the security status: deprecated, acceptable, recommended, or high-security.
Formula used
Approximate RSA security bits using GNFS: security โ‰ˆ 1.923 ร— (key_bits)^(1/3) ร— (ln(key_bits))^(2/3) โˆ’ 4.69 (simplified NIST mapping). RSA-1024โ‰ˆ80-bit, RSA-2048โ‰ˆ112-bit, RSA-3072โ‰ˆ128-bit, RSA-4096โ‰ˆ152-bit, RSA-7680โ‰ˆ192-bit, RSA-15360โ‰ˆ256-bit.

Example Calculation

Result: 112-bit security | AES-112 | ECC-224

RSA-2048 provides approximately 112 bits of security. It remains a common deployment baseline, while longer-lived use cases often move to RSA-3072 (128-bit security). The equivalent ECC key size is P-224, though P-256 is the more common practical minimum in modern deployments.

Tips & Best Practices

  • RSA-2048 remains a common baseline; plan migration to RSA-3072 or ECC-256 for longer-lived deployments.
  • Certificate Authorities stopped issuing RSA-1024 certificates years ago.
  • RSA-4096 is often used for CA root certificates due to their 20+ year lifespans.
  • Consider switching to ECC (P-256 or P-384) for dramatic performance improvements.
  • RSA key generation time grows roughly cubically with key size.
  • For SSH keys, ED25519 provides 128-bit security with tiny 256-bit keys.

RSA Security Level Mapping

The security of RSA depends on the difficulty of factoring large numbers using the General Number Field Sieve (GNFS). NIST publishes recommended key sizes based on projected advances in both algorithmic techniques and hardware capabilities.

RSA Key Size Baselines

RSA-1024 is deprecated because it provides only about 80-bit security. RSA-2048 remains the most common deployment baseline and provides roughly 112-bit security. Teams planning for longer-lived keys often move to RSA-3072 (128-bit) or higher.

Performance Considerations

RSA operations are computationally expensive. Encryption and signature verification are relatively fast (public key operations), but decryption and signing (private key operations) scale roughly with the cube of the key size. RSA-4096 private key operations are approximately 8ร— slower than RSA-2048.

The Case for ECC Migration

ECC P-256 provides 128-bit security with 256-bit keys, matching RSA-3072 while being 10โ€“20ร— faster for signing operations. Most modern TLS implementations prefer ECC certificates, and mainstream browsers and servers have supported ECDSA for years.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • RSA-2048 remains acceptable in many environments and is commonly treated as the lower end of modern deployment baselines. For long-lived keys or highly sensitive data, many teams prefer RSA-3072 or higher. If large-scale quantum computers become practical, RSA of any size would be broken.