Bit Size Calculator
How many bits to represent powers of 10?
Value
10^9
0
5
10
15
20
Signed
Bits Needed
31 bits
Fits In
int32
signed integer type
Formula
⌈ log
2
( 10
9
+ 1 ) ⌉ =
30
0
64 bits