Bit Size Calculator

How many bits to represent powers of 10?

Value

10^9

05101520
Bits Needed31 bits
Fits Inint32signed integer type
Formula⌈ log2( 109 + 1 ) ⌉ = 30
064 bits