How To Check If Your Operating System is 32bit or 64bit?

Everyone who uses a computer eventually runs into this question. So I want to write this post to create one page solution for the top 3 operating systems out there.

Mac OS X

If your operating system is Mac OS X, then just open the terminal (CMD+Spacebar and type terminal). Then type the command given below and it’ll return the result as 64 or 32.

getconf LONG_BIT

This is how it looks like when I execute that command on my Macbook Air.



For Linux OS, just type in this command –

uname -m 

If the result is x86_64 then you have 64 bit version of Linux, else it’s 32 bit.


For Windows, there is this decent WMIC command –

wmic OS get OSArchitecture 

If you’re running a 64bit version of Windows, it’ll return something like this –


So that’s all in short post. If you have anything to add, feel free to leave a comment below 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.