# What is the maximum value for an int32?

## What is the maximum value for an int32?

### Accepted Answer

It's 2,147,483,647. Easiest way to memorize it is via a tattoo.

Read more... Read less...

If you think the value is too hard to remember in base 10, try base 2: 1111111111111111111111111111111

if you can remember the entire Pi number, then the number you are looking for is at the position 1,867,996,680 till 1,867,996,689 of the decimal digits of Pi

The numeric string 2147483647 appears at the 1,867,996,680 decimal digit of Pi. 3.14......86181221809936452346

214748364710527835665425671614...

source: http://www.subidiom.com/pi/

It's 10 digits, so pretend it's a phone number (assuming you're in the US). 214-748-3647. I don't recommend calling it.

Rather than think of it as one big number, try breaking it down and looking for associated ideas eg:

- 2 maximum snooker breaks (a maximum break is 147)
- 4 years (48 months)
- 3 years (36 months)
- 4 years (48 months)

The above applies to the biggest negative number; positive is that minus one.

Maybe the above breakdown will be no more memorable for you (it's hardly exciting is it!), but hopefully you can come up with some ideas that are!