# What part of an RSA key is referred to by the number of bits? [duplicate]

This question already has an answer here:

When we speak about 4096- or 2048-bit RSA keys, what part of the key is this number of bits? The public key comprises both the modulus and the public exponent, and the strength of the key can also be seen as depending on the length of the prime factors. Which of these is the "4096-bit" part?

## marked as duplicate by otus, Henrick Hellström, e-sushiNov 19 '15 at 12:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

• The modulus.${}$ – yyyyyyy Nov 19 '15 at 0:36

## 1 Answer

Under Key Generation:

Compute n = pq. n is used as the modulus for both the public and private keys. Its length, usually expressed in bits, is the key length.

• More specifically, since in is the modulus, the system can represent no output larger than that modulus (this being the entire point of it's existence.) – P Holder Nov 19 '15 at 0:45